Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-5042

Reducer unable to fetch for a map task that was recovered

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.23.7, 2.0.4-alpha
    • Fix Version/s: 0.23.7, 2.1.0-beta
    • Component/s: mr-am, security
    • Labels:
      None

      Description

      If an application attempt fails and is relaunched the AM will try to recover previously completed tasks. If a reducer needs to fetch the output of a map task attempt that was recovered then it will fail with a 401 error like this:

      java.io.IOException: Server returned HTTP response code: 401 for URL: http://xx:xx/mapOutput?job=job_1361569180491_21845&reduce=0&map=attempt_1361569180491_21845_m_000016_0
      	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1615)
      	at org.apache.hadoop.mapreduce.task.reduce.Fetcher.copyFromHost(Fetcher.java:231)
      	at org.apache.hadoop.mapreduce.task.reduce.Fetcher.run(Fetcher.java:156)
      

      Looking at the corresponding NM's logs, we see the shuffle failed due to "Verification of the hashReply failed".

      1. MAPREDUCE-5042.patch
        16 kB
        Jason Lowe
      2. MAPREDUCE-5042.patch
        20 kB
        Jason Lowe
      3. MAPREDUCE-5042.patch
        28 kB
        Jason Lowe
      4. MAPREDUCE-5042.patch
        28 kB
        Jason Lowe

        Issue Links

          Activity

          Allen Wittenauer made changes -
          Fix Version/s 3.0.0 [ 12320355 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Omkar Vinit Joshi made changes -
          Link This issue duplicates YARN-403 [ YARN-403 ]
          Robert Joseph Evans made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Fix Version/s 3.0.0 [ 12320355 ]
          Fix Version/s 0.23.7 [ 12323954 ]
          Fix Version/s 2.0.5-beta [ 12324032 ]
          Resolution Fixed [ 1 ]
          Jason Lowe made changes -
          Attachment MAPREDUCE-5042.patch [ 12573432 ]
          Jason Lowe made changes -
          Attachment MAPREDUCE-5042.patch [ 12573413 ]
          Jason Lowe made changes -
          Affects Version/s 2.0.4-alpha [ 12324138 ]
          Affects Version/s 2.0.5-beta [ 12324032 ]
          Jason Lowe made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Target Version/s 0.23.7, 2.0.4-beta [ 12323954, 12324032 ]
          Jason Lowe made changes -
          Attachment MAPREDUCE-5042.patch [ 12572443 ]
          Jason Lowe made changes -
          Attachment MAPREDUCE-5042.patch [ 12572227 ]
          Jason Lowe made changes -
          Field Original Value New Value
          Assignee Jason Lowe [ jlowe ]
          Jason Lowe created issue -

            People

            • Assignee:
              Jason Lowe
              Reporter:
              Jason Lowe
            • Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development