Hadoop : JPS can not find Java installed

前端 未结 11 1856
一生所求
一生所求 2021-01-03 14:48

my configurations are

hduser@worker1:/usr/local/hadoop/conf$ jps
The program \'jps\' can be found in the following packages:
 * openjdk-6-jdk
 * openjdk-7-jd         


        
11条回答
  •  醉梦人生
    2021-01-03 15:33

    I would like to update topic for those who would face the same problem.

    JDK8 also does not have the "jps" command but JDK7 does have it.

    root@tahirpc:/home/tahir# java -version
    java version "1.7.0_65"
    OpenJDK Runtime Environment (IcedTea 2.5.3) (**7u71-2.5.3-0ubuntu0.14.04.1**)
    OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
    

    root@tahirpc:~# jps
    5036 NodeManager
    4368 NameNode
    4912 ResourceManager
    5315 Jps
    4773 SecondaryNameNode
    4487 DataNode
    

提交回复
热议问题