Created 10-19-2016 08:01 AM
After manually regenerating kerberos keytabs ambari is giving the below error in hive:
Connection failed on host <Hiveserver2 hostname>:10000 (Traceback (most recent call last): File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/alerts/alert_hive_thrift_port.py", line 200, in execute check_command_timeout=int(check_command_timeout)) File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/hive_check.py", line 64, in check_thrift_port_sasl Execute(kinitcmd, user=smokeuser) File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__ self.env.run() File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run self.run_action(resource, action) File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action provider_action() File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 238, in action_run tries=self.resource.tries, try_sleep=self.resource.try_sleep) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner result = function(command, **kwargs) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call tries=tries, try_sleep=try_sleep) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper result = _call(command, **kwargs_copy) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call raise Fail(err_msg) Fail: Execution of '/usr/bin/kinit -kt /dsap/etc/security/keytabs/smokeuser.headless.keytab ambari-qa@EXAMPLE.COM; ' returned 1. kinit: Password incorrect while getting initial credentials )
Created 10-19-2016 08:11 AM
Please try regenerating the keytab using below command and configuring the same.
kadmin.local -q "xst -k ~/smokeuser.headless.keytab ambari-qa@EXAMPLE.COM"
Created 10-19-2016 08:11 AM
Please try regenerating the keytab using below command and configuring the same.
kadmin.local -q "xst -k ~/smokeuser.headless.keytab ambari-qa@EXAMPLE.COM"