Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-4235

Remove unnecessary error logs and improve message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.3
    • 1.5.0
    • ambari-server
    • None

    Description

      The following logs should not be emitted at error level:

      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
      

      Stack is not necessary for the following log.

      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)
      

      Attachments

        1. AMBARI-4235.patch
          3 kB
          Sumit Mohanty

        Issue Links

          Activity

            People

              sumitmohanty Sumit Mohanty
              sumitmohanty Sumit Mohanty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: