hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Yang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-7626) Allow overwrite of HADOOP_CLASSPATH and HADOOP_OPTS
Date Mon, 12 Sep 2011 22:23:09 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-7626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eric Yang updated HADOOP-7626:
------------------------------

    Issue Type: Bug  (was: Improvement)

> 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: Bug
>          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

        

Mime
View raw message