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

Make scheduler error checking message more user friendly

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      If the YARN properties below are poorly configured:

      yarn.scheduler.minimum-allocation-mb
      yarn.scheduler.maximum-allocation-mb
      

      The error message that shows up in the RM is:

      2016-01-07 14:47:03,711 FATAL org.apache.hadoop.yarn.server.resourcemanager.ResourceManager: Error starting ResourceManager
      org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Invalid resource scheduler memory allocation configuration, yarn.scheduler.minimum-allocation-mb=-1, yarn.scheduler.maximum-allocation-mb=-3, min should equal greater than 0, max should be no smaller than min.
      at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.validateConf(FairScheduler.java:215)

      While it's technically correct, it's not very user friendly.

      Attachments

        1. YARN-4560.001.patch
          3 kB
          Ray Chiang

        Activity

          People

            rchiang Ray Chiang
            rchiang Ray Chiang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: