Repository: metron Updated Branches: refs/heads/master 02bc58782 -> 1f9a79164
METRON-1109 Indexing topology fails to start after Kerberos is enabled (merrimanr) closes apache/metron#696 Project: http://git-wip-us.apache.org/repos/asf/metron/repo Commit: http://git-wip-us.apache.org/repos/asf/metron/commit/1f9a7916 Tree: http://git-wip-us.apache.org/repos/asf/metron/tree/1f9a7916 Diff: http://git-wip-us.apache.org/repos/asf/metron/diff/1f9a7916 Branch: refs/heads/master Commit: 1f9a7916407f7ee12f0168f2f244bda04b345b27 Parents: 02bc587 Author: merrimanr <merrim...@gmail.com> Authored: Tue Aug 15 09:01:33 2017 -0500 Committer: merrimanr <merrim...@apache.org> Committed: Tue Aug 15 09:01:33 2017 -0500 ---------------------------------------------------------------------- .../METRON/CURRENT/package/scripts/indexing_commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/metron/blob/1f9a7916/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/package/scripts/indexing_commands.py ---------------------------------------------------------------------- diff --git a/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/package/scripts/indexing_commands.py b/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/package/scripts/indexing_commands.py index 1d8e914..901ab83 100755 --- a/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/package/scripts/indexing_commands.py +++ b/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/package/scripts/indexing_commands.py @@ -85,7 +85,7 @@ class IndexingCommands: def create_hbase_tables(self): Logger.info("Creating HBase Tables") if self.__params.security_enabled: - kinit(self.__params.kinit_path_local, + metron_security.kinit(self.__params.kinit_path_local, self.__params.hbase_keytab_path, self.__params.hbase_principal_name, execute_user=self.__params.hbase_user) @@ -105,7 +105,7 @@ class IndexingCommands: def set_hbase_acls(self): Logger.info("Setting HBase ACLs") if self.__params.security_enabled: - kinit(self.__params.kinit_path_local, + metron_security.kinit(self.__params.kinit_path_local, self.__params.hbase_keytab_path, self.__params.hbase_principal_name, execute_user=self.__params.hbase_user)