Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3539

possible Cases for NullPointerException

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Not A Problem
    • 0.20.2, 0.21.0, 1.0.0
    • None
    • None
    • None

    Description

      in DistCh.java

      in setup method
      opWriter.close();
      if opWriter is null then if we will try to close will throw NPE.
      
      in checkDuplication method
      in.close();
      if in is null then if we will try to close will throw NPE.
      

      Attachments

        1. MAPREDUCE-3539.patch
          0.9 kB
          kavita sharma
        2. MAPREDUCE-3539-branch-1.patch
          0.9 kB
          kavita sharma

        Activity

          People

            Unassigned Unassigned
            kavita sharma kavita sharma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: