|
|
-
Can’t stop hadoop daemons
Barry, Sean F 2012-04-28, 19:46
hduser@master:~> /usr/java/jdk1.7.0/bin/jps
20907 TaskTracker
20629 SecondaryNameNode
25863 Jps
20777 JobTracker
20383 NameNode
20507 DataNode
hduser@master:~> stop-
stop-all.sh stop-balancer.sh stop-dfs.sh stop-mapred.sh
hduser@master:~> stop-all.sh
no jobtracker to stop
master: no tasktracker to stop
slave: no tasktracker to stop
no namenode to stop
master: no datanode to stop
slave: no datanode to stop
master: no secondarynamenode to stop
hduser@master:~>
as you can see jps shows that the daemons are running but I cant stop them with the stop-all.sh command.
Does anyone have an idea for why this is happening ?
-SB
-
Re: Can’t stop hadoop daemons
Harsh J 2012-04-29, 12:55
Hey Barry,
How did you start these daemons in the first place?
On Sun, Apr 29, 2012 at 1:16 AM, Barry, Sean F <[EMAIL PROTECTED]> wrote: > hduser@master:~> /usr/java/jdk1.7.0/bin/jps > > 20907 TaskTracker > > 20629 SecondaryNameNode > > 25863 Jps > > 20777 JobTracker > > 20383 NameNode > > 20507 DataNode > > hduser@master:~> stop- > > stop-all.sh stop-balancer.sh stop-dfs.sh stop-mapred.sh > > hduser@master:~> stop-all.sh > > no jobtracker to stop > > master: no tasktracker to stop > > slave: no tasktracker to stop > > no namenode to stop > > master: no datanode to stop > > slave: no datanode to stop > > master: no secondarynamenode to stop > > hduser@master:~> > > as you can see jps shows that the daemons are running but I cant stop them with the stop-all.sh command. > > Does anyone have an idea for why this is happening ? > > -SB
-- Harsh J
-
RE: Can’t stop hadoop daemons
Barry, Sean F 2012-04-29, 19:28
I just restarted my machines and it works fine now.
-SB
-----Original Message----- From: Harsh J [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 29, 2012 5:55 AM To: [EMAIL PROTECTED] Subject: Re: Can’t stop hadoop daemons
Hey Barry,
How did you start these daemons in the first place?
On Sun, Apr 29, 2012 at 1:16 AM, Barry, Sean F <[EMAIL PROTECTED]> wrote: > hduser@master:~> /usr/java/jdk1.7.0/bin/jps > > 20907 TaskTracker > > 20629 SecondaryNameNode > > 25863 Jps > > 20777 JobTracker > > 20383 NameNode > > 20507 DataNode > > hduser@master:~> stop- > > stop-all.sh stop-balancer.sh stop-dfs.sh stop-mapred.sh > > hduser@master:~> stop-all.sh > > no jobtracker to stop > > master: no tasktracker to stop > > slave: no tasktracker to stop > > no namenode to stop > > master: no datanode to stop > > slave: no datanode to stop > > master: no secondarynamenode to stop > > hduser@master:~> > > as you can see jps shows that the daemons are running but I cant stop them with the stop-all.sh command. > > Does anyone have an idea for why this is happening ? > > -SB
-- Harsh J
-
Re: Can’t stop hadoop daemons
Harsh J 2012-04-29, 19:42
Sean,
One cause I can think of is that your PID directory is on /tmp or so, and the original saved PID files got cleared away by tmpwatch, leading to this state.
To fix such a flaw, export HADOOP_PID_DIR in hadoop-env.sh to a more persistent location (such as within HADOOP_HOME/pids itself, say).
What version of Hadoop are you using though?
On Mon, Apr 30, 2012 at 12:58 AM, Barry, Sean F <[EMAIL PROTECTED]> wrote: > I just restarted my machines and it works fine now. > > -SB > > -----Original Message----- > From: Harsh J [mailto:[EMAIL PROTECTED]] > Sent: Sunday, April 29, 2012 5:55 AM > To: [EMAIL PROTECTED] > Subject: Re: Can’t stop hadoop daemons > > Hey Barry, > > How did you start these daemons in the first place? > > On Sun, Apr 29, 2012 at 1:16 AM, Barry, Sean F <[EMAIL PROTECTED]> wrote: >> hduser@master:~> /usr/java/jdk1.7.0/bin/jps >> >> 20907 TaskTracker >> >> 20629 SecondaryNameNode >> >> 25863 Jps >> >> 20777 JobTracker >> >> 20383 NameNode >> >> 20507 DataNode >> >> hduser@master:~> stop- >> >> stop-all.sh stop-balancer.sh stop-dfs.sh stop-mapred.sh >> >> hduser@master:~> stop-all.sh >> >> no jobtracker to stop >> >> master: no tasktracker to stop >> >> slave: no tasktracker to stop >> >> no namenode to stop >> >> master: no datanode to stop >> >> slave: no datanode to stop >> >> master: no secondarynamenode to stop >> >> hduser@master:~> >> >> as you can see jps shows that the daemons are running but I cant stop them with the stop-all.sh command. >> >> Does anyone have an idea for why this is happening ? >> >> -SB > > > > -- > Harsh J
-- Harsh J
|
|