<?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 NiFi - Questions concerning DistributedMapCache in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Questions-concerning-DistributedMapCache/m-p/243750#M205548</link>
    <description>&lt;P&gt;Hi, currently I'm dealing with the &lt;STRONG&gt;DistributedMapCache&lt;/STRONG&gt;-thing... &lt;/P&gt;&lt;P&gt;Found this article which gave me an idea of all this, great! &lt;A href="https://community.hortonworks.com/articles/71837/working-with-a-nifi-distributedmapcache.html" target="_blank"&gt;https://community.hortonworks.com/articles/71837/working-with-a-nifi-distributedmapcache.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Now I try to&lt;STRONG&gt; involve DistributedMapCache (DMC) in my NiFi-Flow&lt;/STRONG&gt; without executing the script.
Found old questions here but maybe in &lt;STRONG&gt;1.7 or 1.8 &lt;/STRONG&gt;there are new possibilities?
Referring to above article, how can I in NiFi... &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt; remove a concrete key (like command "remove")? &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt; receive a list of existing keys (like command "keys"), maybe inclusive there values? &lt;/P&gt;&lt;P&gt;Further questions: &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3.&lt;/STRONG&gt; How can I clear &lt;STRONG&gt;all &lt;/STRONG&gt;content of the DMC &lt;STRONG&gt;at once&lt;/STRONG&gt;? Tested to disable the Controller Service for DMC-Server, but after enabeling data still existing. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4.&lt;/STRONG&gt; In practice if one wants to &lt;STRONG&gt;use different tables&lt;/STRONG&gt; in DMC would they all be in &lt;STRONG&gt;one &lt;/STRONG&gt;DMC? Or would I configure DMC-Server and DMC-ClientService for &lt;STRONG&gt;each &lt;/STRONG&gt;table? &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;5.&lt;/STRONG&gt; At the moment I work at local installation. Is all this DMC-thing &lt;STRONG&gt;working without difficulty on a nifi-cluster&lt;/STRONG&gt; (which will be coming soon I hope)? &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;6.&lt;/STRONG&gt; Technical at the configuration of the DMC-ClientService the hostname and port of the DMC-Server has to be specified fix  - &lt;STRONG&gt;which one to choose in a cluster&lt;/STRONG&gt;? &lt;/P&gt;&lt;P&gt;If someone has further information concerning this subject I would be glad to get them.
Thanks all!&lt;/P&gt;</description>
    <pubDate>Thu, 07 Feb 2019 23:09:53 GMT</pubDate>
    <dc:creator>justenji</dc:creator>
    <dc:date>2019-02-07T23:09:53Z</dc:date>
    <item>
      <title>NiFi - Questions concerning DistributedMapCache</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Questions-concerning-DistributedMapCache/m-p/243750#M205548</link>
      <description>&lt;P&gt;Hi, currently I'm dealing with the &lt;STRONG&gt;DistributedMapCache&lt;/STRONG&gt;-thing... &lt;/P&gt;&lt;P&gt;Found this article which gave me an idea of all this, great! &lt;A href="https://community.hortonworks.com/articles/71837/working-with-a-nifi-distributedmapcache.html" target="_blank"&gt;https://community.hortonworks.com/articles/71837/working-with-a-nifi-distributedmapcache.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Now I try to&lt;STRONG&gt; involve DistributedMapCache (DMC) in my NiFi-Flow&lt;/STRONG&gt; without executing the script.
