Created 04-03-2017 03:11 AM
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
Created 04-03-2017 03:35 AM
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
.
Created 04-03-2017 03:35 AM
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
.
Created 04-03-2017 04:29 AM
I tried ssh for this port 22 rather 2222 port. Thanks for your help!!!