how to find hadoop distribution and version how to find hadoop distribution and version hadoop hadoop

how to find hadoop distribution and version


My Hadoop run on Ubuntu and when I type "hadoop version" in console it shows below:

Hadoop 2.4.0Subversion http://svn.apache.org/repos/asf/hadoop/common -r 1583262Compiled by jenkins on 2014-03-31T08:29ZCompiled with protoc 2.5.0From source with checksum 375b2832a6641759c6eaf6e3e998147This command was run using /usr/local/hadoop/share/hadoop/common/hadoop-common-2.4.0.jar


For version details you can visit namenode-ip:50070 and look for Version: it will give you the Hadoop version

Note the First three numbers are Hadoop version In my case values is

2.5.0-cdh5.3.0, f19097cda2536da1df41ff6713556c8f7284174d 

So hadoop version is 2.5.0 and distribution is CDH whose version is 5.3.0