Hadoop Common
  1. Hadoop Common
  2. HADOOP-6986

SequenceFile.Reader should distinguish between Network IOE and Parsing IOE


    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.20-append, 0.21.1, 0.22.0
    • Fix Version/s: None
    • Component/s: io
    • Labels:


      The SequenceFile.Reader api should give the user an easy way to distinguish between a Network/Low-level IOE and a Parsing IOE. The use case appeared recently in the HBase project:

      Originally, if a RegionServer got an IOE from HDFS while opening a region file, it would abort the open and let the HMaster reassign the region. The assumption being that this is a network failure that will likely disappear at a later time or different partition of the network. However, if HBase gets parsing exceptions, we want to log the problem and continue opening the region anyways, because parsing is an idempotent problem and retries won't fix this issue.

      Although this problem was found in HBase, it seems to be a generic problem of being able to more easily identify idempotent vs transient errors.

      1. HADOOP-6986_20-append.patch
        5 kB
        Nicolas Spiegelberg
      2. HADOOP-6986_0.21.patch
        5 kB
        Nicolas Spiegelberg

        Issue Links


          Nicolas Spiegelberg created issue -
          Nicolas Spiegelberg made changes -
          Field Original Value New Value
          Attachment HADOOP-6986_20-append.patch [ 12456327 ]
          Attachment HADOOP-6986_0.21.patch [ 12456328 ]
          Nicolas Spiegelberg made changes -
          Link This issue is depended upon by HBASE-2933 [ HBASE-2933 ]
          Nicolas Spiegelberg made changes -
          Link This issue is required by HBASE-3081 [ HBASE-3081 ]
          Nicolas Spiegelberg made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Nigel Daley made changes -
          Fix Version/s 0.22.0 [ 12314296 ]
          Fix Version/s 0.20-append [ 12315102 ]
          Fix Version/s 0.21.1 [ 12315270 ]
          Allen Wittenauer made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]


            • Assignee:
              Nicolas Spiegelberg
            • Votes:
              0 Vote for this issue
              6 Start watching this issue


              • Created: