hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7779) bin/hadoop classpath CLI does not display the complete classpath
Date Thu, 08 Jan 2015 00:18:35 GMT

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

Chris Nauroth commented on HADOOP-7779:

As of Apache Hadoop 2.6.0, we have enhanced the {{hadoop classpath}} command with additional
options that allow you to:

* Expand the wildcards, resulting in the full list of all jars.
* Bundle the full classpath into a jar with a manifest file containing the Class-Path attribute.
 This can be useful on Windows, where it's very easy for a long classpath to blow past the
Windows limit on command line length of 8191.

The default behavior remains to display the wildcards, so that's unchanged for the people
on this thread that expressed a preference for that.

Additional details are in the documentation here:


I'm resolving this as duplicate.

> bin/hadoop classpath CLI does not display the complete classpath
> ----------------------------------------------------------------
>                 Key: HADOOP-7779
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7779
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.23.0
>            Reporter: Ramya Sunil
> bin/hadoop classpath does not display the complete classpath. The classpath looks like:
> {noformat}
> $HADOOP_CONF_DIR:$HADOOP_COMMON_HOME/libexec/../share/hadoop/common/lib/*:$HADOOP_COMMON_HOME/libexec/../share/hadoop/common/*:/$HADOOP_HDFS_HOME/share/hadoop/hdfs:$HADOOP_HDFS_HOME/share/hadoop/hdfs/lib/*:$HADOOP_HDFS_HOME/share/hadoop/hdfs/*
> {noformat}
> The jar names have to be expanded instead of "*" to display the complete classpath.

This message was sent by Atlassian JIRA

View raw message