Working With Hadoop: localhost: Error: JAVA_HOME is not set
I am using hadoop 1.1, and faced the same problem. I got it solved through changing JAVA_HOME variable in /etc/hadoop/hadoop-env.sh as: export JAVA_HOME=/usr/lib/jvm/<jdk folder>
I am using hadoop 1.1, and faced the same problem. I got it solved through changing JAVA_HOME variable in /etc/hadoop/hadoop-env.sh as: export JAVA_HOME=/usr/lib/jvm/<jdk folder>
I had Django listening on 127.0.0.1:8000 (default) As explained in Mitchell’s answer here: Vagrant’s port forwarding not working I should have been listening on 0.0.0.0. Here is a quote of his answer: I wanted to add an additional note that often this is caused by the server within the VM because it binds to 127.0.0.1, … Read more
If you have installed boost from repo just use -lboost_program_options that will suffice. If you installed boost libraries in some other library, you need to specify that directoty by -L/path/to/lib In CMake you may specify set(CMAKE_CXX_FLAGS “-lboost_program_options”) However with CMake you should use FIND_PACKAGE(Boost COMPONENTS program_options REQUIRED) INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS}) TARGET_LINK_LIBRARIES(target ${Boost_LIBRARIES})
They’re different when a program is running set-uid. Effective UID is the user you changed to, UID is the original user.
Today I installed scala using “apt-get install scala” and confirmed the scala jar files are located in /usr/share/java You should be able to set your SCALA_HOME to /usr/share/java and have it all work. I assume you want to use NetBeans so you will need to set SCALA_HOME in your .profile (or .bash_profile) rather than in … Read more
You can run cron without daemon mode. root@xxxxxx:~# cron -f I was just trying to test it: I started /bin/bash in a new container apt-get install cron nano screen getty tty -a root screen, in screen I created 2 terminals: first: cron -f second: crontab -e – edit your crontab, save and you can watch … Read more
the option -T svg worked for me
http://learnedstuffs.wordpress.com/2012/07/17/fixing-ubuntu-error-failed-to-load-libgl-so/ apt-get install libgl1-mesa-dev worked for me
On your terminal, try running: which -a ruby This will output all the installed Ruby versions (via RVM, or otherwise) on your system in your PATH. If 1.8.7 is your system Ruby version, you can uninstall the system Ruby using: sudo apt-get purge ruby Once you have made sure you have Ruby installed via RVM … Read more
There can be per-user, global and built-in npmrc configs. So don’t worry about if there is no .npmrc file in your home directory. userconfig may or may not exist. You can check the documentation on npm configuration files. userconfig is not created for all users. To check if user config is there and its location … Read more