Repository: incubator-ranger Updated Branches: refs/heads/master 8f392e177 -> 012063877
RANGER-309: Hbase repository config missing Common name for certificate Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/01206387 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/01206387 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/01206387 Branch: refs/heads/master Commit: 01206387761576a8d2d53df1e2bb194d987a0c10 Parents: 8f392e1 Author: Velmurugan Periasamy <[email protected]> Authored: Wed Mar 18 23:41:52 2015 -0400 Committer: Velmurugan Periasamy <[email protected]> Committed: Wed Mar 18 23:41:52 2015 -0400 ---------------------------------------------------------------------- .../resources/service-defs/ranger-servicedef-hbase.json | 11 +++++++++++ migration-util/bin/import_ranger_to_ambari.py | 1 + 2 files changed, 12 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/01206387/agents-common/src/main/resources/service-defs/ranger-servicedef-hbase.json ---------------------------------------------------------------------- diff --git a/agents-common/src/main/resources/service-defs/ranger-servicedef-hbase.json b/agents-common/src/main/resources/service-defs/ranger-servicedef-hbase.json index c35fffb..0376189 100644 --- a/agents-common/src/main/resources/service-defs/ranger-servicedef-hbase.json +++ b/agents-common/src/main/resources/service-defs/ranger-servicedef-hbase.json @@ -178,6 +178,17 @@ "validationRegEx":"", "validationMessage": "", "uiHint":"" + }, + + { + "name": "certificate.cn", + "type": "string", + "subType": "", + "mandatory": false, + "validationRegEx":"", + "validationMessage": "", + "uiHint":"", + "label": "Common Name for Certificate" } ], http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/01206387/migration-util/bin/import_ranger_to_ambari.py ---------------------------------------------------------------------- diff --git a/migration-util/bin/import_ranger_to_ambari.py b/migration-util/bin/import_ranger_to_ambari.py index 22ba929..63e9816 100644 --- a/migration-util/bin/import_ranger_to_ambari.py +++ b/migration-util/bin/import_ranger_to_ambari.py @@ -669,6 +669,7 @@ def port_ranger_hbase_plugin_to_ambari(): advanced_ranger_hbase_plugin_properties = dict() advanced_ranger_hbase_plugin_properties['policy_user'] = 'ambari-qa' + advanced_ranger_hbase_plugin_properties['common.name.for.certificate'] = '-' advanced_ranger_hbase_plugin_properties['ranger-hbase-plugin-enabled'] = 'Yes' advanced_ranger_hbase_plugin_properties['REPOSITORY_CONFIG_USERNAME'] = 'hbase' advanced_ranger_hbase_plugin_properties['REPOSITORY_CONFIG_PASSWORD'] = 'hbase'
