[
https://issues.apache.org/jira/browse/AMBARI-17510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15359557#comment-15359557
]
Hudson commented on AMBARI-17510:
---------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #5204 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/5204/])
AMBARI-17510. LogSearch REST Integration component can cause performance
(rnettleton:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=90c9904fcdeaf5a970cdd837a79144c9d18fd4e9])
*
ambari-server/src/main/java/org/apache/ambari/server/controller/logging/LogSearchDataRetrievalService.java
*
ambari-server/src/main/java/org/apache/ambari/server/controller/logging/LoggingRequestHelperImpl.java
*
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementController.java
*
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractProviderModule.java
*
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
*
ambari-server/src/test/java/org/apache/ambari/server/controller/logging/LoggingSearchPropertyProviderTest.java
*
ambari-server/src/main/java/org/apache/ambari/server/controller/logging/LoggingSearchPropertyProvider.java
> LogSearch REST Integration component can cause performance issues
> -----------------------------------------------------------------
>
> Key: AMBARI-17510
> URL: https://issues.apache.org/jira/browse/AMBARI-17510
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.4.0
> Reporter: Robert Nettleton
> Assignee: Robert Nettleton
> Priority: Critical
> Fix For: 2.4.0
>
> Attachments: AMBARI-17510.patch.2
>
>
> In larger clusters, or clusters that are long-running, some
> performance-related problems have been uncovered that occur when LogSearch is
> deployed in an Ambari cluster.
> In particular, if the LogSearch Server itself is performing slowly, this can
> cause a degradation of service in the Ambari REST API, since the LogSearch
> integration components make direct REST calls to obtain the Logging data on
> behalf of the Ambari UI.
> This problem is caused by two issues:
> 1. The REST requests occur on the Ambari REST request thread. This can be
> problematic if a given request hangs. This can cause the Ambari REST API,
> and the Ambari server itself, to become unresponsive.
> 2. The Ambari REST integration layer makes HTTP calls to the LogSearch
> service to obtain Logging metadata, that is then attached to the
> HostComponent resource in Ambari. These HTTP calls are not currently
> configured with a connect or read timeout, which can cause a failing call to
> wait indefinitely, which again can cause Ambari to become unresponsive.
> I'm working on a fix for this, and will be submitting a patch shortly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)