I wanted to setup presto-yarn deployment using Manual Slider . so for this , i have built the presto-yarn package using maven and downloaded slideRunner as well and started executing the slider.When i am executing the below command getting the following error
command: bin/slider package --install --name PRESTO --package ../presto-yarn-package-*.zip
Error : Exception: [Errorno 2] No such file or directory.
All the files & directories are in place in the exact location including presto-yarn-package-*.zip binaries files & json files as well.
can any one assist me on this please.
Thanks in advance
Make sure that conf/slider-env.sh and conf/slider-client.xml do not have any invalid paths.
Edit: Especially if you have set java_home/hadoop_conf in slider.env.sh - make sure it is a path which exists.
Related
.Net Core (3.1) Web API using Docker (Linux container).
I have a Db2 connection via nuget package IBM.Data.DB2.Core-lnx (3.1.0.300).
This Db2 connection works fine when I build and run my Dockerfile independently of VisualStudio 2019.
However, when attempting to debug via VS (fast mode), I run into this exception:
Unable to load shared library 'libdb2.so' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibdb2.so: cannot open shared object file: No such file or directory
My guess is this failure to locate resources is because of the way fast mode debugging works with Docker containers. With the app output copied to a mount, my IBM ENV variables aren't able to find the NuGet clidriver folder. These typically look like this:
ENV DB2_CLI_DRIVER_INSTALL_PATH="/app/clidriver" \
LD_LIBRARY_PATH="/app/clidriver/lib" \
LIBPATH="/app/clidriver/lib" \
PATH=$PATH:"/app/clidriver/bin:/app/clidriver/lib:/app/clidriver/adm"
How can I update these to point to the mounted app contents? Assuming that is the problem...
*Note that I am installing package libxml2-dev in the base of my Dockerfile.
If anyone has a successful strategy for debugging Db2 connections in a Linux container, I would love to hear what you've done. Much thanks in advance.
Running a shell on the debugging container allowed me to see the mounted contents and get the clidriver path. Setting this in the Db2 environment variables fixed the issue:
ENV DB2_CLI_DRIVER_INSTALL_PATH="/app/bin/Debug/netcoreapp3.1/clidriver" \
LD_LIBRARY_PATH="/app/bin/Debug/netcoreapp3.1/clidriver/lib" \
LIBPATH="/app/bin/Debug/netcoreapp3.1/clidriver/lib" \
PATH=$PATH:"/app/bin/Debug/netcoreapp3.1/clidriver/bin:/app/bin/Debug/netcoreapp3.1/clidriver/lib:/app/bin/Debug/netcoreapp3.1/clidriver/adm"
I was facing these concerns almost for a week, glad could resolve the issue.
Solution:
LD_LIBRARY_PATH=<app release folder path>/netcoreapp3.1/clidriver/lib
when you include the LD_LIBRARY_PATH variable, the PATH value gets appended to the existing values along with "../root/usr/lib64"
Please note, If you don't include the LD_LIBRARY_PATH the pod will error out.
I am trying to build OpenSim from source code using the CMake GUI as per these instructions (Linux) : https://github.com/simbody/simbody
I have found several problems in step 3 of this process, at first the program didn't seem to find Simbody even though I have that installed and have the path to the code specified like so:
After I tried to configure the code a few times a new error popped up:
CMake Error at CMakeLists.txt:575 (find_package):
Could not find a package configuration file provided by "BTK" with any of
the following names:
BTKConfig.cmake
btk-config.cmake
Add the installation prefix of "BTK" to CMAKE_PREFIX_PATH or set "BTK_DIR"
to a directory containing one of the above files. If "BTK" provides a
separate development package or SDK, be sure it has been installed.
I tried to solve this by specifying the path to the required files (I do have them) in the 'Value' field, but as soon as I hit 'configure' the path is gone and it reverts back to the 'BTK_DIR-NOTFOUND' you see in the picture.
I have closely followed all the instructions listed through the Opensim website but still nothing is working as it should, any help would be immensely appreciated
I am trying to install SableCC in Eclipse in Linux machine. I have followed the instruction given on this http://web.archive.org/web/20090318023544/http://www.comp.nus.edu.sg/~sethhetu/rooms/Tutorials/EclipseAndSableCC.html, which is for Windows, but at step 9 I can not find the matching files for Linux machine.
The path I have tried given below:
Location: /usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/bin/javaws
Working Directory: I chose "Browse Workspace..."
Arguments: -classpath /home/[user_name]/Downloads/sablecc-3.7/lib/sablecc.jar org.sablecc.sablecc.SableCC [Project_Name]
But still I get error message:
"netx: Invalid argument: net.sourceforge.jnlp.util.optionparser.InvalidArgumentException: [-classpath, /home/[user_name]/Downloads/sablecc-3.7/lib/sablecc.jar, org.sablecc.sablecc.SableCC, Project_Name]"
Ι also tried out changing the arguments from [Project_Name] to ${resource_name} given from "Variables...", but I get this error:
Variable references empty selection: ${resource_name}
Any idea?? Thank you in advance! :)
A ready to use version http://downloads.sourceforge.net/sablecc/sablecc-3.7.zip , providing
sablecc-3.7/lib/sablecc.jar
/bin/sablecc
bin/sablecc is a script, runs java -jar sablecc.jar
Building sablecc.jar : See `sablecc-3.7/doc/description.html
I am trying to use MaDGe to Save dependency graph as a SVG image with CLI command
madge --image graph.svg path/src/app.js
but I face the error 'gvpr' is not recognized as an internal or external command
this is where I have C:\Program Files (x86)\Graphviz2.38\bin in my PATH.
I also tried adding the PATH in both user and system variables but still the same issue
in windows the executable file is called "dot.exe", I had the same issue as you and fixed it by copying & renaming "dot.exe" to "gvpr.exe" in the /bin/folder
works fine now for me.
try to use madge command by windows command propmt (not git bash or something like that)
it's worked for me
I've used stack overflow a lot in the past and found it extremely helpful, but I find myself needing to ask my first quest:
I am working on a map reduce project that will use Hbase. I am developing on windows and using cygwin's shell to run Hbase. I have followed all the install steps for installing Hbase on windows, but when I try to run it I get the following error:
cygpath: error converting
"c:\cygwin\usr\local\hbase-0.92.1/conf:/usr/local/jre7/lib/tools.jar:c:\cygwin\usr\local\hbase-0.92.1:c:\cygwin\usr\local\hbase-0.92.1/lib/*.jar"
- Unknown error -1
And then it reports that it can't find the main class for some necessary .jar files which I'm assuming has to do with cygpath not handling the paths to those jars correctly.
Any help is greatly appreciated.