hadoopz@ubuntu:/usr/local/hadoop$ jps
The program 'jps' can be found in the following packages:
- openjdk-7-jdk
- openjdk-6-jdk
Ask your administrator to install one of them
When I check jps for Hadoop, I am getting the above result....
hadoopz@ubuntu:/usr/local/hadoop$ jps
The program 'jps' can be found in the following packages:
Ask your administrator to install one of them
When I check jps for Hadoop, I am getting the above result....
This is not a Hadoop problem; you just have to put the jps executable into your path or create an alias for jps. The location of the jps executable is somewhere under the
/usr/lib/jvm
directory. To find the location of the jps executable browse to the/usr/lib/jvm
directory and search for jps from there.First you have to install openjdk-6-jdk. (If you want to install openjdk-7-jdk read the last paragraph.) Open the terminal and type:
Next make an alias for the jps executable. Example of a command to create an alias for jps:
If you want to install openjdk-7-jdk instead of openjdk-6-jdk, you can still use the preceding two commands by substituting the string
openjdk-7-jdk
foropenjdk-6-jdk