Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
Description
Regions following a split will get FileNotFoundException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.apache.hadoop.ipc.RemoteException.instantiateException(RemoteException.java:106)
at org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(RemoteException.java:73)
at org.apache.hadoop.hdfs.DFSClient.callGetBlockLocations(DFSClient.java:1261)
at org.apache.hadoop.hdfs.DFSClient.getLocatedBlocks(DFSClient.java:1246)
at org.apache.hadoop.hdfs.DFSClient.getLocatedBlocks(DFSClient.java:1234)
at org.apache.hadoop.hdfs.DFSInputStream.fetchLocatedBlocksAndGetLastBlockLength(DFSInputStream.java:302)
at org.apache.hadoop.hdfs.DFSInputStream.openInfo(DFSInputStream.java:268)
at org.apache.hadoop.hdfs.DFSInputStream.<init>(DFSInputStream.java:260)
at org.apache.hadoop.hdfs.DFSClient.open(DFSClient.java:1565)
at org.apache.hadoop.hdfs.DistributedFileSystem$3.doCall(DistributedFileSystem.java:308)
at org.apache.hadoop.hdfs.DistributedFileSystem$3.doCall(DistributedFileSystem.java:304)
at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
at org.apache.hadoop.hdfs.DistributedFileSystem.open(DistributedFileSystem.java:304)
at org.apache.hadoop.fs.FilterFileSystem.open(FilterFileSystem.java:161)
at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:775)
at org.apache.hadoop.hbase.io.FSDataInputStreamWrapper.<init>(FSDataInputStreamWrapper.java:98)
at org.apache.hadoop.hbase.io.FSDataInputStreamWrapper.<init>(FSDataInputStreamWrapper.java:79)
at org.apache.hadoop.hbase.io.hfile.HFile.createReader(HFile.java:516)
at org.apache.hadoop.hbase.coprocessor.transactional.TrxRegionEndpoint.readTxnInfo(TrxRegionEndpoint.java:6707)
at org.apache.hadoop.hbase.coprocessor.transactional.TrxRegionObserver$TxnReadThread.run(TrxRegionObserver.java:1217)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.hadoop.ipc.RemoteException(java.io.FileNotFoundException): File does not exist: /hbase/data/default/TRAFODION.JAVABENCH.OE_STOCK_5000/1e3bc2ee89bff840fcaaced16dbf826d/traf.txn.out1473204624891
This happens if during the preclose phase the regionObserver finds there are no active transactions. When this happens it doesn't write the traf_txn.out information to hdfs. Consequently, when the new daughter region starts, it can't find the information and throws the exception. THis can affect the proper starting of a region and inheriting things line the onlineEpoch