Created 05-30-2021 04:27 AM
Hi Team,
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?
Created 05-30-2021 08:36 PM
Hi,
Can you just cat on the below path to get the version number:
""cat /etc/yum.repos.d/cloudera-manager.repo""
Created 05-30-2021 11:37 PM
Hi @ChethanYM,
Thanks for the reply I agree we can find out in the repo file, I was just checking if we can get it through any command? like java -version or something kind of
Created 05-31-2021 07:07 PM
Hi,
Looks like there is no such command for it.
Created 06-01-2021 01:36 AM
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!
Cheers!
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.