<?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: Nifi to insert the flow one after another in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-to-insert-the-flow-one-after-another/m-p/190875#M83618</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929"&gt;@Shu&lt;/A&gt; Is it possible to add two RowIdentifier/RowIdentifier Field name in PutHbaseJson , Like ServerName,ServerNo or ${ServerName},${ServerNo} .&lt;/P&gt;</description>
    <pubDate>Wed, 19 Sep 2018 02:40:32 GMT</pubDate>
    <dc:creator>raaj_muthu</dc:creator>
    <dc:date>2018-09-19T02:40:32Z</dc:date>
    <item>
      <title>Nifi to insert the flow one after another</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-to-insert-the-flow-one-after-another/m-p/190873#M83616</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;I'm using Routetext processor to separate JSON records to different flow.Ultimately I need Flow1 should be inserted into HBASE table first , Flow 2 should be executed second and so on.How I can achieve this.&lt;/P&gt;&lt;P&gt;Basically Inserts should insert data to HBase first,Updates should happen next and Delete should happen last .&lt;/P&gt;&lt;P&gt;Attached the Sample &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/92475-test.xml"&gt;test.xml&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 12:54:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-to-insert-the-flow-one-after-another/m-p/190873#M83616</guid>
      <dc:creator>raaj_muthu</dc:creator>
      <dc:date>2018-09-18T12:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi to insert the flow one after another</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-to-insert-the-flow-one-after-another/m-p/190874#M83617</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/44497/raajmuthu.html" nodeid="44497"&gt;@Raj ji&lt;/A&gt;&lt;P&gt;For this use case you have to use &lt;STRONG&gt;Wait-Notify &lt;/STRONG&gt;processors to finish inserting records first then Update the records and last for deleting the records.&lt;/P&gt;&lt;P&gt;Refer to &lt;A href="https://community.hortonworks.com/content/kbentry/191080/trigger-basedserial-data-processing-in-nifi.html" target="_blank"&gt;this&lt;/A&gt; and &lt;A href="http://ijokarumawak.github.io/nifi/2017/02/02/nifi-notify-batch/" target="_blank"&gt;this&lt;/A&gt; articles for configuring and usage of Wait/Notify processors.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 19:54:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-to-insert-the-flow-one-after-another/m-p/190874#M83617</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2018-09-18T19:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi to insert the flow one after another</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-to-insert-the-flow-one-after-another/m-p/190875#M83618</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929"&gt;@Shu&lt;/A&gt; Is it possible to add two RowIdentifier/RowIdentifier Field name in PutHbaseJson , Like ServerName,ServerNo or ${ServerName},${ServerNo} .&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 02:40:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-to-insert-the-flow-one-after-another/m-p/190875#M83618</guid>
      <dc:creator>raaj_muthu</dc:creator>
      <dc:date>2018-09-19T02:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi to insert the flow one after another</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-to-insert-the-flow-one-after-another/m-p/190876#M83619</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/44497/raajmuthu.html" nodeid="44497"&gt;@Raj ji&lt;/A&gt;&lt;P&gt;Yes you can use it..&lt;BR /&gt;&lt;STRONG&gt;&lt;U&gt;PutHBaseJson processor:-&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;1. expects json individual messages(not an array)&lt;BR /&gt;2. You need to extract the values for &lt;STRONG&gt;ServerName,ServerNo&lt;/STRONG&gt; from the content using &lt;STRONG&gt;EvaluateJsonPath &lt;/STRONG&gt;processor then use &lt;BR /&gt;&lt;STRONG&gt;Row Identifier
&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;${ServerName},${ServerNo}&lt;/PRE&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;(or)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;&lt;U&gt;PutHBaseRecord processor:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;Using Record processor we &lt;STRONG&gt;don't need to split the array &lt;/STRONG&gt;of json messages if you are using this processor but we need to prepare the &lt;STRONG&gt;row_id &lt;/STRONG&gt;by using Update Record processor by using concat(/ServerName,',',/ServerNo) function.&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;Refer to &lt;A href="https://community.hortonworks.com/articles/189642/update-the-contents-of-flowfile-by-using-updaterec.html" target="_blank"&gt;this&lt;/A&gt; link for more details regards to UpdateRecord processor concat function usage.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 04:09:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-to-insert-the-flow-one-after-another/m-p/190876#M83619</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2018-09-19T04:09:20Z</dc:date>
    </item>
  </channel>
</rss>

