hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Shaposhnik (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4076) hbase should pick up HADOOP_CONF_DIR on its classpath
Date Wed, 31 Aug 2011 00:29:09 GMT

    [ https://issues.apache.org/jira/browse/HBASE-4076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094207#comment-13094207

Roman Shaposhnik commented on HBASE-4076:

Isn't it a dup of HBASE-3465. At least from the implementation point of view:

#If avail, add Hadoop to the CLASSPATH and to the JAVA_LIBRARY_PATH
if [ ! -z $HADOOP_HOME ]; then
  if [ -z $HADOOP_CONF_DIR ]; then
    HADOOPCPPATH=$(append_path "${HADOOPCPPATH}" "${HADOOP_HOME}/conf")

> hbase should pick up HADOOP_CONF_DIR on its classpath
> -----------------------------------------------------
>                 Key: HBASE-4076
>                 URL: https://issues.apache.org/jira/browse/HBASE-4076
>             Project: HBase
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 0.92.0
>            Reporter: Todd Lipcon
>             Fix For: 0.94.0
> Currently, hbase doesn't automatically include the hadoop config on its classpath. It
usually works out OK since we specify hbase.rootdir with a fullly qualified hdfs://nnhost/path
URL. But, in secure environments for example, there are some other Hadoop configs that need
to be available to HBase (eg NN krb5 principal info).
> We should change the HBase scripts to automatically pick up HADOOP_CONF_DIR or HADOOP_HOME/conf
on the classpath when available.

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


View raw message