Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find cdh version hadoop

When connecting to Hadoop cluster, how can I know which version of Hadoop this cluster is running? In particular this is important for proper configuration of libraries when compiling and packaging Hadoop Java jobs with Maven.

like image 825
Vladimir Kroz Avatar asked Jul 06 '14 22:07

Vladimir Kroz


2 Answers

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

$ hadoop version

like image 158
Vladimir Kroz Avatar answered Sep 21 '22 23:09

Vladimir Kroz


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

like image 37
Harinder Avatar answered Sep 21 '22 23:09

Harinder