You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Jonathan Hsieh (JIRA)" <ji...@apache.org> on 2011/09/22 20:43:26 UTC

[jira] [Commented] (FLUME-766) the location and name of the flume's PID file needs to be tweakable

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

Jonathan Hsieh commented on FLUME-766:
--------------------------------------

Roman,

Can you add some comments at the top of the script that explains the new variables being pulled in?

I'll give it a quick test.

> the location and name of the flume's PID file needs to be tweakable
> -------------------------------------------------------------------
>
>                 Key: FLUME-766
>                 URL: https://issues.apache.org/jira/browse/FLUME-766
>             Project: Flume
>          Issue Type: Bug
>          Components: Shell
>    Affects Versions: v0.9.4
>            Reporter: Roman Shaposhnik
>            Priority: Minor
>         Attachments: FLUME-766.patch.txt
>
>
> Currently it is hardcoded in flume shell script:
> MASTERPID=${FLUME_PID_DIR:="/tmp"}/flumemaster.pid
> .....
> MASTER_WATCHDOG="java ${JOPTS} -Dpid=$$ -Dpidfile=$MASTERPID $WATCHDOG_CLASS"
> MASTERI_WATCHDOG="java ${JOPTS} -Dpid=$$ -Dpidfile=$MASTERPID  $WATCHDOG_CLASS"
> NODE_WATCHDOG="java ${JOPTS} -Dpid=$$ -Dpidfile=${FLUME_PID_DIR}/flumenode-$$.pid $WATCHDOG_CLASS"
> NODEI_WATCHDOG="java ${JOPTS} -Dfwdstdin=true -Dpid=$$ -Dpidfile=${FLUME_PID_DIR}/flumenode-$$.pid $WATCHDOG_CLASS"

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira