hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-1179) add ApplicationConstants option to define base dir of the installed application
Date Wed, 11 Sep 2013 12:44:52 GMT
Steve Loughran created YARN-1179:
------------------------------------

             Summary: add ApplicationConstants option to define base dir of the installed
application
                 Key: YARN-1179
                 URL: https://issues.apache.org/jira/browse/YARN-1179
             Project: Hadoop YARN
          Issue Type: Improvement
          Components: nodemanager
    Affects Versions: 2.1.0-beta
            Reporter: Steve Loughran


There is no expanded env variable for the directory into which the NM copies down local resources
and executes the supplied command(s). This prevents you creating environment variables in
the context that set absolute paths
{code}
env.put("CONF_DIR",absolute path to "/conf")
{code}

This could be determined by resolving "." to an absolute value in bash scripts, but it would
be easier and safer if we just had an auto-expanding env variable

{code}
env.put("CONF_DIR","<INSTALL_DIR>/conf")
{code}

And of course {{INSTALL_DIR}} would be declared in {{ApplicationConstants}}.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message