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

streaming hang when IOException in MROutputThread. (NPE)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.14.1
    • 0.15.0
    • None
    • None

    Description

      One streaming task hang and had stderr userlog as follows.

      Exception in thread "Thread-5" java.lang.NullPointerException
               at java.lang.Throwable.printStackTrace(Throwable.java:460)
               at org.apache.hadoop.streaming.PipeMapRed$MROutputThread.run(PipeMapRed.java:352)
      

      In PipeMapRed.java

      351       } catch (IOException io) {
      352         io.printStackTrace(log_);
      353         outerrThreadsThrowable = io;
      

      I guess log_ is Null... Should call logStackTrace.

      Attachments

        1. h-1771.patch
          1 kB
          Koji Noguchi
        2. h-1771-2.patch
          1 kB
          Koji Noguchi
        3. h-1771-3.patch
          1 kB
          Lohit Vijaya Renu
        4. h-1771-3.patch
          1 kB
          Lohit Vijaya Renu
        5. h-1771-3.patch
          2 kB
          Lohit Vijaya Renu
        6. h-1771-3.patch2
          2 kB
          Lohit Vijaya Renu

        Activity

          People

            lohit Lohit Vijaya Renu
            knoguchi Koji Noguchi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: