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 B669FDA64 for ; Tue, 12 Feb 2013 18:15:13 +0000 (UTC) Received: (qmail 14729 invoked by uid 500); 12 Feb 2013 18:15:13 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 14689 invoked by uid 500); 12 Feb 2013 18:15: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 14680 invoked by uid 99); 12 Feb 2013 18:15:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Feb 2013 18:15:13 +0000 Date: Tue, 12 Feb 2013 18:15:13 +0000 (UTC) From: "Jonathan Hsieh (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-7814) Port HBASE-6963 'unable to run hbck on a secure cluster' to 0.94 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-7814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576844#comment-13576844 ] Jonathan Hsieh commented on HBASE-7814: --------------------------------------- So this requires means this won't compile unless we compile against hadoop 1.0+/.22+ but the binary should work against the older hadoop right? I think I'm ok with that but please add comment and release note about this. {code} + // See HBASE-7814. UserGroupInformation from hadoop 0.20.x may not support getShortUserName(). + String username; + try { + UserGroupInformation.class.getMethod("getShortUserName", new Class[]{}); + username = ugi.getShortUserName(); + } catch (Exception e) { {code} Can we be more specific about the Exception -- maybe figure out what the specific reflection exception is and use it? > Port HBASE-6963 'unable to run hbck on a secure cluster' to 0.94 > ---------------------------------------------------------------- > > Key: HBASE-7814 > URL: https://issues.apache.org/jira/browse/HBASE-7814 > Project: HBase > Issue Type: Bug > Reporter: Ted Yu > Assignee: Ted Yu > Fix For: 0.94.6 > > Attachments: 7814-v2.txt, HBASE-7814-v0.patch > > -- 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