[
https://issues.apache.org/jira/browse/YARN-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14534149#comment-14534149
]
Sunil G commented on YARN-1019:
-------------------------------
I would like to take over this as part of bugBash. Please reassign the same if
you are working in it.
I am writing test case for this fix and will upload a patch soon.
> YarnConfiguration validation for local disk path and http addresses.
> --------------------------------------------------------------------
>
> Key: YARN-1019
> URL: https://issues.apache.org/jira/browse/YARN-1019
> Project: Hadoop YARN
> Issue Type: Improvement
> Affects Versions: 2.0.5-alpha
> Reporter: Omkar Vinit Joshi
> Priority: Minor
> Labels: BB2015-05-TBR, newbie
> Attachments: YARN-1019.0.patch
>
>
> Today we are not validating certain configuration parameters set in
> yarn-site.xml. 1) Configurations related to paths... such as local-dirs,
> log-dirs.. Our NM crashes during startup if they are set to relative paths
> rather than absolute paths. To avoid such failures we can enforce checks
> (absolute paths) before startup . i.e. before we actually startup...( i.e.
> directory handler creating directories).
> 2) Also for all the parameters using "hostname:port" unless we are ok with
> default port.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)