Repository: ambari Updated Branches: refs/heads/trunk a2f6d8c09 -> 7fc77d832
AMBARI-18715. Move ZOOKEEPER, KAFKA, STORM, RANGER, RANGER_KMS, AMS, KERBEROS role command orders from stack to service definition (aonishuk) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/7fc77d83 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/7fc77d83 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/7fc77d83 Branch: refs/heads/trunk Commit: 7fc77d832c614bfba894a9cc2d1d01d7683a3062 Parents: a2f6d8c Author: Andrew Onishuk <[email protected]> Authored: Thu Mar 30 10:24:00 2017 +0300 Committer: Andrew Onishuk <[email protected]> Committed: Thu Mar 30 10:24:00 2017 +0300 ---------------------------------------------------------------------- .../AMBARI_METRICS/0.1.0/role_command_order.json | 9 +++++++++ .../KAFKA/0.8.1/role_command_order.json | 7 +++++++ .../KAFKA/0.9.0/role_command_order.json | 6 ++++++ .../RANGER/0.4.0/role_command_order.json | 8 ++++++++ .../RANGER/0.5.0/role_command_order.json | 6 ++++++ .../RANGER/0.6.0/role_command_order.json | 6 ++++++ .../RANGER_KMS/0.5.0.2.3/role_command_order.json | 7 +++++++ .../STORM/0.10.0/role_command_order.json | 8 ++++++++ .../STORM/0.9.1/role_command_order.json | 13 +++++++++++++ .../STORM/0.9.3/role_command_order.json | 7 +++++++ .../ZOOKEEPER/3.4.5/role_command_order.json | 9 +++++++++ 11 files changed, 86 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/7fc77d83/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/role_command_order.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/role_command_order.json b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/role_command_order.json new file mode 100644 index 0000000..3b5c985 --- /dev/null +++ b/ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/role_command_order.json @@ -0,0 +1,9 @@ +{ + "general_deps" : { + "_comment" : "dependencies for AMS", + "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"], + "METRICS_GRAFANA-START": ["METRICS_COLLECTOR-START"], + "METRICS_COLLECTOR-STOP": ["METRICS_GRAFANA-STOP"] + } +} http://git-wip-us.apache.org/repos/asf/ambari/blob/7fc77d83/ambari-server/src/main/resources/common-services/KAFKA/0.8.1/role_command_order.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/KAFKA/0.8.1/role_command_order.json b/ambari-server/src/main/resources/common-services/KAFKA/0.8.1/role_command_order.json new file mode 100644 index 0000000..c446217 --- /dev/null +++ b/ambari-server/src/main/resources/common-services/KAFKA/0.8.1/role_command_order.json @@ -0,0 +1,7 @@ +{ + "general_deps" : { + "_comment" : "dependencies for KAFKA", + "KAFKA_BROKER-START" : ["ZOOKEEPER_SERVER-START", "RANGER_USERSYNC-START"], + "KAFKA_SERVICE_CHECK-SERVICE_CHECK": ["KAFKA_BROKER-START"] + } +} http://git-wip-us.apache.org/repos/asf/ambari/blob/7fc77d83/ambari-server/src/main/resources/common-services/KAFKA/0.9.0/role_command_order.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/KAFKA/0.9.0/role_command_order.json b/ambari-server/src/main/resources/common-services/KAFKA/0.9.0/role_command_order.json new file mode 100644 index 0000000..0ba8dd9 --- /dev/null +++ b/ambari-server/src/main/resources/common-services/KAFKA/0.9.0/role_command_order.json @@ -0,0 +1,6 @@ +{ + "general_deps" : { + "_comment" : "dependencies for KAFKA", + "KAFKA_BROKER-START" : ["ZOOKEEPER_SERVER-START", "RANGER_USERSYNC-START", "NAMENODE-START"] + } +} http://git-wip-us.apache.org/repos/asf/ambari/blob/7fc77d83/ambari-server/src/main/resources/common-services/RANGER/0.4.0/role_command_order.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/RANGER/0.4.0/role_command_order.json b/ambari-server/src/main/resources/common-services/RANGER/0.4.0/role_command_order.json new file mode 100644 index 0000000..f20a9c9 --- /dev/null +++ b/ambari-server/src/main/resources/common-services/RANGER/0.4.0/role_command_order.json @@ -0,0 +1,8 @@ +{ + "general_deps" : { + "_comment" : "dependencies for RANGER", + "RANGER_SERVICE_CHECK-SERVICE_CHECK" : ["RANGER_ADMIN-START"], + "RANGER_SERVICE_CHECK-SERVICE_CHECK" : ["RANGER_USERSYNC-START"], + "RANGER_USERSYNC-START" : ["RANGER_ADMIN-START"] + } +} http://git-wip-us.apache.org/repos/asf/ambari/blob/7fc77d83/ambari-server/src/main/resources/common-services/RANGER/0.5.0/role_command_order.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/RANGER/0.5.0/role_command_order.json b/ambari-server/src/main/resources/common-services/RANGER/0.5.0/role_command_order.json new file mode 100644 index 0000000..df62dfd --- /dev/null +++ b/ambari-server/src/main/resources/common-services/RANGER/0.5.0/role_command_order.json @@ -0,0 +1,6 @@ +{ + "general_deps" : { + "_comment" : "dependencies for RANGER", + "RANGER_USERSYNC-START" : ["RANGER_ADMIN-START", "RANGER_KMS_SERVER-START"] + } +} http://git-wip-us.apache.org/repos/asf/ambari/blob/7fc77d83/ambari-server/src/main/resources/common-services/RANGER/0.6.0/role_command_order.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/RANGER/0.6.0/role_command_order.json b/ambari-server/src/main/resources/common-services/RANGER/0.6.0/role_command_order.json new file mode 100644 index 0000000..ee566eb --- /dev/null +++ b/ambari-server/src/main/resources/common-services/RANGER/0.6.0/role_command_order.json @@ -0,0 +1,6 @@ +{ + "general_deps" : { + "_comment" : "dependencies for RANGER", + "RANGER_ADMIN-START": ["ZOOKEEPER_SERVER-START", "INFRA_SOLR-START"] + } +} http://git-wip-us.apache.org/repos/asf/ambari/blob/7fc77d83/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/role_command_order.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/role_command_order.json b/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/role_command_order.json new file mode 100644 index 0000000..006d177 --- /dev/null +++ b/ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/role_command_order.json @@ -0,0 +1,7 @@ +{ + "general_deps" : { + "_comment" : "dependencies for RANGER-KMS", + "RANGER_KMS_SERVER-START" : ["RANGER_ADMIN-START"], + "RANGER_KMS_SERVICE_CHECK-SERVICE_CHECK" : ["RANGER_KMS_SERVER-START"] + } +} http://git-wip-us.apache.org/repos/asf/ambari/blob/7fc77d83/ambari-server/src/main/resources/common-services/STORM/0.10.0/role_command_order.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/STORM/0.10.0/role_command_order.json b/ambari-server/src/main/resources/common-services/STORM/0.10.0/role_command_order.json new file mode 100644 index 0000000..95b0d16 --- /dev/null +++ b/ambari-server/src/main/resources/common-services/STORM/0.10.0/role_command_order.json @@ -0,0 +1,8 @@ +{ + "general_deps" : { + "_comment" : "dependencies for STORM", + "NIMBUS-START" : ["ZOOKEEPER_SERVER-START", "RANGER_USERSYNC-START", "NAMENODE-START"], + "STORM_UI_SERVER-START" : ["NIMBUS-START", "NAMENODE-START"] + + } +} http://git-wip-us.apache.org/repos/asf/ambari/blob/7fc77d83/ambari-server/src/main/resources/common-services/STORM/0.9.1/role_command_order.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/STORM/0.9.1/role_command_order.json b/ambari-server/src/main/resources/common-services/STORM/0.9.1/role_command_order.json new file mode 100644 index 0000000..fd73066 --- /dev/null +++ b/ambari-server/src/main/resources/common-services/STORM/0.9.1/role_command_order.json @@ -0,0 +1,13 @@ +{ + "general_deps" : { + "_comment" : "dependencies for STORM", + "NIMBUS-START" : ["ZOOKEEPER_SERVER-START"], + "SUPERVISOR-START" : ["NIMBUS-START"], + "STORM_UI_SERVER-START" : ["NIMBUS-START"], + "DRPC_SERVER-START" : ["NIMBUS-START"], + "STORM_REST_API-START" : ["NIMBUS-START", "STORM_UI_SERVER-START", "SUPERVISOR-START", "DRPC_SERVER-START"], + "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"] + } +} http://git-wip-us.apache.org/repos/asf/ambari/blob/7fc77d83/ambari-server/src/main/resources/common-services/STORM/0.9.3/role_command_order.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/STORM/0.9.3/role_command_order.json b/ambari-server/src/main/resources/common-services/STORM/0.9.3/role_command_order.json new file mode 100644 index 0000000..ec5644c --- /dev/null +++ b/ambari-server/src/main/resources/common-services/STORM/0.9.3/role_command_order.json @@ -0,0 +1,7 @@ +{ + "general_deps" : { + "_comment" : "dependencies for STORM", + "NIMBUS-START": ["ZOOKEEPER_SERVER-START", "RANGER_USERSYNC-START"] + + } +} http://git-wip-us.apache.org/repos/asf/ambari/blob/7fc77d83/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5/role_command_order.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5/role_command_order.json b/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5/role_command_order.json new file mode 100644 index 0000000..94bf786 --- /dev/null +++ b/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5/role_command_order.json @@ -0,0 +1,9 @@ +{ + "general_deps" : { + "_comment" : "dependencies for ZOOKEEPER", + "ZOOKEEPER_SERVICE_CHECK-SERVICE_CHECK": ["ZOOKEEPER_SERVER-START"], + "ZOOKEEPER_QUORUM_SERVICE_CHECK-SERVICE_CHECK": ["ZOOKEEPER_SERVER-START"], + "ZOOKEEPER_SERVER-STOP" : ["HBASE_MASTER-STOP", "HBASE_REGIONSERVER-STOP", "METRICS_COLLECTOR-STOP"] + + } +}
