Repository: hadoop Updated Branches: refs/heads/HADOOP-13341 72b2b4da3 -> 839b587cb
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/839b587c Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/839b587c Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/839b587c Branch: refs/heads/HADOOP-13341 Commit: 839b587cb1aaa8c2f95101cc4b3fe451d672f3fa Parents: 72b2b4d Author: Allen Wittenauer <[email protected]> Authored: Tue Aug 30 12:42:32 2016 -0700 Committer: Allen Wittenauer <[email protected]> Committed: Tue Aug 30 12:42:32 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/839b587c/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]
