ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject ambari git commit: AMBARI-17552 'Restart all' services fails due to dependency on other service components (dsen)
Date Tue, 05 Jul 2016 12:14:43 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 56773db8e -> a470afdf7


AMBARI-17552 'Restart all' services fails due to dependency on other service components (dsen)


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

Branch: refs/heads/trunk
Commit: a470afdf77e1f6384f8cdc8fcab40b655544e403
Parents: 56773db
Author: Dmytro Sen <dsen@apache.org>
Authored: Tue Jul 5 15:14:05 2016 +0300
Committer: Dmytro Sen <dsen@apache.org>
Committed: Tue Jul 5 15:14:20 2016 +0300

----------------------------------------------------------------------
 .../src/main/resources/stacks/HDP/2.0.6/role_command_order.json  | 4 ++++
 .../src/main/resources/stacks/HDP/2.1/role_command_order.json    | 3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/a470afdf/ambari-server/src/main/resources/stacks/HDP/2.0.6/role_command_order.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/role_command_order.json b/ambari-server/src/main/resources/stacks/HDP/2.0.6/role_command_order.json
index 710b0dd..2f7c880 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/role_command_order.json
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/role_command_order.json
@@ -35,12 +35,16 @@
     "METRICS_COLLECTOR-START": ["NAMENODE-START", "DATANODE-START", "SECONDARY_NAMENODE-START",
"ZOOKEEPER_SERVER-START"],
     "AMBARI_METRICS_SERVICE_CHECK-SERVICE_CHECK": ["METRICS_COLLECTOR-START", "HDFS_SERVICE_CHECK-SERVICE_CHECK"],
     "SECONDARY_NAMENODE-START": ["NAMENODE-START"],
+    "SECONDARY_NAMENODE-RESTART": ["NAMENODE-RESTART"],
     "RESOURCEMANAGER-START": ["NAMENODE-START", "DATANODE-START"],
     "NODEMANAGER-START": ["NAMENODE-START", "DATANODE-START", "RESOURCEMANAGER-START"],
     "HISTORYSERVER-START": ["NAMENODE-START", "DATANODE-START"],
     "HBASE_MASTER-START": ["NAMENODE-START", "DATANODE-START"],
     "HIVE_SERVER-START": ["DATANODE-START"],
     "WEBHCAT_SERVER-START": ["DATANODE-START"],
+    "HISTORYSERVER-RESTART": ["NAMENODE-RESTART", "DATANODE-RESTART"],
+    "RESOURCEMANAGER-RESTART": ["NAMENODE-RESTART", "DATANODE-RESTART"],
+    "NODEMANAGER-RESTART": ["NAMENODE-RESTART", "DATANODE-RESTART", "RESOURCEMANAGER-RESTART"],
     "HDFS_SERVICE_CHECK-SERVICE_CHECK": ["NAMENODE-START", "DATANODE-START",
         "SECONDARY_NAMENODE-START"],
     "MAPREDUCE2_SERVICE_CHECK-SERVICE_CHECK": ["NODEMANAGER-START",

http://git-wip-us.apache.org/repos/asf/ambari/blob/a470afdf/ambari-server/src/main/resources/stacks/HDP/2.1/role_command_order.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.1/role_command_order.json b/ambari-server/src/main/resources/stacks/HDP/2.1/role_command_order.json
index 3adf5e1..5315e1a 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.1/role_command_order.json
+++ b/ambari-server/src/main/resources/stacks/HDP/2.1/role_command_order.json
@@ -11,7 +11,8 @@
     "STORM_SERVICE_CHECK-SERVICE_CHECK": ["NIMBUS-START", "SUPERVISOR-START", "STORM_UI_SERVER-START",
         "DRPC_SERVER-START"],
     "NIMBUS-STOP" : ["SUPERVISOR-STOP", "STORM_UI_SERVER-STOP", "DRPC_SERVER-STOP"],
-    "TEZ_SERVICE_CHECK-SERVICE_CHECK": ["NODEMANAGER-START", "HISTORYSERVER-START"]
+    "TEZ_SERVICE_CHECK-SERVICE_CHECK": ["NODEMANAGER-START", "HISTORYSERVER-START"],
+    "APP_TIMELINE_SERVER-RESTART": ["NAMENODE-RESTART", "DATANODE-RESTART"]
   },
   "_comment" : "Dependencies that are used when GLUSTERFS is not present in cluster",
   "optional_no_glusterfs": {


Mime
View raw message