<?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 HDP 2.4 - Kerberos install issue in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-Kerberos-install-issue/m-p/123661#M47229</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm trying to install Kerberos on HDP 2.4, and running into issues  while installing Kerberos Client on Ambari UI&lt;/P&gt;&lt;P&gt;here is the error snippet :&lt;/P&gt;&lt;PRE&gt;Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 37, in &amp;lt;module&amp;gt;
    AfterInstallHook().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 31, in hook
    setup_hdp_symlinks()
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py", line 44, in setup_hdp_symlinks
    hdp_select.select_all(version)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/hdp_select.py", line 122, in select_all
    Execute(command, only_if = only_if_command)
  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 158, in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 121, 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)
resource_management.core.exceptions.Fail: Execution of 'ambari-sudo.sh /usr/bin/hdp-select set all `ambari-python-wrap /usr/bin/hdp-select versions | grep ^2.4.0.0-169 | tail -1`' returned 1. Traceback (most recent call last):
  File "/usr/bin/hdp-select", line 379, in &amp;lt;module&amp;gt;
    printVersions()
  File "/usr/bin/hdp-select", line 236, in printVersions
    result[tuple(map(int, versionRegex.split(f)))] = f
ValueError: invalid literal for int() with base 10: 'kafka'
ERROR: set command takes 2 parameters, instead of 1&lt;/PRE&gt;&lt;P&gt;I've installed MIT KDC, and created the Principal,&lt;/P&gt;&lt;P&gt;i get the error when enabling Kerberos using Ambari.&lt;/P&gt;&lt;P&gt;Pls let me know if you have faced this issue.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 10:49:42 GMT</pubDate>
    <dc:creator>karan_alang1</dc:creator>
    <dc:date>2022-09-16T10:49:42Z</dc:date>
    <item>
      <title>HDP 2.4 - Kerberos install issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-Kerberos-install-issue/m-p/123661#M47229</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm trying to install Kerberos on HDP 2.4, and running into issues  while installing Kerberos Client on Ambari UI&lt;/P&gt;&lt;P&gt;here is the error snippet :&lt;/P&gt;&lt;PRE&gt;Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 37, in &amp;lt;module&amp;gt;
    AfterInstallHook().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/hook.py", line 31, in hook
    setup_hdp_symlinks()
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py", line 44, in setup_hdp_symlinks
    hdp_select.select_all(version)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/hdp_select.py", line 122, in select_all
    Execute(command, only_if = only_if_command)
  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 158, in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 121, 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)
resource_management.core.exceptions.Fail: Execution of 'ambari-sudo.sh /usr/bin/hdp-select set all `ambari-python-wrap /usr/bin/hdp-select versions | grep ^2.4.0.0-169 | tail -1`' returned 1. Traceback (most recent call last):
  File "/usr/bin/hdp-select", line 379, in &amp;lt;module&amp;gt;
    printVersions()
  File "/usr/bin/hdp-select", line 236, in printVersions
    result[tuple(map(int, versionRegex.split(f)))] = f
ValueError: invalid literal for int() with base 10: 'kafka'
ERROR: set command takes 2 parameters, instead of 1&lt;/PRE&gt;&lt;P&gt;I've installed MIT KDC, and created the Principal,&lt;/P&gt;&lt;P&gt;i get the error when enabling Kerberos using Ambari.&lt;/P&gt;&lt;P&gt;Pls let me know if you have faced this issue.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:49:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-Kerberos-install-issue/m-p/123661#M47229</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2022-09-16T10:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.4 - Kerberos install issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-Kerberos-install-issue/m-p/123662#M47230</link>
      <description>&lt;P&gt;found fix in this link -&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/5811/install-of-hdp-fails-with-valueerror-invalid-liter.html" target="_blank"&gt;https://community.hortonworks.com/questions/5811/install-of-hdp-fails-with-valueerror-invalid-liter.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Nov 2016 09:54:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-Kerberos-install-issue/m-p/123662#M47230</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2016-11-27T09:54:15Z</dc:date>
    </item>
  </channel>
</rss>

