hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19088) move_tables_rsgroup will throw an exception when the table is disabled
Date Wed, 08 Nov 2017 05:57:00 GMT

    [ https://issues.apache.org/jira/browse/HBASE-19088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16243421#comment-16243421
] 

Hudson commented on HBASE-19088:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-1.5 #144 (See [https://builds.apache.org/job/HBase-1.5/144/])
HBASE-19088 move_tables_rsgroup will throw an exception when the table (apurtell: rev dc1310f48731c6855d7df7a93dea773e4d46e579)
* (edit) hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminServer.java
* (edit) hbase-rsgroup/src/test/java/org/apache/hadoop/hbase/rsgroup/TestRSGroupsBase.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)

Mime
View raw message