Hi friends,Im in CDH 6.2 and hence trying to check jps command through cmd prompt.Not sure why it is not showing up hadoop services on issuing it and hence returning with below error
[root@cloudera bin]# jpsbash: jps: command not found...
Kindly help me out with this.Regards,GTA
Looks jps will work, only if the jdk is installed. As in my environment only jre is installed.
so tried installing jdk like below
yum list java*devel*Loaded plugins: langpacks, ulninfoAvailable Packagesjava-1.6.0-openjdk-devel.x86_64 1:126.96.36.199-188.8.131.52.el7_3 ol7_latestjava-1.7.0-openjdk-devel.x86_64 1:184.108.40.2061-220.127.116.11.0.1.el7_8 ol7_latestjava-1.8.0-openjdk-devel.i686 1:18.104.22.168.b09-2.el7_8 ol7_latestjava-1.8.0-openjdk-devel.x86_64 1:22.214.171.124.b09-2.el7_8 ol7_latest[root@cloudera opt]# yum install java-1.8.0-openjdk-devel.x86_64
Now i can issue jps and it shows all the hadoop services running.
View solution in original post