hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-9085) start namenode failure,bacause pid of namenode pid file is other process pid or thread id before start namenode
Date Tue, 10 Mar 2015 03:42:39 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-9085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Allen Wittenauer updated HADOOP-9085:
-------------------------------------
    Fix Version/s:     (was: 2.7.0)
                       (was: 2.0.2-alpha)
                       (was: 2.0.1-alpha)

> start namenode failure,bacause pid of namenode pid file is other process pid or thread
id before start namenode
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-9085
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9085
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: bin, scripts
>    Affects Versions: 2.0.1-alpha, 2.0.3-alpha
>         Environment: NA
>            Reporter: liaowenrui
>
> pid of namenode pid file is other process pid or thread id before start namenode,start
namenode will failure.because the pid of namenode pid file will be checked use kill -0 command
before start namenode in hadoop-daemo.sh script.when pid of namenode pid file is other process
pid or thread id,checkt is use kil -0 command,and the kill -0 will return success.it means
the namenode is runing.in really,namenode is not runing.
> 2338 is dead namenode pid 
> 2305 is datanode pid
> cqn2:/tmp # kill -0 2338
> cqn2:/tmp # ps -wweLo pid,ppid,tid | grep 2338
>  2305     1  2338



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message