java.io.IOException: replica.getGenerationStamp() < block.getGenerationStamp(), block=blk_1074806221_1829936, replica=ReplicaWaitingToBeRecovered, blk_1074806221_1305648, RWR getNumBytes() = 9259189 getBytesOnDisk() = 9259189 getVisibleLength()= -1 getVolume() = /var/data/hadoop/hdfs/dn/current getBlockFile() = /var/data/hadoop/hdfs/dn/current/BP-133353882-127.0.1.1-1438188921629/current/rbw/blk_1074806221 unlinked=false

Stack Overflow | sofia | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Datanode error - Failed to obtain replica info for block

    Stack Overflow | 7 months ago | sofia
    java.io.IOException: replica.getGenerationStamp() < block.getGenerationStamp(), block=blk_1074806221_1829936, replica=ReplicaWaitingToBeRecovered, blk_1074806221_1305648, RWR getNumBytes() = 9259189 getBytesOnDisk() = 9259189 getVisibleLength()= -1 getVolume() = /var/data/hadoop/hdfs/dn/current getBlockFile() = /var/data/hadoop/hdfs/dn/current/BP-133353882-127.0.1.1-1438188921629/current/rbw/blk_1074806221 unlinked=false

    Root Cause Analysis

    1. java.io.IOException

      replica.getGenerationStamp() < block.getGenerationStamp(), block=blk_1074806221_1829936, replica=ReplicaWaitingToBeRecovered, blk_1074806221_1305648, RWR getNumBytes() = 9259189 getBytesOnDisk() = 9259189 getVisibleLength()= -1 getVolume() = /var/data/hadoop/hdfs/dn/current getBlockFile() = /var/data/hadoop/hdfs/dn/current/BP-133353882-127.0.1.1-1438188921629/current/rbw/blk_1074806221 unlinked=false

      at org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetImpl.initReplicaRecovery()
    2. Apache Hadoop HDFS
      DataNode$5.run
      1. org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetImpl.initReplicaRecovery(FsDatasetImpl.java:2288)
      2. org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetImpl.initReplicaRecovery(FsDatasetImpl.java:2254)
      3. org.apache.hadoop.hdfs.server.datanode.DataNode.initReplicaRecovery(DataNode.java:2537)
      4. org.apache.hadoop.hdfs.server.datanode.DataNode.callInitReplicaRecovery(DataNode.java:2548)
      5. org.apache.hadoop.hdfs.server.datanode.DataNode.recoverBlock(DataNode.java:2620)
      6. org.apache.hadoop.hdfs.server.datanode.DataNode.access$400(DataNode.java:243)
      7. org.apache.hadoop.hdfs.server.datanode.DataNode$5.run(DataNode.java:2522)
      7 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame