Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 583F5200D33 for ; Wed, 8 Nov 2017 08:34:08 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 56BC3160BE0; Wed, 8 Nov 2017 07:34:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9CA30160BDA for ; Wed, 8 Nov 2017 08:34:07 +0100 (CET) Received: (qmail 42516 invoked by uid 500); 8 Nov 2017 07:34:06 -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 42500 invoked by uid 99); 8 Nov 2017 07:34:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Nov 2017 07:34:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 672891A0C04 for ; Wed, 8 Nov 2017 07:34:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id i_DeFgP-i66h for ; Wed, 8 Nov 2017 07:34:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id DBEDD6246B for ; Wed, 8 Nov 2017 07:34:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D3A88E259A for ; Wed, 8 Nov 2017 07:34:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 8AC36241B3 for ; Wed, 8 Nov 2017 07:34:00 +0000 (UTC) Date: Wed, 8 Nov 2017 07:34:00 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-19088) move_tables_rsgroup will throw an exception when the table is disabled MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 08 Nov 2017 07:34:08 -0000 [ https://issues.apache.org/jira/browse/HBASE-19088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16243485#comment-16243485 ] Hudson commented on HBASE-19088: -------------------------------- FAILURE: Integrated in Jenkins build HBase-2.0 #817 (See [https://builds.apache.org/job/HBase-2.0/817/]) HBASE-19088 move_tables_rsgroup will throw an exception when the table (apurtell: rev 8095f96289ac2fb1f5d9cd15b3ef55ddf791020f) * (edit) hbase-rsgroup/src/test/java/org/apache/hadoop/hbase/rsgroup/TestRSGroupsBase.java * (edit) hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminServer.java > move_tables_rsgroup will throw an exception when the table is disabled > ---------------------------------------------------------------------- > > Key: HBASE-19088 > URL: https://issues.apache.org/jira/browse/HBASE-19088 > Project: HBase > Issue Type: Bug > Components: rsgroup > Affects Versions: 3.0.0 > Reporter: Guangxu Cheng > Assignee: Guangxu Cheng > Fix For: 2.0.0, 3.0.0, 1.4.0, 1.5.0 > > Attachments: HBASE-19088.branch-1.001.patch, HBASE-19088.branch-1.001.patch, HBASE-19088.branch-1.002.patch, HBASE-19088.master.001.patch, HBASE-19088.master.002.patch, HBASE-19088.master.003.patch > > > When the table is disabled, *move_tables_rsgroup* will throw an exception, but the table has been moved to the new group successfully. > {code:java} > hbase(main):009:0> move_tables_rsgroup 'default',['t1'] > ERROR: java.io.IOException > at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:465) > at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:134) > at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:325) > at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:305) > Caused by: java.lang.NullPointerException > at org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos$MoveRegionStateData$Builder.setSourceServer(MasterProcedureProtos.java:26022) > at org.apache.hadoop.hbase.master.assignment.MoveRegionProcedure.serializeStateData(MoveRegionProcedure.java:133) > at org.apache.hadoop.hbase.procedure2.ProcedureUtil.convertToProtoProcedure(ProcedureUtil.java:198) > at org.apache.hadoop.hbase.procedure2.store.wal.ProcedureWALFormat.writeEntry(ProcedureWALFormat.java:211) > at org.apache.hadoop.hbase.procedure2.store.wal.ProcedureWALFormat.writeInsert(ProcedureWALFormat.java:222) > at org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore.insert(WALProcedureStore.java:470) > at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.submitProcedure(ProcedureExecutor.java:866) > at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.submitProcedure(ProcedureExecutor.java:835) > at org.apache.hadoop.hbase.master.procedure.ProcedureSyncWait.submitAndWaitProcedure(ProcedureSyncWait.java:120) > at org.apache.hadoop.hbase.master.assignment.AssignmentManager.move(AssignmentManager.java:557) > at org.apache.hadoop.hbase.rsgroup.RSGroupAdminServer.moveTables(RSGroupAdminServer.java:413) > at org.apache.hadoop.hbase.rsgroup.RSGroupAdminEndpoint$RSGroupAdminServiceImpl.moveTables(RSGroupAdminEndpoint.java:190) > at org.apache.hadoop.hbase.protobuf.generated.RSGroupAdminProtos$RSGroupAdminService.callMethod(RSGroupAdminProtos.java:12786) > at org.apache.hadoop.hbase.master.MasterRpcServices.execMasterService(MasterRpcServices.java:786) > at org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java) > at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:406) > ... 3 more > Reassign tables from one RegionServer group to another. > Example: > hbase> move_tables_rsgroup 'dest',['table1','table2'] > Took 0.0297 seconds > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)