Support Questions
Find answers, ask questions, and share your expertise

Metron service not able to start after enabling kerberose

Metron service not able to start after enabling kerberose

Contributor
  1. I have setup a HCP 1.6.0 cluster using ambari 2.6.2.2. After enabling kerberose in my cluster via Ambari UI referring this link. All my services starts fine except metron. I am getting following errors in metron-indexing service.
2018-08-13 14:15:53,017 - Setting Indexing ACL configured to True 2018-08-13 14:15:53,017 - File['/usr/hcp/1.6.0.0-7/metron/config/zookeeper/../metron_indexing_acl_configured'] {'owner': 'metron', 'content': 'This file created on: 2018-08-13 14:15:53', 'mode': 0755} 2018-08-13 14:15:53,018 - Writing File['/usr/hcp/1.6.0.0-7/metron/config/zookeeper/../metron_indexing_acl_configured'] because it doesn't exist 2018-08-13 14:15:53,018 - Changing owner for /usr/hcp/1.6.0.0-7/metron/config/zookeeper/../metron_indexing_acl_configured from 0 to metron 2018-08-13 14:15:53,018 - Changing permission for /usr/hcp/1.6.0.0-7/metron/config/zookeeper/../metron_indexing_acl_configured from 644 to 755 2018-08-13 14:15:53,018 - Setting HBase ACLs for indexing 2018-08-13 14:15:53,018 - kinit command: /usr/bin/kinit -kt /etc/security/keytabs/hbase.headless.keytab hbase-sdssystembed@MYCOMPANY.COM; as user: hbase 2018-08-13 14:15:53,018 - Execute['/usr/bin/kinit -kt /etc/security/keytabs/hbase.headless.keytab hbase-sdssystembed@MYCOMPANY.COM; '] {'user': 'hbase'} 2018-08-13 14:15:53,060 - Execute['echo "grant 'metron', 'RW', 'metron_update'" | hbase shell -n'] {'logoutput': False, 'path': ['/usr/sbin:/sbin:/usr/local/bin:/bin:/usr/bin'], 'tries': 3, 'user': 'hbase', 'try_sleep': 5} 2018-08-13 14:15:58,726 - Retrying after 5 seconds. Reason: Execution of 'echo "grant 'metron', 'RW', 'metron_update'" | hbase shell -n' returned 1. ERROR ArgumentError: Can't find a table: metron_update 2018-08-13 14:16:09,206 - Retrying after 5 seconds. Reason: Execution of 'echo "grant 'metron', 'RW', 'metron_update'" | hbase shell -n' returned 1. ERROR ArgumentError: Can't find a table: metron_update 2018-08-13 14:16:19,705 - Skipping stack-select on METRON because it does not exist in the stack-select package structure.

Am I missing any step ? I could see the keytab file for metron service in my metron node. I tried manually the steps below without any luck which I found in metron documentation.

Step I tried

su metron

kinit -kt /etc/security/keytabs/metron.headless.keytab metron@EXAMPLE.COM
2 REPLIES 2

Re: Metron service not able to start after enabling kerberose

Hi @Irshad Muhammed ,

 ERROR ArgumentError:Can't find a table: metron_update 

This error looks like hbase shell cant find your table.

have you installed the Hbase-client in the node where metron is installed?

Doesn't feel this is related to Kerberos.

you can login to hbase shell and see if the table available.

Re: Metron service not able to start after enabling kerberose

Contributor

@Akhil S Naik : Thanks for the reply. Yes it was indeed table not found. But could not find how the table came missing as it was running perfect before enabling kerberose. Just creating the table in hbase solved the issue.
I have to create metron_update,profiler,user_settings tables in hbase.