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

Allen Wittenauer commented on HADOOP-9902:
------------------------------------------

 RE: 'hadoop classpath'

I've had quite a few discussions off-JIRA with folks about this subcommand.  
Almost universally, everyone is in favor of it just returning common, and 
adding xyz classpath subcommands to return their subproject jars.    It's also 
one of the few remaining, hardcore things that prevent us from breaking some of 
the dependencies between projects.

While playing with the bigtop tests today, I was reminded why we can't break 
classpath without consequence:  hadoop jar, and to a lesser extend, hadoop 
distcp, hadoop archive, hadoop CLASSNAME.  Unless we either want to play games 
with the classpath code and have 'hadoop' pretend to be 'yarn' or 'mapred' or 
whatever for certain subcommands, hadoop classpath will almost certainly always 
have to return the full one.  Or, as [[email protected]] mentioned, use an 
additional param to force it to be common only.

> Shell script rewrite
> --------------------
>
>                 Key: HADOOP-9902
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9902
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 3.0.0
>            Reporter: Allen Wittenauer
>            Assignee: Allen Wittenauer
>              Labels: releasenotes
>         Attachments: HADOOP-9902-10.patch, HADOOP-9902-2.patch, 
> HADOOP-9902-3.patch, HADOOP-9902-4.patch, HADOOP-9902-5.patch, 
> HADOOP-9902-6.patch, HADOOP-9902-7.patch, HADOOP-9902-8.patch, 
> HADOOP-9902-9.patch, HADOOP-9902.patch, HADOOP-9902.txt, hadoop-9902-1.patch, 
> more-info.txt
>
>
> Umbrella JIRA for shell script rewrite.  See more-info.txt for more details.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to