Member since
11-02-2016
3
Posts
2
Kudos Received
0
Solutions
02-03-2017
03:01 PM
1 Kudo
I am trying to create a blueprint for installation of Hbase (Active - Passive) where I have two Namenode (Active-Passive). Issue I am experiencing is that the given blueprint is installing standby hbase master and not active hbase master. And even the hbase regional servers service is also not starting. Kindly check the blueprint mentioned below and let me know where I am making mistake. {
"Blueprints": {
"blueprint_name": "blueprint992c1c9a-b38d-4a8f-bb6f-b4e45f7f447d",
"stack_version": "2.5",
"stack_name": "HDP"
},
"configurations": [
{
"core-site": {
"properties": {
"ha.zookeeper.quorum": "%HOSTGROUP::master_1%:2181,%HOSTGROUP::master_2%:2181,%HOSTGROUP::slave_1%:2181",
"fs.defaultFS": "hdfs:\/\/hdpcluster"
}
}
},
{
"hdfs-site": {
"properties": {
"dfs.namenode.https-address": "%HOSTGROUP::master_1%:50470",
"dfs.nameservices": "hdpcluster",
"dfs.namenode.http-address": "%HOSTGROUP::master_1%:50070",
"dfs.client.failover.proxy.provider.hdpcluster": "org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider",
"dfs.namenode.rpc-address.hdpcluster.nn1": "%HOSTGROUP::master_1%:8020",
"dfs.namenode.rpc-address.hdpcluster.nn2": "%HOSTGROUP::master_2%:8020",
"dfs.ha.fencing.methods": "shell(\/bin\/true)",
"dfs.namenode.https-address.hdpcluster.nn1": "%HOSTGROUP::master_1%:50470",
"dfs.ha.namenodes.hdpcluster": "nn1,nn2",
"dfs.namenode.https-address.hdpcluster.nn2": "%HOSTGROUP::master_2%:50470",
"dfs.ha.automatic-failover.enabled": "true",
"dfs.namenode.shared.edits.dir": "qjournal:\/\/%HOSTGROUP::master_1%:8485;%HOSTGROUP::slave_1%:8485;%HOSTGROUP::master_2%:8485\/hdpcluster",
"dfs.namenode.http-address.hdpcluster.nn1": "%HOSTGROUP::master_1%:50070",
"dfs.namenode.http-address.hdpcluster.nn2": "%HOSTGROUP::master_2%:50070"
}
}
}
],
"host_groups": [
{
"name": "master_1",
"components": [
{
"name": "HISTORYSERVER"
},
{
"name": "JOURNALNODE"
},
{
"name": "NAMENODE"
},
{
"name": "ZKFC"
},
{
"name": "HDFS_CLIENT"
},
{
"name": "MAPREDUCE2_CLIENT"
},
{
"name": "METRICS_MONITOR"
},
{
"name": "TEZ_CLIENT"
},
{
"name": "YARN_CLIENT"
},
{
"name": "ZOOKEEPER_CLIENT"
},
{
"name": "ZOOKEEPER_SERVER"
}
],
"cardinality": "1"
},
{
"name": "master_2",
"components": [
{
"name": "APP_TIMELINE_SERVER"
},
{
"name": "METRICS_COLLECTOR"
},
{
"name": "METRICS_GRAFANA"
},
{
"name": "METRICS_MONITOR"
},
{
"name": "RESOURCEMANAGER"
},
{
"name": "JOURNALNODE"
},
{
"name": "NAMENODE"
},
{
"name": "ZKFC"
},
{
"name": "HDFS_CLIENT"
},
{
"name": "MAPREDUCE2_CLIENT"
},
{
"name": "TEZ_CLIENT"
},
{
"name": "YARN_CLIENT"
},
{
"name": "ZOOKEEPER_CLIENT"
},
{
"name": "ZOOKEEPER_SERVER"
}
],
"cardinality": "1"
},
{
"name": "slave_1",
"components": [
{
"name": "DATANODE"
},
{
"name": "NODEMANAGER"
},
{
"name": "JOURNALNODE"
},
{
"name": "HBASE_MASTER"
},
{
"name": "HBASE_REGIONSERVER"
},
{
"name": "METRICS_MONITOR"
},
{
"name": "HDFS_CLIENT"
},
{
"name": "MAPREDUCE2_CLIENT"
},
{
"name": "TEZ_CLIENT"
},
{
"name": "YARN_CLIENT"
},
{
"name": "ZOOKEEPER_CLIENT"
},
{
"name": "ZOOKEEPER_SERVER"
},
{
"name": "HBASE_CLIENT"
}
],
"cardinality": "1"
},
{
"name": "slave_2",
"components": [
{
"name": "DATANODE"
},
{
"name": "NODEMANAGER"
},
{
"name": "METRICS_MONITOR"
},
{
"name": "HBASE_MASTER"
},
{
"name": "HBASE_REGIONSERVER"
},
{
"name": "HBASE_CLIENT"
},
{
"name": "HDFS_CLIENT"
},
{
"name": "MAPREDUCE2_CLIENT"
},
{
"name": "TEZ_CLIENT"
},
{
"name": "YARN_CLIENT"
},
{
"name": "ZOOKEEPER_CLIENT"
}
],
"cardinality": "1"
}
]
}
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache HBase