Hadoop: Cannot use Jps command

前端 未结 7 2060
被撕碎了的回忆
被撕碎了的回忆 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:16

    did you install the package java-1.6.0-openjdk-devel who provides the jps tool?

    $ sudo yum provides /usr/lib/jvm/java-1.6.0-openjdk.x86_64/bin/jps
    Loaded plugins: product-id, subscription-manager
    Updating certificate-based repositories.
    Unable to read consumer identity
    1:java-1.6.0-openjdk-devel-1.6.0.0-1.45.1.11.1.el6.x86_64 : OpenJDK Development Environment
    Repo        : installed
    Matched from:
    Other       : Provides-match: /usr/lib/jvm/java-1.6.0-openjdk.x86_64/bin/jps
    

提交回复
热议问题