Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Running hadoop in background

Explorer

Hello guys

I am running hadoop cluster using HDP , when i run hadoop there are two CLI of the datanode and the namenode , please is there is any possibilty to run them in background ?

Thank you a lot !

3 REPLIES 3

Super Mentor

@Maher Hattabi

I am not very clear about waht do you mean by two CLI here. Can you please let us know how are you starting those components?

Are you starting those components using the following commands?

nohup hadoop-daemon.sh start namenode &
nohup hadoop-daemon.sh start datanode &

- You can run then in background or use Ambari to manage the start & stop.

Are you following the below mentioned doc:

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

Super Mentor

@Maher Hattabi

In Windiws there is "START" command that can be used to work similar to "&" in unix. Did you try that?

Try to use the "/B" switch, like this:

C:\> start /B start-dfs.cmd

.

Or else you may try to run refer to the approach mentioned in the following link:

http://www.winhelponline.com/blog/run-bat-files-invisibly-without-displaying-command-prompt/

Explorer

Hi ,same problem here i want to make these inerface hidden and running in background thanks

12459-capture.png

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.