You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2011/07/07 18:25:16 UTC

[jira] [Created] (HBASE-4076) hbase should pick up HADOOP_CONF_DIR on its classpath

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.92.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

        

[jira] [Resolved] (HBASE-4076) hbase should pick up HADOOP_CONF_DIR on its classpath

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-4076.
--------------------------

    Resolution: Duplicate

@Roman It looks that way to me.  Closing.  Reopen Todd if you think otherwise.

> 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

        

[jira] [Commented] (HBASE-4076) hbase should pick up HADOOP_CONF_DIR on its classpath

Posted by "Roman Shaposhnik (JIRA)" <ji...@apache.org>.
    [ 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:

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

> 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

        

[jira] [Updated] (HBASE-4076) hbase should pick up HADOOP_CONF_DIR on its classpath

Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated HBASE-4076:
--------------------------

    Fix Version/s:     (was: 0.92.0)
                   0.94.0

> 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