hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Helmling (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-7285) HMaster fails to start with secure Hadoop
Date Wed, 05 Dec 2012 22:59:58 GMT

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

Gary Helmling updated HBASE-7285:

    Attachment: HBASE-7285.patch

Patch moving the log line to follow the login step.
> HMaster fails to start with secure Hadoop
> -----------------------------------------
>                 Key: HBASE-7285
>                 URL: https://issues.apache.org/jira/browse/HBASE-7285
>             Project: HBase
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 0.96.0
>            Reporter: Gary Helmling
>         Attachments: HBASE-7285.patch
> In current trunk, HMaster will fail to start with secure Hadoop if the user starting
the process has not obtained a kerberos TGT.  The user starting the process should not be
required to have a TGT, as the HMaster process self logs in using the configured keytab and
> This is due to a log line in the HMaster constructor executing prior to the {{User.login()}}
> {code}
>     LOG.info("hbase.rootdir=" + FSUtils.getRootDir(this.conf) +
>         ", hbase.cluster.distributed=" + this.conf.getBoolean("hbase.cluster.distributed",
> {code}
> Here the FSUtils.getRootDir() winds up hitting the NameNode.  The fix is trivial, moving
the log line to follow {{User.login()}}.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message