- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to find Cloudera manger agent or server version from CLI
- Labels:
-
Cloudera Manager
Created ‎05-30-2021 04:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Looks like there is no such command for it.
Created ‎06-01-2021 01:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
