<?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 Re: Accumulo 1.6 package - kerberos error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Accumulo-1-6-package-kerberos-error/m-p/23384#M4490</link>
    <description>That didn't work so well... so much for posting from an iPad. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Will try again, otherwise I'll post from my laptop later.&lt;BR /&gt;&amp;lt;pre&amp;gt;&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Having a few problems with Kerberos and the Accumulo 1.6 package installation in CDH5.2. Wondering if anyone can advise.&lt;BR /&gt;&lt;BR /&gt;When I try and start any of the services, I get a Kerberos error - the one that usually indicates that you're using the wrong principal name for the keytab.&lt;BR /&gt;&lt;BR /&gt;To try and diagnose this I've tracked down the configuration files in /var/run. The keytab that's been distributed correctly initialises with kinit. I've noticed that the accumulo-site.xml has the principal name set as:&lt;BR /&gt;accumulo/_HOST.domain.local@DOMAIN.LOCAL&lt;BR /&gt;&lt;BR /&gt;whereas all other *-site.xml files have the principal set as:&lt;BR /&gt;service/_HOST@DOMAIN.LOCAL&lt;BR /&gt;&lt;BR /&gt;i.e. without the .doman.local following the _HOST placeholder. Is this likely the source of my error or do I need to look elsewhere?&lt;BR /&gt;&lt;BR /&gt;I'm not entirely clear how the placeholder values get replaced - it looks like the file is regenerated everytime the service starts up. It looks like it might be controlled by the script in the ACCUMULO16 CM extension at:&lt;BR /&gt;&lt;A target="_blank" href="https://github.com/cloudera/cm_csds/blob/master/ACCUMULO16/src/scripts/accumulo.sh"&gt;https://github.com/cloudera/cm_csds/blob/master/ACCUMULO16/src/scripts/accumulo.sh&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;/pre&amp;gt;</description>
    <pubDate>Wed, 07 Jan 2015 09:29:20 GMT</pubDate>
    <dc:creator>hadooptom</dc:creator>
    <dc:date>2015-01-07T09:29:20Z</dc:date>
    <item>
      <title>Accumulo 1.6 package - kerberos error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Accumulo-1-6-package-kerberos-error/m-p/23382#M4489</link>
      <description>Hi,&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Having a few problems with Kerberos and the Accumulo 1.6 package installation in CDH5.2. Wondering if anyone can advise.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;When I try and start any of the services, I get a Kerberos error - the one that usually indicates that you're using the wrong principal name for the keytab.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;To try and diagnose this I've tracked down the configuration files in /var/run. The keytab that's been distributed correctly initialises with kinit. I've noticed that the accumulo-site.xml has the principal name set as:&amp;lt;br&amp;gt;accumulo/_HOST.domain.local@DOMAIN.LOCAL&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;whereas all other *-site.xml files have the principal set as:&amp;lt;br&amp;gt;service/_HOST@DOMAIN.LOCAL&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;i.e. without the .doman.local following the _HOST placeholder. Is this likely the source of my error or do I need to look elsewhere?&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;I'm not entirely clear how the placeholder values get replaced - it looks like the file is regenerated everytime the service starts up. It looks like it might be controlled by the script in the ACCUMULO16 CM extension at:&amp;lt;br&amp;gt;&amp;lt;a target="_blank" href="&lt;A target="_blank" href="https://community.cloudera.com/"&gt;https://github.com/cloudera/cm_csds/blob/master/ACCUMULO16/src/scripts/accumulo.sh"&amp;gt;https://github.com/cloudera/cm_csds/blob/master/ACCUMULO16/src/scripts/accumulo.sh&amp;lt;/a&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Thanks&lt;/A&gt; in advance.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:17:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Accumulo-1-6-package-kerberos-error/m-p/23382#M4489</guid>
      <dc:creator>hadooptom</dc:creator>
      <dc:date>2022-09-16T09:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulo 1.6 package - kerberos error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Accumulo-1-6-package-kerberos-error/m-p/23384#M4490</link>
      <description>That didn't work so well... so much for posting from an iPad. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Will try again, otherwise I'll post from my laptop later.&lt;BR /&gt;&amp;lt;pre&amp;gt;&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Having a few problems with Kerberos and the Accumulo 1.6 package installation in CDH5.2. Wondering if anyone can advise.&lt;BR /&gt;&lt;BR /&gt;When I try and start any of the services, I get a Kerberos error - the one that usually indicates that you're using the wrong principal name for the keytab.&lt;BR /&gt;&lt;BR /&gt;To try and diagnose this I've tracked down the configuration files in /var/run. The keytab that's been distributed correctly initialises with kinit. I've noticed that the accumulo-site.xml has the principal name set as:&lt;BR /&gt;accumulo/_HOST.domain.local@DOMAIN.LOCAL&lt;BR /&gt;&lt;BR /&gt;whereas all other *-site.xml files have the principal set as:&lt;BR /&gt;service/_HOST@DOMAIN.LOCAL&lt;BR /&gt;&lt;BR /&gt;i.e. without the .doman.local following the _HOST placeholder. Is this likely the source of my error or do I need to look elsewhere?&lt;BR /&gt;&lt;BR /&gt;I'm not entirely clear how the placeholder values get replaced - it looks like the file is regenerated everytime the service starts up. It looks like it might be controlled by the script in the ACCUMULO16 CM extension at:&lt;BR /&gt;&lt;A target="_blank" href="https://github.com/cloudera/cm_csds/blob/master/ACCUMULO16/src/scripts/accumulo.sh"&gt;https://github.com/cloudera/cm_csds/blob/master/ACCUMULO16/src/scripts/accumulo.sh&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;/pre&amp;gt;</description>
      <pubDate>Wed, 07 Jan 2015 09:29:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Accumulo-1-6-package-kerberos-error/m-p/23384#M4490</guid>
      <dc:creator>hadooptom</dc:creator>
      <dc:date>2015-01-07T09:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulo 1.6 package - kerberos error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Accumulo-1-6-package-kerberos-error/m-p/23390#M4491</link>
      <description>&lt;P&gt;Checkout lines 84 and 85 in accumulo.sh script. It replaces the hostname in the accumulo principal by _HOST. The script finds out the name of the host by running "hostname". Does that command return the full hostname on your hosts?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2015 15:34:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Accumulo-1-6-package-kerberos-error/m-p/23390#M4491</guid>
      <dc:creator>vikrams</dc:creator>
      <dc:date>2015-01-07T15:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulo 1.6 package - kerberos error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Accumulo-1-6-package-kerberos-error/m-p/23433#M4492</link>
      <description>&lt;P&gt;Ah, this got me on the right track. &amp;nbsp;I've switched the 'hostname' command for 'hostname -f', redeployed the CSD jar and it works now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I'm a bit confused about how this works then. &amp;nbsp;CM deploys a fresh config, it supplies the principal name to this initialisation script (presumably it's got the right one, as CM is aware of the keytabs it's distributing). &amp;nbsp;That principal is regexed to remove the hostname and replace it with the template value of _HOST. &amp;nbsp;Accumulo starts and replaces _HOST with the principal again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess the problem here is that 'hostname' returns an unqualified hostname whereas CM knows the server running the service by is FQDN.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe I'm missing something, but it seems like all the switching of hostnames an template values is what's causing the problem here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for pointing me in the right direction.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2015 07:59:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Accumulo-1-6-package-kerberos-error/m-p/23433#M4492</guid>
      <dc:creator>hadooptom</dc:creator>
      <dc:date>2015-01-08T07:59:32Z</dc:date>
    </item>
  </channel>
</rss>

