You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Jeff Zhang (JIRA)" <ji...@apache.org> on 2010/07/19 11:19:50 UTC

[jira] Commented: (HADOOP-6866) Tool interface should also support getUsage()

    [ https://issues.apache.org/jira/browse/HADOOP-6866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889792#action_12889792 ] 

Jeff Zhang commented on HADOOP-6866:
------------------------------------

This is a good point, but I concern that it will bring in incompatibility problem.  It will force the users who use the old Tool interface to add the getUsage() method.




> Tool interface should also support getUsage()
> ---------------------------------------------
>
>                 Key: HADOOP-6866
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6866
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Amar Kamat
>
> Currently each and every _tool_ implementing the {{Tool}} interface is forced to manage their usage string. Since its a common piece of code, its better we factor it out. This can be useful in the following ways
> # A proper lib like support for usage strings
> # Forcing _tools_ (implementers of {{Tool}}) to expose their usage string
> # Test cases can now use these well defined and exposed usage strings to test

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