-
Notifications
You must be signed in to change notification settings - Fork 0
/
hbase.json
99 lines (96 loc) · 4.42 KB
/
hbase.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "jian-hbase37",
"configuration" : {
"files" : [
{
"type": "XML",
"dest_file": "/etc/hadoop/conf/core-site.xml",
"props" : {
"fs.defaultFS" : "hdfs://yclouddev"
}
},
{
"type": "XML",
"dest_file": "/etc/hadoop/conf/hdfs-site.xml",
"props" : {
"dfs.nameservices": "yclouddev",
"dfs.client.failover.proxy.provider.yclouddev": "org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider",
"dfs.ha.namenodes.yclouddev": "nn1,nn2",
"dfs.namenode.rpc-address.yclouddev.nn1": "cn005.l42scl.hortonworks.com:8020",
"dfs.namenode.rpc-address.yclouddev.nn2": "cn008.l42scl.hortonworks.com:8020"
}
},
{
"type": "XML",
"dest_file": "/etc/hbase/conf/hbase-site.xml",
"props" : {
"hbase.cluster.distributed": "true",
"hbase.zookeeper.quorum": "cn005.l42scl.hortonworks.com,cn006.l42scl.hortonworks.com,cn007.l42scl.hortonworks.com",
"hbase.rootdir": "${DEFAULT_DATA_DIR}/hbase",
"zookeeper.znode.parent": "/hbase/${SERVICE_NAME}",
"hbase.master.hostname": "hbasemaster.${SERVICE_NAME}.root.hwxdev.site",
"hbase.master.dns.nameserver": "cn008.l42scl.hortonworks.com",
"hbase.master.info.port": "16010",
"hbase.regionserver.hostname": "${COMPONENT_INSTANCE_NAME}.${SERVICE_NAME}.root.hwxdev.site"
}
}
]
},
"components": [
{
"name": "HBASEMASTER",
"number_of_containers": 1,
"artifact": {
"id": "hortonworks/ycloud-hbase:0.1",
"type": "DOCKER"
},
"launch_command": "sleep 60; hbase master start",
"resource": {
"cpus": 1,
"memory": "4096"
}
},
{
"name": "REGIONSERVER",
"unique_component_support" : "true",
"number_of_containers": 3,
"artifact": {
"id": "hortonworks/ycloud-hbase:0.1",
"type": "DOCKER"
},
"launch_command": "sleep 120; hbase regionserver start",
"resource": {
"cpus": 1,
"memory": "4096"
},
"configuration": {
"files": [
{
"type": "PROPERTIES",
"dest_file": "/etc/hbase/conf/hadoop-metrics2-hbase.properties",
"props" : {
"hbase.extendedperiod": "3600",
"*.timeline.plugin.urls": "file:///ambari-metrics-hadoop-sink.jar",
"hbase.class": "org.apache.hadoop.metrics2.sink.timeline.HadoopTimelineMetricsSink",
"hbase.period": "10",
"hbase.collector": "http://cn007.l42scl.hortonworks.com:6188",
"jvm.class": "org.apache.hadoop.metrics2.sink.timeline.HadoopTimelineMetricsSink",
"jvm.period": "10",
"jvm.collector": "http://cn007.l42scl.hortonworks.com:6188",
"rpc.class": "org.apache.hadoop.metrics2.sink.timeline.HadoopTimelineMetricsSink",
"rpc.period": "10",
"rpc.collector": "http://cn007.l42scl.hortonworks.com:6188",
"hbase.sink.timeline.class": "org.apache.hadoop.metrics2.sink.timeline.HadoopTimelineMetricsSink",
"hbase.sink.timeline.period": "10",
"hbase.sink.timeline.collector": "http://cn007.l42scl.hortonworks.com:6188",
"hbase.sink.timeline.serviceName": "${SERVICE_NAME}"
}
}
]
}
}
],
"quicklinks": {
"HBase Master Status UI": "http://HBASEMASTER.${SERVICE_NAME}.root.hwxdev.site:${hbase.master.info.port}/master-status"
}
}