You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2013/09/11 14:44:52 UTC
[jira] [Created] (YARN-1179) add ApplicationConstants option to
define base dir of the installed application
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