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] [Commented] (HADOOP-13238) pid handling is failing on secure datanode
Date Mon, 24 Apr 2017 14:58:04 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-13238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15981296#comment-15981296
] 

Allen Wittenauer commented on HADOOP-13238:
-------------------------------------------

Also:

I think the exit conditions matter here.  e.g., if I'm storing the pid on disk and we crash,
jsvc won't get a chance to delete the pid file which after this patch will leave it hanging
around.

> pid handling is failing on secure datanode
> ------------------------------------------
>
>                 Key: HADOOP-13238
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13238
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts, security
>            Reporter: Allen Wittenauer
>            Assignee: Andras Bokor
>         Attachments: HADOOP-13238.01.patch
>
>
> {code}
> hdfs --daemon stop datanode
> cat: /home/hadoop/H/pids/hadoop-hdfs-root-datanode.pid: No such file or directory
> WARNING: pid has changed for datanode, skip deleting pid file
> cat: /home/hadoop/H/pids/hadoop-hdfs-root-datanode.pid: No such file or directory
> WARNING: daemon pid has changed for datanode, skip deleting daemon pid file
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message