You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by am...@apache.org on 2018/01/05 07:56:04 UTC

[08/45] ambari git commit: AMBARI-22679. RU: Service action failed with NullPointer on Downgrade after RU -- fix imports (Dmytro Grinenko via adoroszlai)

AMBARI-22679. RU: Service action failed with NullPointer on Downgrade after RU -- fix imports (Dmytro Grinenko via adoroszlai)


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

Branch: refs/heads/branch-feature-AMBARI-22008-isilon
Commit: f6ee120e4f9a6b56502fef2676719fb56c143673
Parents: f7ffdcb
Author: Dmytro Grinenko <ha...@gmail.com>
Authored: Sat Dec 23 10:36:21 2017 +0100
Committer: Doroszlai, Attila <ad...@hortonworks.com>
Committed: Sat Dec 23 10:36:21 2017 +0100

----------------------------------------------------------------------
 .../server/controller/internal/UpgradeResourceProvider.java      | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/f6ee120e/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
index 7f38740..74f6be3 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
@@ -17,6 +17,8 @@
  */
 package org.apache.ambari.server.controller.internal;
 
+import static org.apache.ambari.server.agent.ExecutionCommand.KeyNames.HOOKS_FOLDER;
+import static org.apache.ambari.server.agent.ExecutionCommand.KeyNames.SERVICE_PACKAGE_FOLDER;
 
 import java.text.MessageFormat;
 import java.util.ArrayList;
@@ -80,7 +82,9 @@ import org.apache.ambari.server.state.Clusters;
 import org.apache.ambari.server.state.ConfigHelper;
 import org.apache.ambari.server.state.Service;
 import org.apache.ambari.server.state.ServiceComponent;
+import org.apache.ambari.server.state.ServiceInfo;
 import org.apache.ambari.server.state.StackId;
+import org.apache.ambari.server.state.StackInfo;
 import org.apache.ambari.server.state.UpgradeContext;
 import org.apache.ambari.server.state.UpgradeContextFactory;
 import org.apache.ambari.server.state.UpgradeHelper;