hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1425) Rework the various programs in 'examples' to extend ToolBase
Date Thu, 24 May 2007 17:44:16 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498735
] 

Raghu Angadi commented on HADOOP-1425:
--------------------------------------

When I had to use it, main problem was that it requires a subclass to implement {{run()}}.
I don't see how requiring {{run()}} is anyway related to what ToolBase does. Requiring {{run()}}
expects a certain structure to subclass.

All its interesting funcionality is implemented in {{static private}} members, which certainly
says something about a class. At least we should make {{parseGeneralOptions()}} public. Then
users won't be forced to subclass to get its functionality.


> Rework the various programs in 'examples' to extend ToolBase 
> -------------------------------------------------------------
>
>                 Key: HADOOP-1425
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1425
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: examples
>            Reporter: Arun C Murthy
>         Assigned To: Enis Soztutar
>            Priority: Minor
>             Fix For: 0.14.0
>
>
> Ensuring all 'examples' extend ToolBase will make it easy to tweak various config params
(via -D switches for e.g.) while running the programs... 

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


Mime
View raw message