<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Ambari is giving alert in Hive, although hiveserver is up and running fine. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-is-giving-alert-in-Hive-although-hiveserver-is-up-and/m-p/138116#M43894</link>
    <description>&lt;P&gt;After manually regenerating kerberos keytabs ambari is giving the below error in hive:

&lt;/P&gt;&lt;P&gt;
Connection failed on host &amp;lt;Hiveserver2 hostname&amp;gt;: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
)

&lt;/P&gt;</description>
    <pubDate>Wed, 19 Oct 2016 15:01:48 GMT</pubDate>
    <dc:creator>Yukti</dc:creator>
    <dc:date>2016-10-19T15:01:48Z</dc:date>
    <item>
      <title>Ambari is giving alert in Hive, although hiveserver is up and running fine.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-is-giving-alert-in-Hive-although-hiveserver-is-up-and/m-p/138116#M43894</link>
      <description>&lt;P&gt;After manually regenerating kerberos keytabs ambari is giving the below error in hive:

&lt;/P&gt;&lt;P&gt;
Connection failed on host &amp;lt;Hiveserver2 hostname&amp;gt;: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
)

&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2016 15:01:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-is-giving-alert-in-Hive-although-hiveserver-is-up-and/m-p/138116#M43894</guid>
      <dc:creator>Yukti</dc:creator>
      <dc:date>2016-10-19T15:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari is giving alert in Hive, although hiveserver is up and running fine.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-is-giving-alert-in-Hive-although-hiveserver-is-up-and/m-p/138117#M43895</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/12568/yukagr19.html" nodeid="12568"&gt;@Yukti Agrawal&lt;/A&gt;&lt;P&gt;Please try regenerating the keytab using below command and configuring the same.&lt;/P&gt;&lt;P&gt;
&lt;/P&gt;&lt;DIV&gt;&lt;A href="https://community.hortonworks.com/users/11108/kabalax.html"&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;PRE&gt;kadmin.local -q "xst -k  ~/smokeuser.headless.keytab ambari-qa@EXAMPLE.COM"
&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Oct 2016 15:11:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-is-giving-alert-in-Hive-although-hiveserver-is-up-and/m-p/138117#M43895</guid>
      <dc:creator>sgowda</dc:creator>
      <dc:date>2016-10-19T15:11:45Z</dc:date>
    </item>
  </channel>
</rss>

