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

HadoopArchives#HArchiveInputFormat#getSplits() should check reader against null before calling close()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Around line 267:

            finally { 
              reader.close();
            }
      

      reader should be checked against null

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yuzhihong@gmail.com Ted Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: