How to find cdh version hadoop How to find cdh version hadoop hadoop hadoop

How to find cdh version hadoop


The simplest way if you have ssh access to hadoop node is by running command

$ hadoop version


If you are looking for CDH version then check /usr/lib/hadoop/cloudera/cdh_version.properties


In cdh, in the cluster I am using, there is not any cdh_version.properties (or I couldn't find it)

If your cluster uses "Parcels", you could check which version of cdh is used by doing:

/opt/cloudera/parcels

And you could see the version as the name of the folder:

CDH-5.5.1-1.cdh5.5.1.p0.11

Note: I know that this is a not a general rule for getting which cdh version is used. I am trying to show an alternative way that it worked to me.