Found old questions here but maybe in &lt;STRONG&gt;1.7 or 1.8 &lt;/STRONG&gt;there are new possibilities?
Referring to above article, how can I in NiFi... &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt; remove a concrete key (like command "remove")? &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt; receive a list of existing keys (like command "keys"), maybe inclusive there values? &lt;/P&gt;&lt;P&gt;Further questions: &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3.&lt;/STRONG&gt; How can I clear &lt;STRONG&gt;all &lt;/STRONG&gt;content of the DMC &lt;STRONG&gt;at once&lt;/STRONG&gt;? Tested to disable the Controller Service for DMC-Server, but after enabeling data still existing. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4.&lt;/STRONG&gt; In practice if one wants to &lt;STRONG&gt;use different tables&lt;/STRONG&gt; in DMC would they all be in &lt;STRONG&gt;one &lt;/STRONG&gt;DMC? Or would I configure DMC-Server and DMC-ClientService for &lt;STRONG&gt;each &lt;/STRONG&gt;table? &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;5.&lt;/STRONG&gt; At the moment I work at local installation. Is all this DMC-thing &lt;STRONG&gt;working without difficulty on a nifi-cluster&lt;/STRONG&gt; (which will be coming soon I hope)? &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;6.&lt;/STRONG&gt; Technical at the configuration of the DMC-ClientService the hostname and port of the DMC-Server has to be specified fix  - &lt;STRONG&gt;which one to choose in a cluster&lt;/STRONG&gt;? &lt;/P&gt;&lt;P&gt;If someone has further information concerning this subject I would be glad to get them.
Thanks all!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 23:09:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Questions-concerning-DistributedMapCache/m-p/243750#M205548</guid>
      <dc:creator>justenji</dc:creator>
      <dc:date>2019-02-07T23:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi - Questions concerning DistributedMapCache</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Questions-concerning-DistributedMapCache/m-p/243751#M205549</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/641/mburgess.html" nodeid="641"&gt;@Matt Burgess&lt;/A&gt; &lt;BR /&gt;May I ask You whether You have some answers for me (expecially concerning questions 1 and 2)? Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 22:43:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Questions-concerning-DistributedMapCache/m-p/243751#M205549</guid>
      <dc:creator>justenji</dc:creator>
      <dc:date>2019-02-11T22:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi - Questions concerning DistributedMapCache</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Questions-concerning-DistributedMapCache/m-p/243752#M205550</link>
      <description>&lt;P&gt;1-3: The processors that use a DMC client use the DMC in a very specific manner, so they CRUD cache entries as it applies to their operations. There isn't currently a generic processor that lets you call arbitrary cache API methods, that's what the scripting components are for.&lt;/P&gt;&lt;P&gt;4: We don't have the concept of tables in DMC, only key/value pairs. A table can probably be implemented by namespacing the key, not sure if the processors you're using support custom keys though.&lt;/P&gt;&lt;P&gt;5: The DMC operation in a cluster is very similar to how it works on a local installation, except there is a DMC server created on each node in the cluster. However a DMC client still has to choose a single host:port to connect to, and the individual DMC servers are not coordinated at the cluster, meaning if you update one, the others don't get that update; they are fully separate at the moment. &lt;/P&gt;&lt;P&gt;6: AFAIK there is no best practice as far as choosing a DMC server to connect to, other than choosing one on a node that tends to be available most often. You basically get individual, isolated instances to choose from. We have other DMC server implementations that possibly support High Availability and/or Data Durability, such as HBase- or Redis- backed solutions. However neither of these are included with an Apache NiFi distribution, you'd have to bring your own.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 23:20:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Questions-concerning-DistributedMapCache/m-p/243752#M205550</guid>
      <dc:creator>mburgess</dc:creator>
      <dc:date>2019-02-11T23:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi - Questions concerning DistributedMapCache</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Questions-concerning-DistributedMapCache/m-p/243753#M205551</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/641/mburgess.html" nodeid="641"&gt;@Matt Burgess&lt;/A&gt; thanks for Your quick and detailed answer! &lt;/P&gt;&lt;P&gt;1-3: I see, the script was not just to illustrate the DMC - it is NECESSARY to work with it in NiFi. OK I will use it. &lt;/P&gt;&lt;P&gt;4: So I have to prepend some information at "Cache Entry Identifier" on PutDMC to identify the entries coming from different "tables". OK this will work. &lt;/P&gt;&lt;P&gt;5-6: This points I have to clarify with the "techies"... &lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 00:05:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Questions-concerning-DistributedMapCache/m-p/243753#M205551</guid>
      <dc:creator>justenji</dc:creator>
      <dc:date>2019-02-12T00:05:56Z</dc:date>
    </item>
  </channel>
</rss>

