[
https://issues.apache.org/jira/browse/HADOOP-18348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18036447#comment-18036447
]
ASF GitHub Bot commented on HADOOP-18348:
-----------------------------------------
github-actions[bot] commented on PR #4589:
URL: https://github.com/apache/hadoop/pull/4589#issuecomment-3505462356
We're closing this stale PR because it has been open for 100 days with no
activity. This isn't a judgement on the merit of the PR in any way. It's just a
way of keeping the PR queue manageable.
If you feel like this was a mistake, or you would like to continue working
on it, please feel free to re-open it and ask for a committer to remove the
stale tag and review again.
Thanks all for your contribution.
> Echo java process's parent pid to the pid file intermediate state
> -----------------------------------------------------------------
>
> Key: HADOOP-18348
> URL: https://issues.apache.org/jira/browse/HADOOP-18348
> Project: Hadoop Common
> Issue Type: Bug
> Components: common
> Affects Versions: 3.3.1, 3.3.2, 3.3.3
> Reporter: jiangrui
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.3.1, 3.3.2, 3.3.3
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> In hadoop-function.sh file,there is hadoop_start_daemon and
> hadoop_start_daemon_wrapper functions.
> hadoop_start_daemon_wrapper invoke hadoop_start_daemon and put it to
> background.
>
> In hadoop_start_daemon function, echo $$ > pidfile,cause this scenario
> because hadoop_start_daemon is in a subshell by ampersand, and $ expands to
> the process ID of the current shell, not the subshell.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]