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

Fetch failures if used ephemeral port for property "mapreduce.shuffle.port".

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.0.0-alpha
    • None
    • job submission, mrv2
    • Linux

    • Reviewed
    • Ephemeral port.

    Description

      To reproduce the bug.

      Use the following property in mapred-site.xml

      <configuration>
      <property>
      <name> mapreduce.framework.name</name>
      <value>yarn</value>
      </property>
      <property>
      <name> mapreduce.shuffle.port</name>
      <value>0</value>
      </property>
      </configuration>

      and following in yarn-site.xml

      <property>
      <name>yarn.nodemanager.aux-services</name>
      <value>mapreduce.shuffle</value>
      <description>shuffle service that needs to be set for Map Reduce to run </description>
      </property>

      <property>
      <name>yarn.nodemanager.aux-services.mapreduce.shuffle.class</name>
      <value>org.apache.hadoop.mapred.ShuffleHandler</value>
      </property>

      Then try to start the yarn daemons.

      And submit the job. (which would eventually fail).

      Also observe NM logs. It says shuffle handler service started at port 0;

      Attachments

        1. MAPREDUCE-3211.patch
          1 kB
          Prashant Sharma
        2. MAPREDUCE-3211.patch
          1 kB
          Prashant Sharma

        Activity

          People

            prashant Prashant Sharma
            prashant Prashant Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified