[ https://issues.apache.org/jira/browse/AMBARI-14212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15042215#comment-15042215 ]
Hudson commented on AMBARI-14212: --------------------------------- FAILURE: Integrated in Ambari-branch-2.2 #8 (See [https://builds.apache.org/job/Ambari-branch-2.2/8/]) 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=2c51d1b7c61add947e3ca5e5f4d2dfb63b56429b]) * contrib/views/pig/src/test/java/org/apache/ambari/view/pig/test/IntegrationalTest.java * contrib/views/hive/src/main/resources/view.xml * contrib/views/pig/src/test/java/org/apache/ambari/view/pig/test/HelpTest.java * contrib/views/pig/src/test/java/org/apache/ambari/view/pig/test/FileTest.java * ambari-views/src/main/java/org/apache/ambari/view/View.java * contrib/views/pig/src/test/java/org/apache/ambari/view/pig/test/ScriptTestHDFSUnmanaged.java * contrib/views/pig/src/main/resources/view.xml * contrib/views/utils/src/main/java/org/apache/ambari/view/utils/ViewUserLocal.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/ScriptTest.java * contrib/views/utils/src/main/java/org/apache/ambari/view/utils/UserLocal.java * contrib/views/utils/src/main/java/org/apache/ambari/view/utils/ViewImpl.java * contrib/views/pig/src/test/java/org/apache/ambari/view/pig/test/JobTest.java * ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ViewInstanceResourceProvider.java * contrib/views/pig/src/test/java/org/apache/ambari/view/pig/test/ScriptTestUnmanaged.java * ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.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)