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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org

Reply via email to