Skip to main content
khanarshadazmat
Gold ⭐️
May 30, 2021 11:27 AM UTC
Question

How to find Cloudera manger agent or server version from CLI

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?

 

 

 

4 replies

ChethanYM
Gold ⭐️
Gold ⭐️
May 31, 2021 3:36 AM UTC

Hi,

 

Can you just cat on the below path to get the version number:

""cat /etc/yum.repos.d/cloudera-manager.repo""

 

Translate
khanarshadazmat
Gold ⭐️
May 31, 2021 6:37 AM UTC

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 

Translate
ChethanYM
Gold ⭐️
Gold ⭐️
Jun 1, 2021 2:07 AM UTC

Hi,

Looks like there is no such command for it.

Translate