hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Payne (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14343) Wrong pid file name in error message when starting secure daemon
Date Mon, 31 Jul 2017 22:21:00 GMT

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

Eric Payne commented on HADOOP-14343:
-------------------------------------

[~boky01], thanks for the effort on this patch.

Patch LGTM. +1

[~aw], did you have anything you wanted to add?

> 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.4.14#64029)

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