Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

java, hadoop , hbase , jps not working in HDP 2.5.

Solved Go to solution
Highlighted

java, hadoop , hbase , jps not working in HDP 2.5.

New Contributor

hortonworks-hdp25-oraclevirtualbox.png

I checked in ambari HDFS is up and running, HBase is also up and running. But in hdp 2.5 sandbox , if type java or jps or hbase shell it shows nothing.

Kindly, help

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: java, hadoop , hbase , jps not working in HDP 2.5.

Super Mentor

@Jose Praveen T

Please check if you are able to run other commands like "hdfs" ? If not then it might be the problem in the way you did ssh to the sandbox.

Are you sure that you have ssh to the sandbox using port 2222 as following? (not any other port)
# ssh root@127.0.0.1  -p 2222

.

Also you can try using the http://127.0.0.1:4200 Web Terminal to see if you are getting this error in your browser terminal as well?

.

You can also try setting the JAVA_HOME and then see if jps/java works. You can find the JAVA path from the running NameNode/DataNode output as

# ps -ef | grep NameNode

Example:

export JAVA_HOME="/usr/jdk64/jdk1.7.0_67"
export PATH=$JAVA_HOME/bin:$PATH

.

View solution in original post

2 REPLIES 2
Highlighted

Re: java, hadoop , hbase , jps not working in HDP 2.5.

Super Mentor

@Jose Praveen T

Please check if you are able to run other commands like "hdfs" ? If not then it might be the problem in the way you did ssh to the sandbox.

Are you sure that you have ssh to the sandbox using port 2222 as following? (not any other port)
# ssh root@127.0.0.1  -p 2222

.

Also you can try using the http://127.0.0.1:4200 Web Terminal to see if you are getting this error in your browser terminal as well?

.

You can also try setting the JAVA_HOME and then see if jps/java works. You can find the JAVA path from the running NameNode/DataNode output as

# ps -ef | grep NameNode

Example:

export JAVA_HOME="/usr/jdk64/jdk1.7.0_67"
export PATH=$JAVA_HOME/bin:$PATH

.

View solution in original post

Highlighted

Re: java, hadoop , hbase , jps not working in HDP 2.5.

New Contributor

I tried ssh for this port 22 rather 2222 port. Thanks for your help!!!

Don't have an account?
Coming from Hortonworks? Activate your account here