You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Szilard Nemeth (Jira)" <ji...@apache.org> on 2021/06/01 10:15:00 UTC

[jira] [Created] (YARN-10797) Logging parameter issues in scheduler package

Szilard Nemeth created YARN-10797:
-------------------------------------

             Summary: Logging parameter issues in scheduler package
                 Key: YARN-10797
                 URL: https://issues.apache.org/jira/browse/YARN-10797
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Szilard Nemeth
            Assignee: Szilard Nemeth


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.
{code}
  LOG.error("Failed to reload capacity scheduler config file - " +
                "will use existing conf.", e.getMessage());
{code}

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.

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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org