Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
MapReduce, mail # user - jvm fatal error when I kill my namenode after upgrade


Copy link to this message
-
jvm fatal error when I kill my namenode after upgrade
YouPeng Yang 2013-11-15, 02:38
Hi users

    I'm do the upgrade testing in my test enviroments.
    HA is enabled,and after upgrading  the active namenode and the
datanode, It can not to  stop the upgraded namenode
--------------------------------------------------------------------------------------------
[hadoop@hadoop2 sbin]$ ./hadoop-daemons.sh stop datanode
hadoop2: stopping datanode
hadoop3: stopping datanode
hadoop1: stopping datanode
[hadoop@hadoop2 sbin]$ ./hadoop-daemons.sh --hosts hadoop2  stop namenode
cat: /home/hadoop/hadoop-2.2.0/etc/hadoop/215201: No such file or directory
[hadoop@hadoop2 sbin]$ ./hadoop-daemon.sh stop namenode
no namenode to stop
---------------------------------------------------------------------------------------------
   So that I have to kill the pid  which is :

---------------------------------------------------------------------------------------------
hadoop   21198 21153  2 09:43 pts/6    00:00:11
/home/hadoop/jdk1.6.0_45/bin/java -Dproc_namenode -Xmx1000m
-Djava.net.preferIPv4Stack=true
-Dhadoop.log.dir=/home/hadoop/hadoop-2.2.0/logs
-Dhadoop.log.file=hadoop.log -Dhadoop.home.dir=/home/hadoop/hadoop-2.2.0
-Dhadoop.id.str=hadoop -Dhadoop.root.logger=INFO,console
-Djava.library.path=/home/hadoop/hadoop-2.2.0/lib/native
-Dhadoop.policy.file=hadoop-policy.xml -Djava.net.preferIPv4Stack=true
-Dhadoop.security.logger=INFO,RFAS -Dhdfs.audit.logger=INFO,NullAppender
-Dhadoop.security.logger=INFO,NullAppender
org.apache.hadoop.hdfs.server.namenode.NameNode -upgrade .
---------------------------------------------------------------------------------------------

 Unfortunately it comes up the fatal error. The attached file is the detail
information