ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-14212) Changes in Instance Definition does not get reflects in pig and hive view due to caching in UserLocal.java
Date Fri, 04 Dec 2015 20:50:11 GMT

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

Hudson commented on AMBARI-14212:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #3971 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3971/])
AMBARI-14212. Changes in Instance Definition does not get reflects in (yusaku: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7d547369a099c1786c9b23639322d4f48c17b21c])
* contrib/views/utils/src/main/java/org/apache/ambari/view/utils/ViewUserLocal.java
* ambari-views/src/main/java/org/apache/ambari/view/View.java
* contrib/views/pig/src/test/java/org/apache/ambari/view/pig/test/ScriptTest.java
* contrib/views/utils/src/main/java/org/apache/ambari/view/utils/ViewImpl.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ViewInstanceResourceProvider.java
* contrib/views/utils/src/main/java/org/apache/ambari/view/utils/UserLocal.java
* contrib/views/hive/src/main/resources/view.xml
* ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java
* contrib/views/pig/src/test/java/org/apache/ambari/view/pig/test/ScriptTestUnmanaged.java
* contrib/views/pig/src/test/java/org/apache/ambari/view/pig/test/JobTest.java
* contrib/views/pig/src/test/java/org/apache/ambari/view/pig/test/IntegrationalTest.java
* contrib/views/pig/src/test/java/org/apache/ambari/view/pig/test/ScriptTestHDFSUnmanaged.java
* contrib/views/pig/src/main/java/org/apache/ambari/view/pig/utils/UserLocalObjects.java
* contrib/views/pig/src/test/java/org/apache/ambari/view/pig/test/HelpTest.java
* contrib/views/pig/src/main/resources/view.xml
* contrib/views/pig/src/test/java/org/apache/ambari/view/pig/test/FileTest.java


> Changes in Instance Definition does not get reflects in pig and hive view due to caching
in UserLocal.java
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-14212
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14212
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-views
>    Affects Versions: 2.1.2
>            Reporter: Gaurav Nagar
>            Assignee: Gaurav Nagar
>            Priority: Critical
>             Fix For: 2.2.0
>
>         Attachments: AMBARI-14212_branch-2.1.patch, AMBARI-14212_branch-2.1_02.patch
>
>
> Connections in different views are cached in the ViewContext, through the UserLocal objects
of the respective views. However, on update of configuration parameters of the view instance,
the connection for the instance in the UserLocal object is not refreshed. This causes a failure
in connection to the new/updated data node. The solution to this is the drop the instance
specific connection and on new request from the browser , re-establish the connection with
the data node, and update the UserLocal objects. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message