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 019AA10FEE for ; Tue, 17 Dec 2013 16:36:55 +0000 (UTC) Received: (qmail 33728 invoked by uid 500); 17 Dec 2013 16:35:29 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 33663 invoked by uid 500); 17 Dec 2013 16:35:20 -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 33572 invoked by uid 99); 17 Dec 2013 16:35:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Dec 2013 16:35:09 +0000 Date: Tue, 17 Dec 2013 16:35:09 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-10186) region_mover.rb broken because ServerName constructor is changed to private 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-10186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13850638#comment-13850638 ] Hudson commented on HBASE-10186: -------------------------------- SUCCESS: Integrated in hbase-0.96 #230 (See [https://builds.apache.org/job/hbase-0.96/230/]) HBASE-10186 region_mover.rb broken because ServerName constructor is changed to private (Samir Ahmic) (jmhsieh: rev 1551531) * /hbase/branches/0.96/bin/region_mover.rb > region_mover.rb broken because ServerName constructor is changed to private > --------------------------------------------------------------------------- > > Key: HBASE-10186 > URL: https://issues.apache.org/jira/browse/HBASE-10186 > Project: HBase > Issue Type: Bug > Components: scripts > Affects Versions: 0.96.1 > Environment: x86_64 GNU/Linux > Reporter: Samir Ahmic > Assignee: Samir Ahmic > Fix For: 0.98.0, 0.96.2, 0.99.0 > > Attachments: HBASE-10186.patch > > > After upgrading to 0.96.1 (from 0.96.0) i have tried rolling restart with ./rolling-restart.sh --graceful but region_mover.rb throws error: > {code} > TypeError: no public constructors for Java::OrgApacheHadoopHbase::ServerName > getRegions at ./region_mover.rb:257 > unloadRegions at ./region_mover.rb:318 > (root) at ./region_mover.rb:461 > {code} > After checking region_mover.rb i believe this line: > {code} > return ProtobufUtil::getOnlineRegions(connection.getAdmin(ServerName.new(servername))); > {code} > should be changed to > {code} > return ProtobufUtil::getOnlineRegions(connection.getAdmin(ServerName.valueOf(servername))); > {code} > After making this change region_mover.rb is working again. I will attach patch shortly. -- This message was sent by Atlassian JIRA (v6.1.4#6159)