blob: 7beaf7b5c7b1b0ba1b93d52f429f303de876a32b [file] [log] [blame]
{
"_comment" : "Record format:",
"_comment" : "blockedRole-blockedCommand: [blockerRole1-blockerCommand1, blockerRole2-blockerCommand2, ...]",
"general_deps" : {
"_comment" : "dependencies for all cases",
"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"],
"HBASE_MASTER-START": ["ZOOKEEPER_SERVER-START"],
"HBASE_REGIONSERVER-START": ["HBASE_MASTER-START"],
"OOZIE_SERVER-START": ["RESOURCEMANAGER-START", "NODEMANAGER-START"],
"WEBHCAT_SERVER-START": ["NODEMANAGER-START", "HIVE_SERVER-START"],
"HIVE_METASTORE-START": ["MYSQL_SERVER-START"],
"HIVE_SERVER-START": ["NODEMANAGER-START", "MYSQL_SERVER-START"],
"HUE_SERVER-START": ["HIVE_SERVER-START", "HCAT-START", "OOZIE_SERVER-START"],
"FLUME_HANDLER-START": ["OOZIE_SERVER-START"],
"MAPREDUCE_SERVICE_CHECK-SERVICE_CHECK": ["RESOURCEMANAGER-START", "NODEMANAGER-START"],
"OOZIE_SERVICE_CHECK-SERVICE_CHECK": ["OOZIE_SERVER-START"],
"HBASE_SERVICE_CHECK-SERVICE_CHECK": ["HBASE_MASTER-START", "HBASE_REGIONSERVER-START"],
"HIVE_SERVICE_CHECK-SERVICE_CHECK": ["HIVE_SERVER-START", "HIVE_METASTORE-START", "WEBHCAT_SERVER-START"],
"PIG_SERVICE_CHECK-SERVICE_CHECK": ["RESOURCEMANAGER-START", "NODEMANAGER-START"],
"SQOOP_SERVICE_CHECK-SERVICE_CHECK": ["RESOURCEMANAGER-START", "NODEMANAGER-START"],
"ZOOKEEPER_SERVICE_CHECK-SERVICE_CHECK": ["ZOOKEEPER_SERVER-START"],
"ZOOKEEPER_QUORUM_SERVICE_CHECK-SERVICE_CHECK": ["ZOOKEEPER_SERVER-START"],
"STORM_SERVICE_CHECK-SERVICE_CHECK": ["NIMBUS-START", "SUPERVISOR-START", "STORM_UI_SERVER-START",
"DRPC_SERVER-START"],
"ZOOKEEPER_SERVER-STOP" : ["HBASE_MASTER-STOP", "HBASE_REGIONSERVER-STOP"],
"HBASE_MASTER-STOP": ["HBASE_REGIONSERVER-STOP"],
"NIMBUS-STOP" : ["SUPERVISOR-STOP", "STORM_UI_SERVER-STOP", "DRPC_SERVER-STOP"]
},
"_comment" : "GLUSTERFS-specific dependencies",
"optional_glusterfs": {
"HBASE_MASTER-START": ["PEERSTATUS-START"],
"NODEMANAGER-START": ["PEERSTATUS-START"],
"RESOURCEMANAGER-START": ["PEERSTATUS-START"],
"GLUSTERFS_SERVICE_CHECK-SERVICE_CHECK": ["PEERSTATUS-START"]
},
"_comment" : "Dependencies that are used when GLUSTERFS is not present in cluster",
"optional_no_glusterfs": {
"SECONDARY_NAMENODE-START": ["NAMENODE-START"],
"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"],
"APP_TIMELINE_SERVER-START": ["NAMENODE-START", "DATANODE-START"],
"FALCON_SERVER-START": ["NAMENODE-START", "DATANODE-START"],
"FALCON_SERVICE_CHECK-SERVICE_CHECK": ["FALCON_SERVER-START"],
"HIVE_SERVER-START": ["DATANODE-START"],
"WEBHCAT_SERVER-START": ["DATANODE-START"],
"HDFS_SERVICE_CHECK-SERVICE_CHECK": ["NAMENODE-START", "DATANODE-START",
"SECONDARY_NAMENODE-START"],
"MAPREDUCE2_SERVICE_CHECK-SERVICE_CHECK": ["NODEMANAGER-START",
"RESOURCEMANAGER-START", "HISTORYSERVER-START", "YARN_SERVICE_CHECK-SERVICE_CHECK"],
"YARN_SERVICE_CHECK-SERVICE_CHECK": ["NODEMANAGER-START", "RESOURCEMANAGER-START"],
"RESOURCEMANAGER_SERVICE_CHECK-SERVICE_CHECK": ["RESOURCEMANAGER-START"],
"PIG_SERVICE_CHECK-SERVICE_CHECK": ["RESOURCEMANAGER-START", "NODEMANAGER-START"],
"NAMENODE-STOP": ["RESOURCEMANAGER-STOP", "NODEMANAGER-STOP",
"HISTORYSERVER-STOP", "HBASE_MASTER-STOP", "FALCON_SERVER-STOP"],
"DATANODE-STOP": ["RESOURCEMANAGER-STOP", "NODEMANAGER-STOP",
"HISTORYSERVER-STOP", "HBASE_MASTER-STOP", "FALCON_SERVER-STOP"]
},
"_comment" : "Dependencies that are used in HA NameNode cluster",
"namenode_optional_ha": {
"NAMENODE-START": ["ZKFC-START", "JOURNALNODE-START", "ZOOKEEPER_SERVER-START"],
"ZKFC-START": ["ZOOKEEPER_SERVER-START"]
},
"_comment" : "Dependencies that are used in ResourceManager HA cluster",
"resourcemanager_optional_ha" : {
"RESOURCEMANAGER-START": ["ZOOKEEPER_SERVER-START"]
}
}