How to check Hadoop version in Ubuntu?

Hi,

I am trying various commands like hadoop --version to get the hadoop version in Ubunut. I am connected to Hadoop cluster through ssh terminal.

How to check Hadoop version in Ubuntu?

Thanks

View Answers

May 13, 2017 at 8:26 PM

Hi,

Its easy to check the version of Hadoop in Ubuntu.

type:

hadoop version

Sample output:

hdfs@hadoop1:/home/deepak$ hadoop version
Hadoop 2.7.1.2.4.0.0-169
Subversion [email protected]:hortonworks/hadoop.git -r 26104d8ac833884c8776473823007f176854f2eb
Compiled by jenkins on 2016-02-10T06:12Z
Compiled with protoc 2.5.0
From source with checksum cf48a4c63aaec76a714c1897e2ba8be6
This command was run using /usr/hdp/2.4.0.0-169/hadoop/hadoop-common-2.7.1.2.4.0.0-169.jar
hdfs@hadoop1:/home/deepak$

Check more tutorials at Big Data tutorials, technologies, questions and answers.

Thanks









Related Tutorials/Questions & Answers:
Advertisements