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 5792EDDB9 for ; Wed, 19 Sep 2012 11:41:09 +0000 (UTC) Received: (qmail 74545 invoked by uid 500); 19 Sep 2012 11:41:09 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 74181 invoked by uid 500); 19 Sep 2012 11:41:08 -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 74136 invoked by uid 99); 19 Sep 2012 11:41:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Sep 2012 11:41:08 +0000 Date: Wed, 19 Sep 2012 22:41:08 +1100 (NCT) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: <407953952.96915.1348054868545.JavaMail.jiratomcat@arcas> In-Reply-To: <102306644.95493.1348018747517.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HBASE-6834) HBaseClusterManager shell code breaks hadoop-2.0 build 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-6834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13458592#comment-13458592 ] Hudson commented on HBASE-6834: ------------------------------- Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #181 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/181/]) HBASE-6834 HBaseClusterManager shell code breaks hadoop-2.0 build (Revision 1387458) Result = FAILURE stack : Files : * /hbase/trunk/hbase-it/src/test/java/org/apache/hadoop/hbase/HBaseClusterManager.java > HBaseClusterManager shell code breaks hadoop-2.0 build > ------------------------------------------------------ > > Key: HBASE-6834 > URL: https://issues.apache.org/jira/browse/HBASE-6834 > Project: HBase > Issue Type: Bug > Reporter: Gregory Chanan > Assignee: Enis Soztutar > Fix For: 0.96.0 > > Attachments: hbase-6834_v1.patch > > > I get the following error: > {noformat} > HBaseClusterManager.java:[73,23] getExecString() in org.apache.hadoop.hbase.HBaseClusterManager.RemoteShell cannot override getExecString() in org.apache.hadoop.util.Shell.ShellCommandExecutor; attempting to assign weaker access privileges; was public > {noformat} > the issue is that getExecString() is declared public in hadoop-2.0, but protected in hadoop-1.0. In HBase, it is declared protected, and you can't downgrade from public to protected. > We can just declare the function public and that seems to work, but given that in hadoop the class is declared > {code} > @InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"}) > {code} > perhaps we should just copy the class into hbase source. -- 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