Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DA361DF6F for ; Thu, 6 Dec 2012 11:53:14 +0000 (UTC) Received: (qmail 63433 invoked by uid 500); 6 Dec 2012 11:53:14 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 62906 invoked by uid 500); 6 Dec 2012 11:53:13 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 62857 invoked by uid 99); 6 Dec 2012 11:53:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Dec 2012 11:53:12 +0000 Date: Thu, 6 Dec 2012 11:53:12 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-7285) HMaster fails to start with secure Hadoop MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-7285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13511295#comment-13511295 ] Hudson commented on HBASE-7285: ------------------------------- Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #285 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/285/]) HBASE-7285 HMaster fails to start with secure Hadoop (Revision 1417690) Result = FAILURE stack : Files : * /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java > 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 > Assignee: Gary Helmling > Fix For: 0.96.0 > > 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 principal. > This is due to a log line in the HMaster constructor executing prior to the {{User.login()}} step: > {code} > LOG.info("hbase.rootdir=" + FSUtils.getRootDir(this.conf) + > ", hbase.cluster.distributed=" + this.conf.getBoolean("hbase.cluster.distributed", false)); > {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