hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3000) YARN_PID_DIR should be visible in yarn-env.sh
Date Fri, 02 Jan 2015 18:02:34 GMT

    [ https://issues.apache.org/jira/browse/YARN-3000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14263091#comment-14263091

Allen Wittenauer commented on YARN-3000:

It's worth pointing out that YARN_PID_DIR is effectively deprecated in trunk.  The variable
is still honored, but HADOOP_PID_DIR is documented and used as the default.

> YARN_PID_DIR should be visible in yarn-env.sh
> ---------------------------------------------
>                 Key: YARN-3000
>                 URL: https://issues.apache.org/jira/browse/YARN-3000
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 2.6.0
>            Reporter: Jeff Zhang
>            Assignee: Rohith
>            Priority: Minor
>         Attachments: 0001-YARN-3000.patch
> Currently I see YARN_PID_DIR only show in yarn-deamon.sh which is supposed not the place
for user to set up enviroment variable. IMO, yarn-env.sh is the place for users to set up
enviroment variable just like hadoop-env.sh, so it's better to put YARN_PID_DIR into yarn-env.sh.
( can put it into comment just like YARN_RESOURCEMANAGER_HEAPSIZE )

This message was sent by Atlassian JIRA

View raw message