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:184.108.40.206-220.127.116.11.el7_3 ol7_latestjava-1.7.0-openjdk-devel.x86_64 1:18.104.22.1681-22.214.171.124.0.1.el7_8 ol7_latestjava-1.8.0-openjdk-devel.i686 1:126.96.36.199.b09-2.el7_8 ol7_latestjava-1.8.0-openjdk-devel.x86_64 1:188.8.131.52.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