You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Bruno Mahé (JIRA)" <ji...@apache.org> on 2013/10/28 09:42:30 UTC
[jira] [Commented] (BIGTOP-1129) Cannot stop datanode through init
script
[ https://issues.apache.org/jira/browse/BIGTOP-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13806629#comment-13806629 ]
Bruno Mahé commented on BIGTOP-1129:
------------------------------------
Tried again:
{noformat}
hdfs 1919 0.1 2.0 778104 154504 ? Sl Oct26 2:37 /usr/lib/jvm/java-openjdk/bin/java -Dproc_datanode -Xmx1000m -Djava.net.preferIPv4Stack=true -Xmx128m -Xmx128m -Dhadoop.log.dir=/var/log/hadoop-hdfs -Dhadoop.log.file=hadoop-hdfs-datanode-ip-172-31-39-159.log -Dhadoop.home.dir=/usr/lib/hadoop -Dhadoop.id.str=hdfs -Dhadoop.root.logger=INFO,RFA -Djava.library.path=/usr/lib/hadoop/lib/native -Dhadoop.policy.file=hadoop-policy.xml -Djava.net.preferIPv4Stack=true -server -Dhadoop.security.logger=ERROR,RFAS -Dhadoop.security.logger=ERROR,RFAS -Dhadoop.security.logger=ERROR,RFAS -Dhadoop.security.logger=INFO,RFAS org.apache.hadoop.hdfs.server.datanode.DataNode
ec2-user 5850 0.0 0.0 103428 824 pts/0 R+ 08:40 0:00 grep datanode
[ec2-user@ip-172-31-39-159 ~]$ sudo /etc/init.d/hadoop-hdfs-datanode status
Hadoop datanode is running [ OK ]
[ec2-user@ip-172-31-39-159 ~]$ sudo /etc/init.d/hadoop-hdfs-datanode stop
Stopping Hadoop datanode: [ OK ]
no datanode to stop
[ec2-user@ip-172-31-39-159 ~]$ sudo /etc/init.d/hadoop-hdfs-datanode status
Hadoop datanode is not running [FAILED]
[ec2-user@ip-172-31-39-159 ~]$ ps auxww | grep datanode
flume 1428 0.0 0.0 100944 568 ? S Oct27 0:00 tail -F /var/log/hadoop-hdfs/hadoop-hdfs-datanode-ip-172-31-39-159.log
hdfs 1919 0.1 2.0 778104 154504 ? Sl Oct26 2:37 /usr/lib/jvm/java-openjdk/bin/java -Dproc_datanode -Xmx1000m -Djava.net.preferIPv4Stack=true -Xmx128m -Xmx128m -Dhadoop.log.dir=/var/log/hadoop-hdfs -Dhadoop.log.file=hadoop-hdfs-datanode-ip-172-31-39-159.log -Dhadoop.home.dir=/usr/lib/hadoop -Dhadoop.id.str=hdfs -Dhadoop.root.logger=INFO,RFA -Djava.library.path=/usr/lib/hadoop/lib/native -Dhadoop.policy.file=hadoop-policy.xml -Djava.net.preferIPv4Stack=true -server -Dhadoop.security.logger=ERROR,RFAS -Dhadoop.security.logger=ERROR,RFAS -Dhadoop.security.logger=ERROR,RFAS -Dhadoop.security.logger=INFO,RFAS org.apache.hadoop.hdfs.server.datanode.DataNode
ec2-user 5992 0.0 0.0 103428 828 pts/0 S+ 08:40 0:00 grep datanode
{noformat}
> Cannot stop datanode through init script
> ----------------------------------------
>
> Key: BIGTOP-1129
> URL: https://issues.apache.org/jira/browse/BIGTOP-1129
> Project: Bigtop
> Issue Type: Bug
> Components: Init scripts
> Affects Versions: 0.7.0
> Environment: Centos
> Reporter: Bruno Mahé
>
> {noformat}sudo /etc/init.d/hadoop-hdfs-datanode stop{noformat}
> When starting the datanode, I do see a correct pid file in
> /var/run/hadoop-hdfs/hadoop-hdfs-datanode.pid but whenever I call the stop command, the pid file disappear while the process still exists.
--
This message was sent by Atlassian JIRA
(v6.1#6144)