Is there any command to find CM agent and Server version from the command line?
I know we can find out using the rpm -qa version but any other way I can get to find the java -version?
Can you just cat on the below path to get the version number:
Hello @khanarshadazmat ,
We do not have a direct method to get the CM Server and Agent version like we have in java -version.
However, you can follow some of the below workarounds to get the required result:
1_). using below command
# hdfs version
# hadoop version
2_). version info available at "/opt/cloudera/parcels/<CDH>/lib/hadoop/cloudera/cdh_version.properties"
Let me know if this helps!
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.