hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11509) change parsing sequence in GenericOptionsParser to parse -D parameters first
Date Thu, 29 Jan 2015 10:35:34 GMT

    [ 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)

Mime
View raw message