Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Starting and stopping hadoop services from command line

avatar
Contributor

1) Is starting and stopping Hadoop services can only be achieved via Ambari? or are there any scripts available to start and stop the Hadoop services via command line?

2) Which one from below is actual $HADOOP_HOME?

/usr/hdp/2.5.3.0-37/etc/hadoop/conf.empty/ /etc/hadoop/2.5.3.0-37/0/

Please advise.

Thank you,

Sachin A

1 ACCEPTED SOLUTION

avatar
Master Mentor
4 REPLIES 4

avatar
Master Mentor

@Sachin Ambardekar

The following doc talks about starting manually various HDP components:

http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.3/bk_reference/content/starting_hdp_services.h...

Regarding HADOOP_HOME you can get more detailed information from the following discussion

https://community.hortonworks.com/questions/20694/hadoop-installation-directory.html

Example:

http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_upgrading_hdp_manually/content/start-maho...

export HADOOP_HOME=/usr/hdp/current/hadoop-client

.

avatar
Master Guru

closing the loop on this question. You can start and stop any service managed by ambari via command line (rest) as well. info here

https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=41812517

avatar
Contributor

I see there are multiple symlinks created to locate folder "conf", what is the purpose behind creating multiple symlink?

Please advise.

Thank you,

Sachin A

avatar
Expert Contributor

@Jay Kumar SenSharma Any specific reason for lots of symlinks present for binaries in conf and etc dir. It's quite confusing sometime. Do you why it's been designed this way?