[
https://issues.apache.org/jira/browse/HADOOP-10903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14083324#comment-14083324
]
Chris Nauroth commented on HADOOP-10903:
----------------------------------------
bq. I am probably missing something obvious, who performs the globbing if
'-glob' is specified?
java does this for us behind the scenes. When we do
{{System.getProperty("java.class.path")}}, java has already expanded all of the
wildcards in the input class path. This property already contains the "real"
classpath with the path to every individual jar or directory, so we don't need
to glob explicitly.
> Enhance hadoop classpath command to expand wildcards or write classpath into
> jar manifest.
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-10903
> URL: https://issues.apache.org/jira/browse/HADOOP-10903
> Project: Hadoop Common
> Issue Type: Improvement
> Components: scripts, util
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
> Attachments: HADOOP-10903.1.patch
>
>
> The "hadoop classpath" shell command currently prints the classpath variable
> established by the shell scripts and then exits. A few enhancements to this
> command would be desirable to support a few other use cases.
--
This message was sent by Atlassian JIRA
(v6.2#6252)