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

Logging parameter issues in scheduler package

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • capacity scheduler
    • None
    • Reviewed

    Description

      1. There is a LOG.error call inĀ org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.QueueConfigurationAutoRefreshPolicy#editSchedule that provides logging arguments without a placeholder in the message.

        LOG.error("Failed to reload capacity scheduler config file - " +
                      "will use existing conf.", e.getMessage());
      

      2. There is a LOG.debug call in org.apache.hadoop.yarn.server.resourcemanager.scheduler.common.fica.FiCaSchedulerApp#moveReservation that has a placeholder in the logging message but the argument is an instance of Throwable so the message does not require a placeholder.

       } catch (IllegalStateException e) {
          LOG.debug("Reserve on target node failed, e={}", e);
          return false;
      }
      

      Attachments

        1. YARN-10797.001.patch
          3 kB
          Szilard Nemeth

        Activity

          People

            snemeth Szilard Nemeth
            snemeth Szilard Nemeth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: