You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/06/30 21:43:05 UTC

[jira] [Commented] (AMBARI-12223) Views: Don't cache URL stream provider in view context

    [ 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)