HADOOP-11524. hadoop_do_classpath_subcommand throws a shellcheck warning. Contributed by Chris Nauroth.
This commit is contained in:
parent
44809b8081
commit
4528eb9fb2
@ -187,6 +187,9 @@ Trunk (Unreleased)
|
|||||||
HADOOP-10115. Exclude duplicate jars in hadoop package under different
|
HADOOP-10115. Exclude duplicate jars in hadoop package under different
|
||||||
component's lib (Vinayakumar B via aw)
|
component's lib (Vinayakumar B via aw)
|
||||||
|
|
||||||
|
HADOOP-11524. hadoop_do_classpath_subcommand throws a shellcheck warning.
|
||||||
|
(cnauroth)
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
||||||
HADOOP-11473. test-patch says "-1 overall" even when all checks are +1
|
HADOOP-11473. test-patch says "-1 overall" even when all checks are +1
|
||||||
|
@ -125,7 +125,7 @@ case ${COMMAND} in
|
|||||||
CLASS=org.apache.hadoop.util.NativeLibraryChecker
|
CLASS=org.apache.hadoop.util.NativeLibraryChecker
|
||||||
;;
|
;;
|
||||||
classpath)
|
classpath)
|
||||||
hadoop_do_classpath_subcommand "$@"
|
hadoop_do_classpath_subcommand CLASS "$@"
|
||||||
;;
|
;;
|
||||||
credential)
|
credential)
|
||||||
CLASS=org.apache.hadoop.security.alias.CredentialShell
|
CLASS=org.apache.hadoop.security.alias.CredentialShell
|
||||||
|
@ -1305,8 +1305,8 @@ function hadoop_verify_user
|
|||||||
|
|
||||||
function hadoop_do_classpath_subcommand
|
function hadoop_do_classpath_subcommand
|
||||||
{
|
{
|
||||||
if [[ "$#" -gt 0 ]]; then
|
if [[ "$#" -gt 1 ]]; then
|
||||||
CLASS=org.apache.hadoop.util.Classpath
|
eval "$1"=org.apache.hadoop.util.Classpath
|
||||||
else
|
else
|
||||||
hadoop_finalize
|
hadoop_finalize
|
||||||
echo "${CLASSPATH}"
|
echo "${CLASSPATH}"
|
||||||
|
@ -94,7 +94,7 @@ case ${COMMAND} in
|
|||||||
CLASS=org.apache.hadoop.hdfs.tools.CacheAdmin
|
CLASS=org.apache.hadoop.hdfs.tools.CacheAdmin
|
||||||
;;
|
;;
|
||||||
classpath)
|
classpath)
|
||||||
hadoop_do_classpath_subcommand "$@"
|
hadoop_do_classpath_subcommand CLASS "$@"
|
||||||
;;
|
;;
|
||||||
crypto)
|
crypto)
|
||||||
CLASS=org.apache.hadoop.hdfs.tools.CryptoAdmin
|
CLASS=org.apache.hadoop.hdfs.tools.CryptoAdmin
|
||||||
|
@ -78,7 +78,7 @@ case ${COMMAND} in
|
|||||||
HADOOP_OPTS="${HADOOP_OPTS} ${HADOOP_CLIENT_OPTS}"
|
HADOOP_OPTS="${HADOOP_OPTS} ${HADOOP_CLIENT_OPTS}"
|
||||||
;;
|
;;
|
||||||
classpath)
|
classpath)
|
||||||
hadoop_do_classpath_subcommand "$@"
|
hadoop_do_classpath_subcommand CLASS "$@"
|
||||||
;;
|
;;
|
||||||
distcp)
|
distcp)
|
||||||
CLASS=org.apache.hadoop.tools.DistCp
|
CLASS=org.apache.hadoop.tools.DistCp
|
||||||
|
@ -82,7 +82,7 @@ case "${COMMAND}" in
|
|||||||
set -- "${COMMAND}" "$@"
|
set -- "${COMMAND}" "$@"
|
||||||
;;
|
;;
|
||||||
classpath)
|
classpath)
|
||||||
hadoop_do_classpath_subcommand "$@"
|
hadoop_do_classpath_subcommand CLASS "$@"
|
||||||
;;
|
;;
|
||||||
cluster)
|
cluster)
|
||||||
CLASS=org.apache.hadoop.yarn.client.cli.ClusterCLI
|
CLASS=org.apache.hadoop.yarn.client.cli.ClusterCLI
|
||||||
|
Loading…
Reference in New Issue
Block a user