Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Running hadoop in background

Highlighted

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
Highlighted

Re: Running hadoop in background

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....

Highlighted

Re: Running hadoop in background

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/

Re: Running hadoop in background

Explorer

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

12459-capture.png

Don't have an account?
Coming from Hortonworks? Activate your account here