hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjeet Nishad (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-22693) snapshot fails with NPE in standalone mode.
Date Mon, 15 Jul 2019 12:02:00 GMT
Sanjeet Nishad created HBASE-22693:
--------------------------------------

             Summary: snapshot fails with NPE in standalone mode.
                 Key: HBASE-22693
                 URL: https://issues.apache.org/jira/browse/HBASE-22693
             Project: HBase
          Issue Type: Bug
    Affects Versions: 2.1.1
         Environment: ERROR: org.apache.hadoop.hbase.snapshot.HBaseSnapshotException: Snapshot
\{ ss=snap4 table=table4 type=FLUSH } had an error. Procedure snap4 \{ waiting=[] done=[]
}
 at org.apache.hadoop.hbase.master.snapshot.SnapshotManager.isSnapshotDone(SnapshotManager.java:396)
 at org.apache.hadoop.hbase.master.MasterRpcServices.isSnapshotDone(MasterRpcServices.java:1180)
 at org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java)
 at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:443)
 at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:130)
 at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:324)
 at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:304)
Caused by: java.lang.NullPointerException via Failed taking snapshot \{ ss=snap4 table=table4
type=FLUSH } due to exception:null:java.lang.NullPointerException
 at org.apache.hadoop.hbase.errorhandling.ForeignExceptionDispatcher.rethrowException(ForeignExceptionDispatcher.java:82)
 at org.apache.hadoop.hbase.master.snapshot.TakeSnapshotHandler.rethrowExceptionIfFailed(TakeSnapshotHandler.java:352)
 at org.apache.hadoop.hbase.master.snapshot.SnapshotManager.isSnapshotDone(SnapshotManager.java:385)
 ... 6 more
Caused by: java.lang.NullPointerException
 at org.apache.hadoop.hbase.master.snapshot.TakeSnapshotHandler.completeSnapshot(TakeSnapshotHandler.java:281)
 at org.apache.hadoop.hbase.master.snapshot.TakeSnapshotHandler.process(TakeSnapshotHandler.java:226)
 at org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:104)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            Reporter: Sanjeet Nishad


steps:
Set up a standalone hbase cluster.
Start the Hmaster and RegionServer.

Start hbase shell. 
create a table and put some data.
Try to take a snapshot with the command : snapshot 'default:table1', 'snap1'
The command fails with an NPE error.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message