Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C455C1847F for ; Tue, 30 Jun 2015 19:43:05 +0000 (UTC) Received: (qmail 15778 invoked by uid 500); 30 Jun 2015 19:43:05 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 15741 invoked by uid 500); 30 Jun 2015 19:43:05 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 15726 invoked by uid 99); 30 Jun 2015 19:43:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jun 2015 19:43:05 +0000 Date: Tue, 30 Jun 2015 19:43:05 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-12223) Views: Don't cache URL stream provider in view context MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-12223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14608944#comment-14608944 ] Hudson commented on AMBARI-12223: --------------------------------- SUCCESS: Integrated in Ambari-branch-2.1 #153 (See [https://builds.apache.org/job/Ambari-branch-2.1/153/]) AMBARI-12223 - Views: Don't cache URL stream provider in view context (tbeerbower) (tbeerbower: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e01774a095f66582b803ffdfe7533746958fe7d9) * ambari-server/src/main/java/org/apache/ambari/server/view/ViewContextImpl.java * ambari-server/src/main/java/org/apache/ambari/server/controller/internal/URLStreamProvider.java * ambari-server/src/test/java/org/apache/ambari/server/view/ViewContextImplTest.java > Views: Don't cache URL stream provider in view context > ------------------------------------------------------ > > Key: AMBARI-12223 > URL: https://issues.apache.org/jira/browse/AMBARI-12223 > Project: Ambari > Issue Type: Bug > Reporter: Tom Beerbower > Assignee: Tom Beerbower > Fix For: 2.1.0 > > > The URLStreamProvider is currently cached in the ViewContext implementation. It is a problem if the associated HttpURLConnection times out because we have no way to refresh the connection. Instead, we should get a new URLStreamProvider for each request. -- This message was sent by Atlassian JIRA (v6.3.4#6332)