You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Andras Bokor (JIRA)" <ji...@apache.org> on 2017/04/21 13:00:06 UTC

[jira] [Updated] (HADOOP-14343) Wrong pid file name in error message when starting secure daemon

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

Andras Bokor updated HADOOP-14343:
----------------------------------
    Attachment: HADOOP-14343.01.patch

> Wrong pid file name in error message when starting secure daemon
> ----------------------------------------------------------------
>
>                 Key: HADOOP-14343
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14343
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Andras Bokor
>            Assignee: Andras Bokor
>            Priority: Minor
>         Attachments: HADOOP-14343.01.patch
>
>
> {code}# this is for the daemon pid creation
>   #shellcheck disable=SC2086
>   echo $! > "${jsvcpidfile}" 2>/dev/null
>   if [[ $? -gt 0 ]]; then
>     hadoop_error "ERROR:  Cannot write ${daemonname} pid ${daemonpidfile}."
>   fi{code}
> It will log datanode's pid file instead of JSVC's pid file.



--
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