<?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: HBase lookup via NiFi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/HBase-lookup-via-NiFi/m-p/305097#M222315</link>
    <description>&lt;P&gt;I recommend whatever works.&amp;nbsp; One of things i like the most about nifi is there are many ways to do similar things.&amp;nbsp; So if one way works for you, use it until you have some reason to try another way.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Oct 2020 15:15:21 GMT</pubDate>
    <dc:creator>stevenmatison</dc:creator>
    <dc:date>2020-10-29T15:15:21Z</dc:date>
    <item>
      <title>HBase lookup via NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-lookup-via-NiFi/m-p/304846#M222212</link>
      <description>&lt;P&gt;Hello all!&lt;/P&gt;&lt;P&gt;I have a NiFi flow that tails a log file with IP addresses, and reads them into a flow. What processors do I need to chain in order to match each of the&amp;nbsp;IP addresses from that flow against an HBase table, and when there is a match against that HBase table, to create a JSON which I will forward elsewhere?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've spent most of the last two days trying different processors to create the match against HBase but with little success. By searching around I figured that for matching I need to use &lt;EM&gt;&lt;STRONG&gt;PutDistributedMapCache&lt;/STRONG&gt;&lt;/EM&gt; followed by a&amp;nbsp;&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;FetchDistributedMapCache&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;&lt;/SPAN&gt;but I'm struggling with the implementation. Any help, or links to articles are highly appreciated!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Valentin&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 15:49:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-lookup-via-NiFi/m-p/304846#M222212</guid>
      <dc:creator>vatodorov19</dc:creator>
      <dc:date>2020-10-26T15:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: HBase lookup via NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-lookup-via-NiFi/m-p/304976#M222263</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/82585"&gt;@vatodorov19&lt;/a&gt;&amp;nbsp; &amp;nbsp;i always find it interesting when someone posts on a topic I was just working on.&amp;nbsp; In this case I was working on Map/Cache Use Case and struggled to get it working until I found a template:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/ds-steven-matison/NiFi-Templates/blob/main/DistributedCache_Demo.xml" target="_blank"&gt;https://github.com/ds-steven-matison/NiFi-Templates/blob/main/DistributedCache_Demo.xml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Install the template and get the controller services working,&amp;nbsp; you will need to add the DistributedMapCacheServer before you can get the client working.&amp;nbsp; With server and client controller services enabled, run the flow.&amp;nbsp; &amp;nbsp;Pay very close attention to the content of the flowfile sent to PutDistributedMapCache.&amp;nbsp; Next look at the Cache Entry Identifier in the properties of PutDistributedMapCache.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you have the demo working and are familiar with the basic implementaiton, modify this to fit your use case and operate within your flow.&amp;nbsp;&amp;nbsp;If you have more specific questions about your flow, or getting the demo working please let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this answer resolves your issue or allows you to move forward, please choose to ACCEPT this solution and close this topic. If you have further dialogue on this topic please comment here or feel free to private message me. If you have new questions related to your Use Case please create separate topic and feel free to tag me in your post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Steven&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 12:45:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-lookup-via-NiFi/m-p/304976#M222263</guid>
      <dc:creator>stevenmatison</dc:creator>
      <dc:date>2020-10-28T12:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: HBase lookup via NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-lookup-via-NiFi/m-p/305094#M222312</link>
      <description>&lt;P&gt;Thanks for the example&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/60150"&gt;@stevenmatison&lt;/a&gt;&lt;/P&gt;&lt;P&gt;I ended up using the LookupRecord with the HBase_1_1_2_RecordLookupService which seem to work.&lt;/P&gt;&lt;P&gt;Would you recommend one method over another for looking up records in HBase?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Valentin&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 14:50:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-lookup-via-NiFi/m-p/305094#M222312</guid>
      <dc:creator>vatodorov19</dc:creator>
      <dc:date>2020-10-29T14:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: HBase lookup via NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-lookup-via-NiFi/m-p/305097#M222315</link>
      <description>&lt;P&gt;I recommend whatever works.&amp;nbsp; One of things i like the most about nifi is there are many ways to do similar things.&amp;nbsp; So if one way works for you, use it until you have some reason to try another way.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 15:15:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-lookup-via-NiFi/m-p/305097#M222315</guid>
      <dc:creator>stevenmatison</dc:creator>
      <dc:date>2020-10-29T15:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: HBase lookup via NiFi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HBase-lookup-via-NiFi/m-p/305143#M222325</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/60150"&gt;@stevenmatison&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you by chance know the answer to this question&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/Support-Questions/Extract-string-nested-in-JSON-value/m-p/305099" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/Extract-string-nested-in-JSON-value/m-p/305099&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's probably something very easy, but nothing that I tried works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Valentin&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 20:51:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HBase-lookup-via-NiFi/m-p/305143#M222325</guid>
      <dc:creator>vatodorov19</dc:creator>
      <dc:date>2020-10-29T20:51:58Z</dc:date>
    </item>
  </channel>
</rss>

