[ https://issues.apache.org/jira/browse/HBASE-16830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15573783#comment-15573783 ]
Ted Yu commented on HBASE-16830: -------------------------------- {code} testScanEmptyToEmpty(org.apache.hadoop.hbase.mapred.TestMultiTableSnapshotInputFormat) Time elapsed: 0.034 sec <<< ERROR! java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: Unable to create region directory: /tmp/scantest1_snapshot__abe45cbd-cb5f-4a97-b20e-e475516571d3/data/default/scantest1/3c1d56cec2b7990b64e3fdff852ab921 at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:188) at org.apache.hadoop.hbase.util.ModifyRegionUtils.createRegions(ModifyRegionUtils.java:180) at org.apache.hadoop.hbase.snapshot.RestoreSnapshotHelper.cloneHdfsRegions(RestoreSnapshotHelper.java:527) at org.apache.hadoop.hbase.snapshot.RestoreSnapshotHelper.restoreHdfsRegions(RestoreSnapshotHelper.java:234) at org.apache.hadoop.hbase.snapshot.RestoreSnapshotHelper.restoreHdfsRegions(RestoreSnapshotHelper.java:170) at org.apache.hadoop.hbase.snapshot.RestoreSnapshotHelper.copySnapshotForScanner(RestoreSnapshotHelper.java:736) at org.apache.hadoop.hbase.mapreduce.MultiTableSnapshotInputFormatImpl.restoreSnapshot(MultiTableSnapshotInputFormatImpl.java:249) at org.apache.hadoop.hbase.mapreduce.MultiTableSnapshotInputFormatImpl.restoreSnapshots(MultiTableSnapshotInputFormatImpl.java:243) at org.apache.hadoop.hbase.mapreduce.MultiTableSnapshotInputFormatImpl.setInput(MultiTableSnapshotInputFormatImpl.java:80) at org.apache.hadoop.hbase.mapred.MultiTableSnapshotInputFormat.setInput(MultiTableSnapshotInputFormat.java:127) at org.apache.hadoop.hbase.mapred.TableMapReduceUtil.initMultiTableSnapshotMapperJob(TableMapReduceUtil.java:148) at org.apache.hadoop.hbase.mapred.TestMultiTableSnapshotInputFormat.runJob(TestMultiTableSnapshotInputFormat.java:60) Caused by: java.io.IOException: Unable to create region directory: /tmp/scantest1_snapshot__abe45cbd-cb5f-4a97-b20e-e475516571d3/data/default/scantest1/3c1d56cec2b7990b64e3fdff852ab921 at org.apache.hadoop.hbase.regionserver.HRegionFileSystem.createRegionOnFileSystem(HRegionFileSystem.java:892) at org.apache.hadoop.hbase.regionserver.HRegion.createHRegion(HRegion.java:6477) at org.apache.hadoop.hbase.util.ModifyRegionUtils.createRegion(ModifyRegionUtils.java:205) at org.apache.hadoop.hbase.util.ModifyRegionUtils$1.call(ModifyRegionUtils.java:173) at org.apache.hadoop.hbase.util.ModifyRegionUtils$1.call(ModifyRegionUtils.java:170) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) {code} Not related to the patch. > RSRpcServices#openRegion() should handle the case where table descriptor is > null > -------------------------------------------------------------------------------- > > Key: HBASE-16830 > URL: https://issues.apache.org/jira/browse/HBASE-16830 > Project: HBase > Issue Type: Bug > Affects Versions: 1.3.0 > Reporter: Ted Yu > Assignee: Ted Yu > Attachments: 16830.branch-1.3.txt > > > Over in HBASE-16349, [~mantonov] pointed me to the failed TestClusterId in > Jenkins 1.3 build. > I ran the test locally with Java 8 and consistently stumbled over timeout in > starting the mini cluster: > {code} > 2016-10-13 15:41:05,276 INFO > [RpcServer.FifoWFPBQ.priority.handler=5,queue=1,port=59233] > regionserver.RSRpcServices(1620): Open hbase:namespace,,1476398463993. > 7ab1d0b3b7be8b9a7ce9af61c29d5342. > 2016-10-13 15:41:05,277 ERROR > [RpcServer.FifoWFPBQ.priority.handler=5,queue=1,port=59233] > ipc.RpcServer(2320): Unexpected throwable object > java.lang.NullPointerException > at > org.apache.hadoop.hbase.regionserver.RSRpcServices.openRegion(RSRpcServices.java:1679) > at > org.apache.hadoop.hbase.protobuf.generated.AdminProtos$AdminService$2.callBlockingMethod(AdminProtos.java:22737) > at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2270) > at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:123) > at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:188) > at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:168) > {code} > It turned out that htd for hbase:namespace table was null. > Once the NPE is fixed, the test passes. -- This message was sent by Atlassian JIRA (v6.3.4#6332)