hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Zhang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6866) Tool interface should also support getUsage()
Date Mon, 19 Jul 2010 09:19:50 GMT

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

View raw message