ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <>
Subject [jira] [Commented] (AMBARI-22172) Change log level for ClusterNotFoundException
Date Tue, 10 Oct 2017 13:39:00 GMT


Hadoop QA commented on AMBARI-22172:

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in ambari-server.

Console output:

This message is automatically generated.

> Change log level for ClusterNotFoundException
> ---------------------------------------------
>                 Key: AMBARI-22172
>                 URL:
>             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(
>         at org.apache.ambari.server.controller.AmbariManagementControllerImpl.getHostComponents(
>         at org.apache.ambari.server.controller.AmbariManagementControllerImpl.getHostComponents(
>         at org.apache.ambari.server.controller.internal.HostComponentResourceProvider$2.invoke(
>         at org.apache.ambari.server.controller.internal.HostComponentResourceProvider$2.invoke(
>         at org.apache.ambari.server.controller.internal.AbstractResourceProvider.getResources(
>         at org.apache.ambari.server.controller.internal.HostComponentResourceProvider.findResources(
>         at org.apache.ambari.server.controller.internal.HostComponentResourceProvider.getResources(
> {code}

This message was sent by Atlassian JIRA

View raw message