hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andras Bokor (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-14343) Wrong pid file name in error message when starting secure daemon
Date Fri, 05 May 2017 19:23:04 GMT

     [ 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.02.patch

Reattach last patch to kick [~hadoopqa].

> 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, HADOOP-14343.02.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


Mime
View raw message