Repository: ambari
Updated Branches:
  refs/heads/trunk 64a3926fb -> d2ac184c3


AMBARI-21695. Problem in starting accumulo in upgraded cluster (IOP-HDP). UT 
fix ammended. (swagle)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/d2ac184c
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d2ac184c
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d2ac184c

Branch: refs/heads/trunk
Commit: d2ac184c3de509d2fb6f6b46f6f0119b4f1a121d
Parents: 64a3926
Author: Siddharth Wagle <swa...@hortonworks.com>
Authored: Thu Aug 10 09:49:14 2017 -0700
Committer: Siddharth Wagle <swa...@hortonworks.com>
Committed: Thu Aug 10 09:49:14 2017 -0700

----------------------------------------------------------------------
 .../events/listeners/upgrade/StackUpgradeFinishListener.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/d2ac184c/ambari-server/src/main/java/org/apache/ambari/server/events/listeners/upgrade/StackUpgradeFinishListener.java
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/java/org/apache/ambari/server/events/listeners/upgrade/StackUpgradeFinishListener.java
 
b/ambari-server/src/main/java/org/apache/ambari/server/events/listeners/upgrade/StackUpgradeFinishListener.java
index 0146bdb..41c2c2b 100644
--- 
a/ambari-server/src/main/java/org/apache/ambari/server/events/listeners/upgrade/StackUpgradeFinishListener.java
+++ 
b/ambari-server/src/main/java/org/apache/ambari/server/events/listeners/upgrade/StackUpgradeFinishListener.java
@@ -90,7 +90,7 @@ public class StackUpgradeFinishListener {
       // Clear the RoleCommandOrder cache on upgrade
       if (roleCommandOrderProvider.get() instanceof 
CachedRoleCommandOrderProvider) {
         LOG.info("Clearing RCO cache");
-        CachedRoleCommandOrderProvider cachedRcoProvider = 
(CachedRoleCommandOrderProvider) roleCommandOrderProvider;
+        CachedRoleCommandOrderProvider cachedRcoProvider = 
(CachedRoleCommandOrderProvider) roleCommandOrderProvider.get();
         cachedRcoProvider.clearRoleCommandOrderCache();
       }
     }

Reply via email to