Swapnil Daingade created HADOOP-11777: -----------------------------------------
Summary: `hadoop classpath` behaviour different from previous releases Key: HADOOP-11777 URL: https://issues.apache.org/jira/browse/HADOOP-11777 Project: Hadoop Common Issue Type: Bug Affects Versions: 2.6.0 Reporter: Swapnil Daingade Assignee: Swapnil Daingade In 2.6 doing a `hadoop classpath` returns the following classpath [--glob|--jar <path>|-h|--help] : Prints the classpath needed to get the Hadoop jar and the required libraries. Options: --glob expand wildcards --jar <path> write classpath as manifest in jar named <path> -h, --help print help This is different from earlier releases. However, passing any argument to the command will return the classpath as earlier E.g. `hadoop classpath foo` It would be nice to preserve the original behaviour for scripts that read the classpath using this command. The fix seems to be a one line change in hadoop-common-project/hadoop-common/src/main/bin/hadoop -- This message was sent by Atlassian JIRA (v6.3.4#6332)