<?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 Multi-tenant NiFi writing to kerberized HDFS and Kafka in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Multi-tenant-NiFi-writing-to-kerberized-HDFS-and-Kafka/m-p/122667#M85421</link>
    <description>&lt;P&gt;Apologies for asking two questions at once, but they're very closely related. I have a NiFi cluster configured with kerberos and SSL that I would like to use with multiple tenants with strict policies in order to keep different groups from reading and/or altering each others' data. Each of the tenants need to write to HDFS and/or Kafka (which are in turn both kerberized). &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;
HDFS&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;The PutHDFS processor allows me to specify a kerberos principal and keytab, but that implies the linux user running the NiFi process has to have read access to the keytab, which means any NiFi tenant could specify any keytab as long as they knew the path. Is there a way to keep those identities distinct and secure? &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Kafka&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;The PutKafka processors only allow referencing the Kerberos Service Name from a jaas file that NiFi needs to know about at startup. That suggests to me that all tenants in NiFi would have to connect to Kafka as the same principal. Is there a way to do this that allows each tenant to have their own identity when talking to Kafka? &lt;/P&gt;&lt;P&gt;Thanks in advance for any tips!&lt;/P&gt;</description>
    <pubDate>Fri, 24 Feb 2017 04:05:04 GMT</pubDate>
    <dc:creator>oliver</dc:creator>
    <dc:date>2017-02-24T04:05:04Z</dc:date>
    <item>
      <title>Multi-tenant NiFi writing to kerberized HDFS and Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Multi-tenant-NiFi-writing-to-kerberized-HDFS-and-Kafka/m-p/122667#M85421</link>
      <description>&lt;P&gt;Apologies for asking two questions at once, but they're very closely related. I have a NiFi cluster configured with kerberos and SSL that I would like to use with multiple tenants with strict policies in order to keep different groups from reading and/or altering each others' data. Each of the tenants need to write to HDFS and/or Kafka (which are in turn both kerberized). &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;
HDFS&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;The PutHDFS processor allows me to specify a kerberos principal and keytab, but that implies the linux user running the NiFi process has to have read access to the keytab, which means any NiFi tenant could specify any keytab as long as they knew the path. Is there a way to keep those identities distinct and secure? &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Kafka&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;The PutKafka processors only allow referencing the Kerberos Service Name from a jaas file that NiFi needs to know about at startup. That suggests to me that all tenants in NiFi would have to connect to Kafka as the same principal. Is there a way to do this that allows each tenant to have their own identity when talking to Kafka? &lt;/P&gt;&lt;P&gt;Thanks in advance for any tips!&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 04:05:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Multi-tenant-NiFi-writing-to-kerberized-HDFS-and-Kafka/m-p/122667#M85421</guid>
      <dc:creator>oliver</dc:creator>
      <dc:date>2017-02-24T04:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-tenant NiFi writing to kerberized HDFS and Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Multi-tenant-NiFi-writing-to-kerberized-HDFS-and-Kafka/m-p/122668#M85422</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/3051/oliver.html" nodeid="3051"&gt;@Oliver Meyn&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;You are absolutely right on all points. Regarding HDFS, at the moment there is no option to keep the identities secure, but there are discussions going on to find a way to secure the keytabs.&lt;/P&gt;&lt;P&gt;Regarding Kafka, this is due to a limitation on Kafka's side (https://issues.apache.org/jira/browse/KAFKA-4259). This has been recently fixed and I'm sure the Kafka processors in NiFi will be updated in the future to allow a similar option as in other processors.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 04:11:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Multi-tenant-NiFi-writing-to-kerberized-HDFS-and-Kafka/m-p/122668#M85422</guid>
      <dc:creator>pvillard</dc:creator>
      <dc:date>2017-02-24T04:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-tenant NiFi writing to kerberized HDFS and Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Multi-tenant-NiFi-writing-to-kerberized-HDFS-and-Kafka/m-p/122669#M85423</link>
      <description>&lt;P&gt;Hi all, hi &lt;A rel="user" href="https://community.cloudera.com/users/5078/pvillard.html" nodeid="5078"&gt;@Pierre Villard&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I have the same question as Olivier last year, do you know whether there is any improvement of the keytab accessiblity in NIFI?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Arne&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 16:22:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Multi-tenant-NiFi-writing-to-kerberized-HDFS-and-Kafka/m-p/122669#M85423</guid>
      <dc:creator>arne_kaiser</dc:creator>
      <dc:date>2018-03-13T16:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-tenant NiFi writing to kerberized HDFS and Kafka</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Multi-tenant-NiFi-writing-to-kerberized-HDFS-and-Kafka/m-p/122670#M85424</link>
      <description>&lt;P&gt;This seems to be the desired solution...&lt;/P&gt;&lt;P&gt;&lt;A href="https://bryanbende.com/development/2018/04/09/apache-nifi-secure-keytab-access" target="_blank"&gt;https://bryanbende.com/development/2018/04/09/apache-nifi-secure-keytab-access&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 13:51:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Multi-tenant-NiFi-writing-to-kerberized-HDFS-and-Kafka/m-p/122670#M85424</guid>
      <dc:creator>arne_kaiser</dc:creator>
      <dc:date>2018-04-10T13:51:26Z</dc:date>
    </item>
  </channel>
</rss>

