Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 0.23.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      MapTask.java
      
      
       
       if (combinerRunner == null || numSpills < minSpillsForCombine) {
                  Merger.writeFile(kvIter, writer, reporter, job);
                } else {
                  combineCollector.setWriter(writer);
                  combinerRunner.combine(kvIter, combineCollector);
                }
      
                //close
                writer.close();
      
      InputSampler.java
      
      
       
       for(int i = 1; i < numPartitions; ++i) {
            int k = Math.round(stepSize * i);
            while (last >= k && comparator.compare(samples[last], samples[k]) == 0) {
              ++k;
            }
            writer.append(samples[k], nullValue);
            last = k;
          }
          writer.close();

      The key flows have potential resource leaks.

      JobSplitWriter.java
      
      
       
      
          SplitMetaInfo[] info = writeNewSplits(conf, splits, out);
          out.close();
      
          SplitMetaInfo[] info = writeOldSplits(splits, out);
          out.close();
      

        Activity

        Devaraj K created issue -
        Devaraj K made changes -
        Field Original Value New Value
        Attachment MAPREDUCE-3556.patch [ 12507537 ]
        Devaraj K made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Devaraj K made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]

          People

          • Assignee:
            Devaraj K
            Reporter:
            Devaraj K
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development