Allow overwrite of HADOOP_CLASSPATH and HADOOP_OPTS
---------------------------------------------------

                 Key: HADOOP-7626
                 URL: https://issues.apache.org/jira/browse/HADOOP-7626
             Project: Hadoop Common
          Issue Type: Improvement
          Components: scripts
    Affects Versions: 0.20.205.0
         Environment: Java, Linux
            Reporter: Eric Yang
            Assignee: Eric Yang
             Fix For: 0.20.205.0


Quote email from Ashutosh Chauhan:

bq. 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:

bq. - export HADOOP_CLASSPATH=$f
bq. +export HADOOP_CLASSPATH=${HADOOP_CLASSPATH}:$f

bq. -export HADOOP_OPTS="-Djava.net.preferIPv4Stack=true "
bq. +export HADOOP_OPTS="${HADOOP_OPTS} -Djava.net.preferIPv4Stack=true "


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to