[ 
https://issues.apache.org/jira/browse/MAPREDUCE-4432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13412856#comment-13412856
 ] 

Harsh J commented on MAPREDUCE-4432:
------------------------------------

Gabriel,

Thanks for filing this! I agree we should improve it. Your improvement is much 
nicer to read and understand as well :)

Given that GenericOptionsParser is a non-public API class, and Tool was the 
real to-be-used class for users, I think we should not suggest GOP at all and 
rather show the message just with Tool?
                
> Confusing warning message when GenericOptionsParser is not used
> ---------------------------------------------------------------
>
>                 Key: MAPREDUCE-4432
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4432
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Gabriel Reid
>            Priority: Trivial
>         Attachments: MAPREDUCE-4432.patch
>
>
> The warning that is issued in JobSubmitter -- "Use GenericOptionsParser for 
> parsing the arguments. Applications should implement Tool for the same." -- 
> is confusing and (probably) grammatically incorrect.
> This can be improved by having an updated warning message which gives clearer 
> directions on what can be improved in the application to avoid the warning in 
> the future.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to