[ https://issues.apache.org/jira/browse/HADOOP-11509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296677#comment-14296677 ]
Steve Loughran commented on HADOOP-11509: ----------------------------------------- UGI and Config setup are irreversible. Once UGI has set itself up, you are stuck with the singleton. As for Configurations, give it an invalid XML document as a base resource and there goes Hadoop > 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)