HBase version 1.4.10

Export command: sudo -u hadoop /opt/hbase/bin/hbase  
org.apache.hadoop.hbase.snapshot.ExportSnapshot -snapshot snapshot-TABLE 
-copy-to hdfs://hbase-cluster-2.datahouse/hbase

> On 16 Sep 2019, at 11:32, Alexander Batyrshin <0x62...@gmail.com> wrote:
> 
> I can’t find any logs from HBase Master cleaner about deleting this archive 
> files.
> 
> 
>> On 16 Sep 2019, at 03:02, Alexander Batyrshin <0x62...@gmail.com> wrote:
>> 
>> Looks like snapshot files somehow disappear at destination cluster
>> 
>> Complete stack trace:
>> 
>> 2019-09-16 03:00:18,291 INFO  [main] mapreduce.Job: Task Id : 
>> attempt_1563449245683_0180_m_000043_2, Status : FAILED
>> Error: java.io.FileNotFoundException: File does not exist: 
>> /hbase/archive/data/default/TABLE/f4b9c7e6c303266b123c96d459bdfcfc/d/e1d121ce8072409f9965ab770c229fa0
>>  (inode 10503038) Holder 
>> DFSClient_attempt_1563449245683_0180_m_000043_2_-1896170304_1 does not have 
>> any open files.
>>       at 
>> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkLease(FSNamesystem.java:2800)
>>       at 
>> org.apache.hadoop.hdfs.server.namenode.FSDirWriteFileOp.analyzeFileState(FSDirWriteFileOp.java:597)
>>       at 
>> org.apache.hadoop.hdfs.server.namenode.FSDirWriteFileOp.validateAddBlock(FSDirWriteFileOp.java:172)
>>       at 
>> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:2679)
>>       at 
>> org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.addBlock(NameNodeRpcServer.java:875)
>>       at 
>> org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.addBlock(ClientNamenodeProtocolServerSideTranslatorPB.java:561)
>>       at 
>> org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
>>       at 
>> org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:523)
>>       at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:991)
>>       at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:872)
>>       at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:818)
>>       at java.security.AccessController.doPrivileged(Native Method)
>>       at javax.security.auth.Subject.doAs(Subject.java:422)
>>       at 
>> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1729)
>>       at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2678)
>>       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
>> Method)
>>       at 
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>>       at 
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>>       at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>>       at 
>> org.apache.hadoop.ipc.RemoteException.instantiateException(RemoteException.java:121)
>>       at 
>> org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(RemoteException.java:88)
>>       at 
>> org.apache.hadoop.hdfs.DFSOutputStream.addBlock(DFSOutputStream.java:1081)
>>       at 
>> org.apache.hadoop.hdfs.DataStreamer.locateFollowingBlock(DataStreamer.java:1865)
>>       at 
>> org.apache.hadoop.hdfs.DataStreamer.nextBlockOutputStream(DataStreamer.java:1668)
>>       at org.apache.hadoop.hdfs.DataStreamer.run(DataStreamer.java:716)
>> Caused by: 
>> org.apache.hadoop.ipc.RemoteException(java.io.FileNotFoundException): File 
>> does not exist: 
>> /hbase/archive/data/default/TABLE/f4b9c7e6c303266b123c96d459bdfcfc/d/e1d121ce8072409f9965ab770c229fa0
>>  (inode 10503038) Holder 
>> DFSClient_attempt_1563449245683_0180_m_000043_2_-1896170304_1 does not have 
>> any open files.
>>       at 
>> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkLease(FSNamesystem.java:2800)
>>       at 
>> org.apache.hadoop.hdfs.server.namenode.FSDirWriteFileOp.analyzeFileState(FSDirWriteFileOp.java:597)
>>       at 
>> org.apache.hadoop.hdfs.server.namenode.FSDirWriteFileOp.validateAddBlock(FSDirWriteFileOp.java:172)
>>       at 
>> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:2679)
>>       at 
>> org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.addBlock(NameNodeRpcServer.java:875)
>>       at 
>> org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.addBlock(ClientNamenodeProtocolServerSideTranslatorPB.java:561)
>>       at 
>> org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
>>       at 
>> org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:523)
>>       at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:991)
>>       at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:872)
>>       at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:818)
>>       at java.security.AccessController.doPrivileged(Native Method)
>>       at javax.security.auth.Subject.doAs(Subject.java:422)
>>       at 
>> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1729)
>>       at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2678)
>>       at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1497)
>>       at org.apache.hadoop.ipc.Client.call(Client.java:1443)
>>       at org.apache.hadoop.ipc.Client.call(Client.java:1353)
>>       at 
>> org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:228)
>>       at 
>> org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:116)
>>       at com.sun.proxy.$Proxy17.addBlock(Unknown Source)
>>       at 
>> org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.addBlock(ClientNamenodeProtocolTranslatorPB.java:510)
>>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>       at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>       at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>       at java.lang.reflect.Method.invoke(Method.java:498)
>>       at 
>> org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:422)
>>       at 
>> org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeMethod(RetryInvocationHandler.java:165)
>>       at 
>> org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invoke(RetryInvocationHandler.java:157)
>>       at 
>> org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeOnce(RetryInvocationHandler.java:95)
>>       at 
>> org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:359)
>>       at com.sun.proxy.$Proxy18.addBlock(Unknown Source)
>>       at 
>> org.apache.hadoop.hdfs.DFSOutputStream.addBlock(DFSOutputStream.java:1078)
>>       ... 3 more
> 

Reply via email to