[
https://issues.apache.org/jira/browse/HADOOP-11509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14295008#comment-14295008
]
Steve Loughran commented on HADOOP-11509:
-----------------------------------------
FWIW, my experience with the YARN-679 "generic entry point" code was that any
attempt to instantiate a FileSystem instance, even indirectly, would trigger
the UGI setup. If HdfsConfiguration and, if needed YarnConfiguration hadn't
been instantiated first, you'd have an invalid filesystem/auth combo.
it was that, not the order of -D eval on the CLI, which caused problems
> change parsing sequence in GenericOptionsParser to parse -D parameters first
> ----------------------------------------------------------------------------
>
> Key: HADOOP-11509
> URL: https://issues.apache.org/jira/browse/HADOOP-11509
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Xuan Gong
> Assignee: Xuan Gong
> Fix For: 2.7.0
>
> Attachments: HADOOP-11509.1.patch, HADOOP-11509.2.patch
>
>
> In GenericOptionsParser, we need to parse -D parameter first. In that case,
> the user input parameter (through -D) can be set into configuration object
> earlier and used to process other parameters.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)