YARN-5116. Failed to execute "yarn application". Contributed by Jun Gong
This commit is contained in:
parent
5b41b288d0
commit
1b0cfc84e7
|
@ -70,6 +70,7 @@ function yarncmd_case
|
||||||
hadoop_debug "Append YARN_CLIENT_OPTS onto HADOOP_OPTS"
|
hadoop_debug "Append YARN_CLIENT_OPTS onto HADOOP_OPTS"
|
||||||
HADOOP_OPTS="${HADOOP_OPTS} ${YARN_CLIENT_OPTS}"
|
HADOOP_OPTS="${HADOOP_OPTS} ${YARN_CLIENT_OPTS}"
|
||||||
set -- "${subcmd}" "$@"
|
set -- "${subcmd}" "$@"
|
||||||
|
HADOOP_SUBCMD_ARGS=("$@")
|
||||||
;;
|
;;
|
||||||
classpath)
|
classpath)
|
||||||
hadoop_do_classpath_subcommand HADOOP_CLASSNAME "$@"
|
hadoop_do_classpath_subcommand HADOOP_CLASSNAME "$@"
|
||||||
|
@ -216,6 +217,7 @@ function yarncmd_case
|
||||||
HADOOP_CLASSNAME=org.apache.hadoop.yarn.client.cli.TopCLI
|
HADOOP_CLASSNAME=org.apache.hadoop.yarn.client.cli.TopCLI
|
||||||
hadoop_debug "Append YARN_CLIENT_OPTS onto HADOOP_OPTS"
|
hadoop_debug "Append YARN_CLIENT_OPTS onto HADOOP_OPTS"
|
||||||
HADOOP_OPTS="${HADOOP_OPTS} ${YARN_CLIENT_OPTS}"
|
HADOOP_OPTS="${HADOOP_OPTS} ${YARN_CLIENT_OPTS}"
|
||||||
|
HADOOP_SUBCMD_ARGS=("$@")
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
HADOOP_CLASSNAME="${subcmd}"
|
HADOOP_CLASSNAME="${subcmd}"
|
||||||
|
|
Loading…
Reference in New Issue