org.apache.hadoop.fs.ChecksumException: Checksum error: /tmp/TextFileStoreAppendTests/default at 0 exp: 1355388271 got: 272615628

Spring JIRA | Janne Valkealahti | 2 years 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
  2. 0
  3. 0

    Worried: Corrupt HDFS on single node - how to resolve

    Stack Overflow | 11 months ago | gnomie
    java.io.IOException: Could not iterate StoreFileScanner[HFileScanner for reader reader=hdfs://localhost:9000/hbase/data/default/tt_items/08255086d13380bd559a87dd93cc15ba/d/9bad8381ba89430daf008c28befedec3, compression=snappy, cacheConf=blockCache=LruBlockCache{blockCount=7130, currentSize=535445256, freeSize=23865208, maxSize=559310464, heapSize=535445256, minSize=531344928, minFactor=0.95, multiSize=265672464, multiFactor=0.5, singleSize=132836232, singleFactor=0.25}, cacheDataOnRead=true, cacheDataOnWrite=false, cacheIndexesOnWrite=false, cacheBloomsOnWrite=false, cacheEvictOnClose=false, cacheDataCompressed=false, prefetchOnOpen=false, firstKey=a899ca26-45a4-4af6-af34-72c035b4b7da/b5099cdb-2148-4f95-866a-f6eba2813bab/9223370573623181721/d:co/1463268017037/Put, lastKey=a899ca26-45a4-4af6-af34-72c035b4b7da/fffffc52-8969-472a-a17b-65a4edd6fa66/9223370573623181744/d:r.tt.EPC/1463255430913/Put, avgKeyLen=118, avgValueLen=29, entries=20184807, length=465347831, cur=a899ca26-45a4-4af6-af34-72c035b4b7da/f6f881d7-076a-4aec-82f0-17e33d8f4f84/9223370573623181728/d:pi/1463267434824/Put/vlen=73/seqid=0]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.hadoop.fs.ChecksumException

      Checksum error: /tmp/TextFileStoreAppendTests/default at 0 exp: 1355388271 got: 272615628

      at org.apache.hadoop.util.DataChecksum.verifyChunkedSums()
    2. Hadoop
      DataChecksum.verifyChunkedSums
      1. org.apache.hadoop.util.DataChecksum.verifyChunkedSums(DataChecksum.java:325)
      1 frame
    3. Apache Hadoop HDFS
      DFSInputStream.read
      1. org.apache.hadoop.hdfs.RemoteBlockReader2.readNextPacket(RemoteBlockReader2.java:231)
      2. org.apache.hadoop.hdfs.RemoteBlockReader2.read(RemoteBlockReader2.java:152)
      3. org.apache.hadoop.hdfs.DFSInputStream$ByteArrayStrategy.doRead(DFSInputStream.java:737)
      4. org.apache.hadoop.hdfs.DFSInputStream.readBuffer(DFSInputStream.java:793)
      5. org.apache.hadoop.hdfs.DFSInputStream.readWithStrategy(DFSInputStream.java:853)
      6. org.apache.hadoop.hdfs.DFSInputStream.read(DFSInputStream.java:896)
      6 frames
    4. Java RT
      DataInputStream.read
      1. java.io.DataInputStream.read(DataInputStream.java:100)
      1 frame
    5. Hadoop
      LineReader.readLine
      1. org.apache.hadoop.util.LineReader.fillBuffer(LineReader.java:180)
      2. org.apache.hadoop.util.LineReader.readDefaultLine(LineReader.java:216)
      3. org.apache.hadoop.util.LineReader.readLine(LineReader.java:174)
      4. org.apache.hadoop.util.LineReader.readLine(LineReader.java:370)
      4 frames
    6. Spring for Apache Hadoop Store Features
      TextFileReader$1.doRead
      1. org.springframework.data.hadoop.store.input.TextFileReader$1.doRead(TextFileReader.java:110)
      1 frame