Inheritance is not always the answer. Would it be better to have the 
command-line parsing functionality as a static method of some util class, 
rather than having to force users to inherit from some other class ?

Streaming, pipes etc are okay to inherit, since they are part of the same 
package. What about other frameworks (e.g. Pig) that are not included in the 
same package and the same release cycle, and may still want to use this cli 
parsing functionality ?



----- Original Message -----
From: Amareshwari Sriramadasu (JIRA) <[EMAIL PROTECTED]>
To: [email protected] <[email protected]>
Sent: Fri Jul 11 18:41:31 2008
Subject: [jira] Commented: (HADOOP-3743) -libjars, -files and -archives options 
do not work with 0.18


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

Amareshwari Sriramadasu commented on HADOOP-3743:
-------------------------------------------------

One solution I could see is to make org.apache.hadoop.streaming.StreamJob and 
org.apache.hadoop.mapred.pipes.Submitter implement ToolRunner

> -libjars, -files and -archives options do not work with 0.18
> ------------------------------------------------------------
>
>                 Key: HADOOP-3743
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3743
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.17.0
>            Reporter: Mahadev konar
>            Assignee: Amareshwari Sriramadasu
>            Priority: Blocker
>             Fix For: 0.18.0
>
>         Attachments: patch-3743.txt
>
>
> I am not sure how to get -libjars and -files working with 0.18. I tried all 
> the options but cannot get it runnning. I am filing this as a blocker until 
> we find out that its not broken. -- in that case we need to update the docs 
> with an example to say how it works. 

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