При импорте шаблона кластера в кластер CDH6 возникла ошибка «хосты недоступны». Может ли кто-нибудь помочь объяснить, что я сделал неправильно для шаблона?
# curl -X POST -H "Content-Type: application/json" -d @cdh-template.json
http://admin:admin@manager.hadoop.com:7180/api/v12/cm/importClusterTemplate
{
"message" : "The following host(s) are not available:
node2.hadoop.com,node3.hadoop.com,node1.hadoop.com."
Хосты фактически существуют через хосты api
# curl -u admin:admin "http://manager.hadoop.com:7180/api/v12/hosts" | grep hostname
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3210 0 3210 0 0 123k 0 --:--:-- --:--:-- --:--:-- 125k
"hostname" : "node1.hadoop.com",
"hostname" : "node2.hadoop.com",
"hostname" : "node3.hadoop.com",
Часть файла шаблона:
"hostTemplates" : [ {
"refName" : "HostTemplate-0-from-node1.hadoop.com",
"cardinality" : 1,
"roleConfigGroupsRefNames" : [ "hdfs-BALANCER-BASE", "hdfs-FAILOVERCONTROLLER-BASE", "hdfs-
JOURNALNODE-BASE", "hdfs-NAMENODE-1", "hive-GATEWAY-BASE", "impala-CATALOGSERVER-BASE", "impala-
STATESTORE-BASE", "yarn-JOBHISTORY-BASE", "yarn-RESOURCEMANAGER-BASE", "zookeeper-SERVER-BASE" ]
}, {
"refName" : "HostTemplate-2-from-node2.hadoop.com",
"cardinality" : 1,
"roleConfigGroupsRefNames" : [ "hdfs-DATANODE-BASE", "hdfs-FAILOVERCONTROLLER-BASE", "hdfs-
JOURNALNODE-BASE", "hdfs-NAMENODE-1", "hive-GATEWAY-BASE", "hive-HIVEMETASTORE-BASE", "hive-
HIVESERVER2-BASE", "impala-IMPALAD-1", "yarn-NODEMANAGER-1", "zookeeper-SERVER-BASE" ]
}, {
"refName" : "HostTemplate-3-from-node3.hadoop.com",
"cardinality" : 1,
"roleConfigGroupsRefNames" : [ "hdfs-DATANODE-BASE", "hdfs-JOURNALNODE-BASE", "hive-GATEWAY-
BASE", "impala-IMPALAD-BASE", "yarn-NODEMANAGER-BASE", "zookeeper-SERVER-BASE" ]
} ],
"instantiator" : {
"clusterName" : "cdh631",
"hosts" : [ {
"hostName" : "node1.hadoop.com",
"hostTemplateRefName" : "HostTemplate-0-from-node1.hadoop.com"
}, {
"hostName" : "node2.hadoop.com",
"hostTemplateRefName" : "HostTemplate-2-from-node2.hadoop.com"
}, {
"hostName" : "node3.hadoop.com",
"hostTemplateRefName" : "HostTemplate-3-from-node3.hadoop.com"
}],
Большое спасибо.