[ 
https://issues.apache.org/jira/browse/HADOOP-6482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eli Collins updated HADOOP-6482:
--------------------------------

    Attachment: hadoop-6482-1.patch

Patch attached. Fixes this and adds a test. 

Not sure why users need to pass in generic options to GenericOptionsParser 
given that we hard-code the hadoop options, but at least this fix will allow us 
to pull the hadoop-specific options out of this class. 

> GenericOptionsParser constructor that takes Options and String[] ignores 
> options
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-6482
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6482
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 0.22.0
>            Reporter: Chris Wilkes
>            Priority: Minor
>         Attachments: hadoop-6482-1.patch
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> This constructor:
>   public GenericOptionsParser(Options opts, String[] args) {
>     this(new Configuration(), new Options(), args);
>   }
> should do a this(new Configuration(), opts, args)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to