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?
Its easy to check the version of Hadoop in Ubuntu.
[email protected]:/home/deepak$ hadoop version Hadoop 18.104.22.168.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/22.214.171.124-169/hadoop/hadoop-common-126.96.36.199.4.0.0-169.jar [email protected]:/home/deepak$
Check more tutorials at Big Data tutorials, technologies, questions and answers.