Bhanu Teja created AMBARI-24235: ----------------------------------- Summary: After Dekerberizing a cluster that is installed via blueprint hive server fails to start Key: AMBARI-24235 URL: https://issues.apache.org/jira/browse/AMBARI-24235 Project: Ambari Issue Type: Bug Components: ambari-server Affects Versions: 2.6.1 Reporter: Bhanu Teja Attachments: image-2018-07-02-10-17-58-354.png, image-2018-07-02-10-22-23-348.png
*steps to reproduce* 1) Installed kerberized hdp 2.6.4 via blueprint . 2) Disabled kerberoes from the Ambari 3) After disabling Kerberoes Hive server fails to start {code:java} Connection failed on host lapse2.fyre.ibm.com: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 212, in execute ldap_password=ldap_password) File "/usr/lib/ambari-agent/lib/resource_management/libraries/functions/hive_check.py", line 81, in check_thrift_port_sasl timeout_kill_strategy=TerminateStrategy.KILL_PROCESS_TREE, File "/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 166, in __init__ self.env.run() File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 160, in run self.run_action(resource, action) File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 124, in run_action provider_action() File "/usr/lib/ambari-agent/lib/resource_management/core/providers/system.py", line 262, in action_run tries=self.resource.tries, try_sleep=self.resource.try_sleep) File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 72, in inner result = function(command, **kwargs) File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 102, in checked_call tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy) File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 150, in _call_wrapper result = _call(command, **kwargs_copy) File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 303, in _call raise ExecutionFailed(err_msg, code, out, err) ExecutionFailed: Execution of '! beeline -u 'jdbc:hive2://lapse2.fyre.ibm.com:10000/;transportMode=binary' -e '' 2>&1| awk '{print}'|grep -i -e 'Connection refused' -e 'Invalid URL'' returned 1. Error: Could not open client transport with JDBC Uri: jdbc:hive2://lapse2.fyre.ibm.com:10000/;transportMode=binary: java.net.ConnectException: Connection refused (Connection refused) (state=08S01,code=0) Error: Could not open client transport with JDBC Uri: jdbc:hive2://lapse2.fyre.ibm.com:10000/;transportMode=binary: java.net.ConnectException: Connection refused (Connection refused) (state=08S01,code=0) ) {code} !image-2018-07-02-10-17-58-354.png|width=466,height=131! *Steps to Manually Fix:* 1) just add empty hive.server2.authentication.ldap.url= 2) After I restarted all the required components from ambari, I see the Hive server in healthy state. !image-2018-07-02-10-22-23-348.png|width=454,height=115! -- This message was sent by Atlassian JIRA (v7.6.3#76005)