Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-3203

Correct a log message in AuxServices

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.7.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Currently log is coming like following..

      WARN org.apache.hadoop.yarn.server.nodemanager.containermanager.AuxServices: The Auxilurary Service named 'mapreduce_shuffle' in the configuration is for class class org.apache.hadoop.mapred.ShuffleHandler which has a name of 'httpshuffle'. Because these are not the same tools trying to send ServiceData and read Service Meta Data may have issues unless the refer to the name in the config.

      Since get class will return class as prefix,, we no need keep "class" in log..

      Class<? extends AuxiliaryService> sClass = conf.getClass(
                    String.format(YarnConfiguration.NM_AUX_SERVICE_FMT, sName), null,
                    AuxiliaryService.class);
      

        Attachments

        1. YARN-3203.patch
          1 kB
          Brahma Reddy Battula

          Activity

            People

            • Assignee:
              brahmareddy Brahma Reddy Battula
              Reporter:
              brahmareddy Brahma Reddy Battula
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: