ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandor Magyari (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-22172) Change log level for ClusterNotFoundException
Date Wed, 11 Oct 2017 10:58:00 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-22172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16200098#comment-16200098
] 

Sandor Magyari commented on AMBARI-22172:
-----------------------------------------

Patch submitted to trunk: 

{code}
commit 24c35893b0be52146bc821b6d44eece8fd49c50a
Author: Sandor Magyari <smagyari@hortonworks.com>
Date:   Tue Oct 10 13:19:39 2017 +0200

    AMBARI-22172. Change log level for ClusterNotFoundException (magyari_sandor)
{code}

> Change log level for ClusterNotFoundException
> ---------------------------------------------
>
>                 Key: AMBARI-22172
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22172
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>            Reporter: Sandor Magyari
>            Assignee: Sandor Magyari
>            Priority: Minor
>             Fix For: 3.0.0
>
>         Attachments: AMBARI-22172.patch
>
>
> ClusterNotFoundExceptions are filling log files unecesarly, when somebody is polling
Ambari with a non existing clusterId. Logging a warning on INFO level (eventually log stacktrace
on DEBUG level) should be enough.
> {code}
> 19 Apr 2017 06:25:27,570 ERROR [ambari-client-thread-29] AmbariManagementControllerImpl:1128
- Cluster not found
> org.apache.ambari.server.ClusterNotFoundException: Cluster not found, clusterName=kudeep100node
>         at org.apache.ambari.server.state.cluster.ClustersImpl.getCluster(ClustersImpl.java:277)
>         at org.apache.ambari.server.controller.AmbariManagementControllerImpl.getHostComponents(AmbariManagementControllerImpl.java:1126)
>         at org.apache.ambari.server.controller.AmbariManagementControllerImpl.getHostComponents(AmbariManagementControllerImpl.java:3451)
>         at org.apache.ambari.server.controller.internal.HostComponentResourceProvider$2.invoke(HostComponentResourceProvider.java:216)
>         at org.apache.ambari.server.controller.internal.HostComponentResourceProvider$2.invoke(HostComponentResourceProvider.java:213)
>         at org.apache.ambari.server.controller.internal.AbstractResourceProvider.getResources(AbstractResourceProvider.java:307)
>         at org.apache.ambari.server.controller.internal.HostComponentResourceProvider.findResources(HostComponentResourceProvider.java:213)
>         at org.apache.ambari.server.controller.internal.HostComponentResourceProvider.getResources(HostComponentResourceProvider.java:189)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message