HADOOP-13357. Modify common to use hadoop_subcommand_opts
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/1a3e102c Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/1a3e102c Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/1a3e102c Branch: refs/heads/HADOOP-13341 Commit: 1a3e102cdf5be3b88c9101bfafe0189b9ed98165 Parents: ff98786 Author: Allen Wittenauer <[email protected]> Authored: Tue Aug 30 12:42:32 2016 -0700 Committer: Allen Wittenauer <[email protected]> Committed: Thu Sep 8 07:57:19 2016 -0700 ---------------------------------------------------------------------- hadoop-common-project/hadoop-common/src/main/bin/hadoop | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/1a3e102c/hadoop-common-project/hadoop-common/src/main/bin/hadoop ---------------------------------------------------------------------- diff --git a/hadoop-common-project/hadoop-common/src/main/bin/hadoop b/hadoop-common-project/hadoop-common/src/main/bin/hadoop index 4aae621..9b682e6 100755 --- a/hadoop-common-project/hadoop-common/src/main/bin/hadoop +++ b/hadoop-common-project/hadoop-common/src/main/bin/hadoop @@ -208,8 +208,13 @@ if [[ ${HADOOP_WORKER_MODE} = true ]]; then exit $? fi +hadoop_subcommand_opts "${HADOOP_SHELL_EXECNAME}" "${HADOOP_SUBCMD}" + if [[ "${HADOOP_SUBCMD_SECURESERVICE}" = true ]]; then HADOOP_SECURE_USER="${HADOOP_SUBCMD_SECUREUSER}" + + hadoop_subcommand_secure_opts "${HADOOP_SHELL_EXECNAME}" "${HADOOP_SUBCMD}" + hadoop_verify_secure_prereq hadoop_setup_secure_service priv_outfile="${HADOOP_LOG_DIR}/privileged-${HADOOP_IDENT_STRING}-${HADOOP_SUBCMD}-${HOSTNAME}.out" --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
