Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.20.205.0
-
None
-
Java, Linux
Description
Quote email from Ashutosh Chauhan:
There is a bug in hadoop-env.sh which prevents hcatalog server to start in secure settings. Instead of adding classpath, it overrides them. I was not able to verify where the bug belongs to, in HMS or in hadoop scripts. Looks like hadoop-env.sh is generated from hadoop-env.sh.template in installation process by HMS. Hand crafted patch follows:
- export HADOOP_CLASSPATH=$f
+export HADOOP_CLASSPATH=${HADOOP_CLASSPATH}:$f
-export HADOOP_OPTS="-Djava.net.preferIPv4Stack=true "
+export HADOOP_OPTS="${HADOOP_OPTS} -Djava.net.preferIPv4Stack=true "