Sumit Mohanty created AMBARI-4235:
-------------------------------------

             Summary: Remove unnecessary error logs and improve message
                 Key: AMBARI-4235
                 URL: https://issues.apache.org/jira/browse/AMBARI-4235
             Project: Ambari
          Issue Type: Bug
          Components: controller
    Affects Versions: 1.4.3
            Reporter: Sumit Mohanty
            Assignee: Sumit Mohanty
             Fix For: 1.5.0


The following logs should not be emitted at error level:

{noformat}
22:20:07,342 ERROR [pool-2-thread-32] AbstractProviderModule:675 - Detected JMX 
protocol is null for clusterName = c1, componentName = NAMENODE
22:20:07,342 ERROR [pool-2-thread-32] AbstractProviderModule:677 - Defaulting 
JMX to HTTP protocol for  for clusterName = c1, componentName = NAMENODENAMENODE
{noformat}

Stack is not necessary for the following log.
{noformat}
21:13:50,133  INFO [Thread-21] ActionScheduler:434 - Not a service component, 
assuming its an action
org.apache.ambari.server.ServiceComponentNotFoundException: ServiceComponent 
not found, clusterName=c1, serviceName=HDFS, 
serviceComponentName=HDFS_SERVICE_CHECK
        at 
org.apache.ambari.server.state.ServiceImpl.getServiceComponent(ServiceImpl.java:279)
        at 
org.apache.ambari.server.actionmanager.ActionScheduler.scheduleHostRole(ActionScheduler.java:429)
        at 
org.apache.ambari.server.actionmanager.ActionScheduler.doWork(ActionScheduler.java:215)
        at 
org.apache.ambari.server.actionmanager.ActionScheduler.run(ActionScheduler.java:137)
        at java.lang.Thread.run(Thread.java:744)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to