Fix HBase config name when using HA with HDP 2.0.6

The plugin is specifying hbase_site instead of hbase-site. This
causes the HA-specific configuration to not be picked up, which
may cause cluster creation to fail if HBase cannot start.

backport: kilo

Change-Id: I9cfe025041af6ec0af83534b8a2ae7cbb4d36c50
Closes-Bug: #1484743
This commit is contained in:
Chris Buccella 2015-08-13 20:35:42 -04:00
parent 81af38fabe
commit 8e3c3e76c6

View File

@ -863,7 +863,7 @@ class AmbariClient(object):
hbase_site = self._hdfs_ha_get_config(hac, 'hbase-site',
hbase_site_tag)
hbase_site_ha = self._hdfs_ha_update_hbase_site(hac, hbase_site)
self._hdfs_ha_put_config(hac, 'hbase_site', hac['config_ver'],
self._hdfs_ha_put_config(hac, 'hbase-site', hac['config_ver'],
hbase_site_ha)
# force the deployment of HDFS HA configs on namenodes by re-installing