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

node health check script does not display the correct message on timeout

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.21.0
    • 0.21.0
    • None
    • None
    • Reviewed

    Description

      When the node health check script takes more than "mapred.healthChecker.script.timeout" to return, it should display a timeout message. Instead it displays the full stacktrace as below:

      java.io.IOException: Stream closed at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:145) 
      at java.io.BufferedInputStream.read(BufferedInputStream.java:308) 
      at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264) 
      at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306) 
      at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158) 
      at java.io.InputStreamReader.read(InputStreamReader.java:167) 
      at java.io.BufferedReader.fill(BufferedReader.java:136) 
      at java.io.BufferedReader.readLine(BufferedReader.java:299) 
      at java.io.BufferedReader.readLine(BufferedReader.java:362) 
      at org.apache.hadoop.util.Shell.runCommand(Shell.java:202) 
      at org.apache.hadoop.util.Shell.run(Shell.java:145) 
      at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:338) 
      at org.apache.hadoop.mapred.NodeHealthCheckerService$NodeHealthMonitorExecutor.run(NodeHealthCheckerService.java:119) 
      at java.util.TimerThread.mainLoop(Timer.java:512) 
      at java.util.TimerThread.run(Timer.java:462) 
      

      Also the "mapred.healthChecker.script.timeout" is not being reflected in the job.xml. It always picks up the default value. It is just an UI issue.

      Attachments

        1. mapred-709-ydist.patch
          2 kB
          Sreekanth Ramakrishnan
        2. mapred-709-1.patch
          3 kB
          Sreekanth Ramakrishnan

        Activity

          People

            sreekanth Sreekanth Ramakrishnan
            rramya Ramya Sunil
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: