<?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: Router error in Druid with Kerberos in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Router-error-in-Druid-with-Kerberos/m-p/221512#M69732</link>
    <description>&lt;P style="margin-left: 40px;"&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt;, it did not work. I have added all the missing configurations and did the kinit to the druid.headless.keytab on all the master nodes and still I am seeing the same error when I tried to run this command:&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;curl --negotiate -u:&amp;lt;USER&amp;gt; -b ~/cookies.txt -c ~/cookies.txt  -X 'POST' -H 'Content-Type:application/json' -d @wikiticker-index.json &amp;lt;OVERLORD_HOST&amp;gt;:8090/druid/indexer/v1/task&lt;/P&gt;</description>
    <pubDate>Tue, 17 Oct 2017 19:10:30 GMT</pubDate>
    <dc:creator>kumarbrahma</dc:creator>
    <dc:date>2017-10-17T19:10:30Z</dc:date>
    <item>
      <title>Router error in Druid with Kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Router-error-in-Druid-with-Kerberos/m-p/221508#M69728</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have installed Druid (0.9.2) using Ambari (2.5.1.0) on a kerberized cluster. This error keeps popping up in the router.log file:&lt;/P&gt;&lt;P&gt;ERROR [CoordinatorRuleManager-Exec--0] io.druid.server.router.CoordinatorRuleManager - Exception while polling for rules
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.security.CompositeGroupsMapping not found&lt;/P&gt;&lt;P&gt;And I also saw this error in the overlord.log:&lt;/P&gt;&lt;P&gt; WARN org.apache.hadoop.security.authentication.server.AuthenticationFilter - AuthenticationToken ignored: org.apache.hadoop.security.authentication.util.SignerException: Invalid signature&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Once the Druid is installed, does it require any other steps to get it work for a kerberized cluster?&lt;/P&gt;&lt;P&gt;TIA,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 15:47:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Router-error-in-Druid-with-Kerberos/m-p/221508#M69728</guid>
      <dc:creator>kumarbrahma</dc:creator>
      <dc:date>2022-09-16T15:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Router error in Druid with Kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Router-error-in-Druid-with-Kerberos/m-p/221509#M69729</link>
      <description>&lt;P&gt;&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/44351/kumarbrahma.html"&gt;Kumar Peddibhotla&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;You need to go through this druid setup in a kerberized environment if you haven't yet done so &lt;A target="_blank" href="http://druid.io/docs/latest/development/extensions-core/druid-kerberos.html"&gt; Druid-Kerberos&lt;/A&gt;.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;After kerberisation check whether druid keytab was generated in &lt;STRONG&gt;/etc/security/keytabs/druid.keytab&lt;/STRONG&gt;. If so then you will need to &lt;STRONG&gt;kinit  &lt;/STRONG&gt;the &lt;/EM&gt;&lt;I&gt;&lt;STRONG&gt;/etc/security/keytabs/druid.keytab&lt;/STRONG&gt;. with the correct&lt;STRONG&gt; principal&lt;/STRONG&gt; which you can obtain by running&lt;/I&gt;&lt;/P&gt;&lt;PRE&gt;# klist -kt /etc/security/keytabs/druid.keytab&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;The output could be something like this &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;$ klist -kt /etc/security/keytabs/druid.keytab 
Keytab name: FILE:/etc/security/keytabs/druid.keytab 
KVNO        Timestamp             Principal 
---- ----------------- -------------------------------
1          02/02/17 23:00:12      druid/FQDN@REALM 
1          02/02/17 23:00:12      druid/FQDN@REALM&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;To get a valid Kerberos ticket you will need to &lt;STRONG&gt;kinit kt $keytab  $ principal&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;$ kinit -kt /etc/security/keytabs/druid.keytab druid/FQDN@REALM&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Now the errors should disappear, please let me know if that helped&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 03:00:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Router-error-in-Druid-with-Kerberos/m-p/221509#M69729</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-10-17T03:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Router error in Druid with Kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Router-error-in-Druid-with-Kerberos/m-p/221510#M69730</link>
      <description>&lt;P style="margin-left: 40px;"&gt;Thank you, &lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt;, for the reply. Yes, I have followed all of the steps, from the link you have provided, before, except for this: druid.hadoop.security.spnego.cookieSignatureSecret. I will try adding this and see if it will resolve the issue.&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;And the Druid principal looks slightly different in our cluster, druid@REALM.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 03:28:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Router-error-in-Druid-with-Kerberos/m-p/221510#M69730</guid>
      <dc:creator>kumarbrahma</dc:creator>
      <dc:date>2017-10-17T03:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Router error in Druid with Kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Router-error-in-Druid-with-Kerberos/m-p/221511#M69731</link>
      <description>&lt;P&gt;&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/44351/kumarbrahma.html"&gt;Kumar Peddibhotla&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Good I will wait for your feedback,  the output of my REALM is just an example placeholder and for sure it won't match yours  but the methodology is the same &lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 13:45:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Router-error-in-Druid-with-Kerberos/m-p/221511#M69731</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-10-17T13:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Router error in Druid with Kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Router-error-in-Druid-with-Kerberos/m-p/221512#M69732</link>
      <description>&lt;P style="margin-left: 40px;"&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt;, it did not work. I have added all the missing configurations and did the kinit to the druid.headless.keytab on all the master nodes and still I am seeing the same error when I tried to run this command:&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;curl --negotiate -u:&amp;lt;USER&amp;gt; -b ~/cookies.txt -c ~/cookies.txt  -X 'POST' -H 'Content-Type:application/json' -d @wikiticker-index.json &amp;lt;OVERLORD_HOST&amp;gt;:8090/druid/indexer/v1/task&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 19:10:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Router-error-in-Druid-with-Kerberos/m-p/221512#M69732</guid>
      <dc:creator>kumarbrahma</dc:creator>
      <dc:date>2017-10-17T19:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Router error in Druid with Kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Router-error-in-Druid-with-Kerberos/m-p/221513#M69733</link>
      <description>&lt;P&gt;&lt;EM&gt; @&lt;A href="https://community.hortonworks.com/users/44351/kumarbrahma.html"&gt;Kumar Peddibhotla&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please can you paste here how you proceeded step by step so I can validate, please remember to obscure ONLY import inputs like IP, REALM ,HOSTNAME etc &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;It's important to see and hence be able to debug. Did you add Druid as a service with Ambari, how can I reproduce your errot?&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 21:18:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Router-error-in-Druid-with-Kerberos/m-p/221513#M69733</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-10-17T21:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Router error in Druid with Kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Router-error-in-Druid-with-Kerberos/m-p/221514#M69734</link>
      <description>&lt;P&gt;Yes, I have added the Druid service through Ambari. Initially, the Druid keytabs were missing and then I had to regenerate them and then the services came up with no other issues. But I saw the error message related to the missing CompositeGrousMapping class in the router.log file. I have even tried to copy the hadoop-common.jar to druid/lib, the error went way, but the services are not staying up.I have also followed the link you provided to make sure all the config settings are in there, it was missing druid.hadoop.security.spnego.cookieSignatureSecret, which I have added and restarted Druid. &lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;Thanks a lot for all the help, &lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt;&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 21:34:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Router-error-in-Druid-with-Kerberos/m-p/221514#M69734</guid>
      <dc:creator>kumarbrahma</dc:creator>
      <dc:date>2017-10-17T21:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Router error in Druid with Kerberos</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Router-error-in-Druid-with-Kerberos/m-p/221515#M69735</link>
      <description>&lt;P&gt;The issue was resolved by disabling Kerberos authentication for Druid and also by fixing Broker host and Broker port values in the Superset console for the Druid cluster. Thank you, &lt;A rel="user" href="https://community.cloudera.com/users/10777/nbangarwa.html" nodeid="10777"&gt;@Nishant Bangarwa&lt;/A&gt;, for all the help.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 20:04:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Router-error-in-Druid-with-Kerberos/m-p/221515#M69735</guid>
      <dc:creator>kumarbrahma</dc:creator>
      <dc:date>2017-10-24T20:04:57Z</dc:date>
    </item>
  </channel>
</rss>

