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
• 12,890 points
1,059 views

2 answers to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
10 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,710 points
237 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
• 9,610 points
1,872 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
• 9,610 points
167 views
0 votes
10 answers

hadoop fs -put command?

copy command can be used to copy files ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Sujay
9,350 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 175 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.