Hadoop: Cannot use Jps command

前端 未结 7 2051
被撕碎了的回忆
被撕碎了的回忆 2020-12-14 11:10

The problem is

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


        
7条回答
  •  轮回少年
    2020-12-14 11:18

    Use this command if you cannot use jps

    ps -aux | grep java | awk '{print $12}'

    It will show files as:

    shows file like this in the picture

提交回复
热议问题