From db2d8b01c65fdff3acf83b4c4f0a79fe48270487 Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Tue, 4 Dec 2018 15:35:43 +0000 Subject: [PATCH] HADOOP-15966. Hadoop Kerberos broken on macos as java.security.krb5.realm is reset. Contributed by Steve Loughran --- .../hadoop-common/src/main/conf/hadoop-env.sh | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/hadoop-common-project/hadoop-common/src/main/conf/hadoop-env.sh b/hadoop-common-project/hadoop-common/src/main/conf/hadoop-env.sh index 64d6bcb6ad..e43cd95b04 100644 --- a/hadoop-common-project/hadoop-common/src/main/conf/hadoop-env.sh +++ b/hadoop-common-project/hadoop-common/src/main/conf/hadoop-env.sh @@ -96,19 +96,6 @@ # section as to why.... export HADOOP_OS_TYPE=${HADOOP_OS_TYPE:-$(uname -s)} - -# Under certain conditions, Java on OS X will throw SCDynamicStore errors -# in the system logs. -# See HADOOP-8719 for more information. If one needs Kerberos -# support on OS X, one will want to change/remove this extra bit. -case ${HADOOP_OS_TYPE} in - Darwin*) - export HADOOP_OPTS="${HADOOP_OPTS} -Djava.security.krb5.realm= " - export HADOOP_OPTS="${HADOOP_OPTS} -Djava.security.krb5.kdc= " - export HADOOP_OPTS="${HADOOP_OPTS} -Djava.security.krb5.conf= " - ;; -esac - # Extra Java runtime options for some Hadoop commands # and clients (i.e., hdfs dfs -blah). These get appended to HADOOP_OPTS for # such commands. In most cases, # this should be left empty and