Command to check the Hadoop distribution as well as it’s version which is installed in my cluster

0 votes

What is the command or process to know that whether my cluster has Cloudera, Hadoop or Apache Hadoop distribution? Also how can I find out the various services that are installed in my cluster, and their port numbers to access them?

Apr 15, 2018 in Big Data Hadoop by Shubham
• 13,290 points
1,449 views

2 answers to this question.

0 votes
One of the options to check the distribution of Hadoop is to check the service which is used for cluster management.

Cloudera Manager start-up script resides in /etc/init.d/cloudera-scm-agent.

Hortonworks uses Ambari agent and it’s start up script resides in etc/init.d/ambari-agent

Apache Hadoop do not have any cluster management service.

There is one more way to check using Hadoop classpath. Get the classpath using ‘hadoop classpath’ command. Most of the distributions mention their distributions in the classpath.

hdp - hortonworks

cdh - cloudera

If the classpath does not contains any of these keywords then it is the Apache Hadoop version.
answered Apr 15, 2018 by kurt_cobain
• 9,240 points
0 votes

Use this command :

`hadoop classpath`
answered Jun 7 by anonymous

Related Questions In Big Data Hadoop

0 votes
11 answers
0 votes
1 answer
0 votes
1 answer
0 votes
5 answers
0 votes
1 answer

What is -cp command in hadoop? How it works?

/user/cloudera/data1 is not a directory, it is ...READ MORE

answered Oct 17, 2018 in Big Data Hadoop by Frankie
• 9,810 points
298 views
0 votes
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,670 points
2,741 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,670 points
289 views
0 votes
10 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
13,579 views
0 votes
1 answer

How to find hadoop distribution and version?

Just Use the command Hadoop version ...READ MORE

answered Apr 6, 2018 in Big Data Hadoop by kurt_cobain
• 9,240 points

edited Apr 6, 2018 by kurt_cobain 301 views