Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-3635

Uncaught exception in DataBlockScanner

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.17.0
    • Fix Version/s: 0.18.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      17.0 + H1979-H2159-H3442

    • Hadoop Flags:
      Reviewed

      Description

      I see bunch of datanodes stop verifying local blocks.

      ".out" showed

      -rw-r--r--  1 hdfs users 614 Jun 23 10:24 datanode.out
      
      Exception in thread "org.apache.hadoop.dfs.DataBlockScanner@aadc97" java.lang.NumberFormatException: For input string: "121195228080date="
              at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
              at java.lang.Long.parseLong(Long.java:412)
              at java.lang.Long.valueOf(Long.java:518)
              at org.apache.hadoop.dfs.DataBlockScanner$LogEntry.parseEntry(DataBlockScanner.java:351)
              at org.apache.hadoop.dfs.DataBlockScanner.assignInitialVerificationTimes(DataBlockScanner.java:481)
              at org.apache.hadoop.dfs.DataBlockScanner.run(DataBlockScanner.java:534)
              at java.lang.Thread.run(Thread.java:619)
      

      Namenode log also showed

      2008-06-23 10:24:12,831 WARN org.apache.hadoop.dfs.DataBlockScanner: RuntimeException during DataBlockScanner.run() : java.lang.NumberFormatException: For input string: "121195228080date="
              at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
              at java.lang.Long.parseLong(Long.java:412)
              at java.lang.Long.valueOf(Long.java:518)
              at org.apache.hadoop.dfs.DataBlockScanner$LogEntry.parseEntry(DataBlockScanner.java:351)
              at org.apache.hadoop.dfs.DataBlockScanner.assignInitialVerificationTimes(DataBlockScanner.java:481)
              at org.apache.hadoop.dfs.DataBlockScanner.run(DataBlockScanner.java:534)
              at java.lang.Thread.run(Thread.java:619)
      

      Datanode was still up and running but no verification.
      Jstack didn't show DataBlockScanner.

        Attachments

        1. jstack.H3635.txt
          10 kB
          Koji Noguchi
        2. 3635_20080630.patch
          6 kB
          Tsz Wo Nicholas Sze
        3. 3635_20080627.patch
          6 kB
          Tsz Wo Nicholas Sze

          Activity

            People

            • Assignee:
              szetszwo Tsz Wo Nicholas Sze
              Reporter:
              knoguchi Koji Noguchi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: