<?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: How  to configure PutCassandraRecord in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-configure-PutCassandraRecord/m-p/321073#M228250</link>
    <description>&lt;P&gt;I understand.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;First a NiFi dev recommendation I always suggest:&amp;nbsp; do not route success and failure in the same route.&amp;nbsp; Make them separate.&amp;nbsp; You need to know if the flowfile goes to failure.&amp;nbsp; Also, if you are ignoring certain routes (failure,retry,others)&amp;nbsp; make a habit of routing all them to an output port so you can see where flowfile goes.&amp;nbsp; &amp;nbsp;This concept will help you know where a flowfile when after you push play.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One of my dev flows looks like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2021-07-16 at 7.45.06 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/31915iA0AD4795B5F1D6D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-07-16 at 7.45.06 AM.png" alt="Screen Shot 2021-07-16 at 7.45.06 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once I am satisfied the flow works,&amp;nbsp; and my Success flowfile is on the bottom, i can auto terminate those failures.&amp;nbsp; However,&amp;nbsp; based on your flow, you may for example want to do something different with a failure, like log it, or send an email.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next,&amp;nbsp; I think if you do the above and run your flow, you might see flowfile NOT go to&amp;nbsp;&lt;SPAN&gt;PutCassandraRecord&lt;/SPAN&gt;.&amp;nbsp; &amp;nbsp;If it does make it,&amp;nbsp; update the post with the content of the flowfile, and any errors from the&amp;nbsp;&lt;SPAN&gt;PutCassandraRecord.&amp;nbsp; &amp;nbsp;We need to see those errors and what content you are delivering to the processor.&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jul 2021 11:48:59 GMT</pubDate>
    <dc:creator>stevenmatison</dc:creator>
    <dc:date>2021-07-16T11:48:59Z</dc:date>
    <item>
      <title>How  to configure PutCassandraRecord</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-configure-PutCassandraRecord/m-p/320916#M228220</link>
      <description>&lt;P&gt;Hi Everyone, The goal is to be able to extend to several servers, in order to collect the files in a parallel way to count the number of lines and the number of files to store in a database each day. I collect files I count the number of files and the number of lines in the files. I want to store these values in a database. I installed apache cassandra and created a database and a table. when I insert the number of lines and documents, I check my table and I don't see any data. GetFile--&amp;gt;MergeContent--&amp;gt;CountText--&amp;gt;ReplaceText--&amp;gt;PutCassandraRecord&lt;BR /&gt;I want to check the data entered in the database table but I don't see any data.&lt;BR /&gt;here is the configuration of the PutcassandraRecord processor.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PutCassandraRecord" style="width: 776px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/31875iE06EA8426761070A/image-size/large?v=v2&amp;amp;px=999" role="button" title="PutCassandraRecord.PNG" alt="PutCassandraRecord" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;PutCassandraRecord&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 18:38:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-configure-PutCassandraRecord/m-p/320916#M228220</guid>
      <dc:creator>Justee</dc:creator>
      <dc:date>2021-07-14T18:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: How  to configure PutCassandraRecord</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-configure-PutCassandraRecord/m-p/321006#M228240</link>
      <description>&lt;P&gt;I am working a lot with NIFI and Cassandra.&amp;nbsp; &amp;nbsp;Please update your post with incoming flowfile format, csv reader configuration, and any errors when you run your flow.&amp;nbsp; These will help myself or others provide more concise reply and hopefully a solution.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 14:53:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-configure-PutCassandraRecord/m-p/321006#M228240</guid>
      <dc:creator>stevenmatison</dc:creator>
      <dc:date>2021-07-15T14:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: How  to configure PutCassandraRecord</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-configure-PutCassandraRecord/m-p/321015#M228243</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/60150"&gt;@stevenmatison&lt;/a&gt;, The goal is to be able to extend to several servers, in order to collect the files in a parallel way to count the number of lines and the number of files to store in a database each day.the type of data contained in the data file&lt;/P&gt;&lt;P&gt;|226789|23-Feb-1996|0|1|1|0|0|0|1|0|3|0|0|6|0|2|0|0|6|9|7&lt;/P&gt;&lt;P&gt;|226780|08-Mar-1996|4|0|2|0|0|1|0|0|0|3|0|0|0|0|0|0|0|0|8&lt;/P&gt;&lt;P&gt;|222507|01-Jan-1995|0|0|5|0|0|1|0|0|0|0|6|0|0|0|0|0|0|0|5&lt;/P&gt;&lt;P&gt;|22308|01-Jan-1995|0|1|8|0|0|6|0|0|0|2|0|4|0|0|0|6|0|0|4&lt;/P&gt;&lt;P&gt;|222707|01-Jan-1995|0|1|0|0|5|0|0|0|1|0|0|6|0|0|7|0|1|0|2&lt;/P&gt;&lt;P&gt;I collect files I count the number of files and the number of lines in the files. I want to store these values in a database. I installed apache cassandra and created a database and a table. when I insert the number of lines and documents, I check my table and I don't see any data. GetFile--&amp;gt;MergeContent--&amp;gt;CountText--&amp;gt;ReplaceText--&amp;gt;PutCassandraRecord. The processors that make up the nifi flowfile I set up.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="flowfile (all processors)" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/31894iED2665769DF282A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="cap1.PNG" alt="flowfile (all processors)" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;flowfile (all processors)&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PutCassandraRecord" style="width: 776px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/31895iFB6DAC0F0F954D3F/image-size/large?v=v2&amp;amp;px=999" role="button" title="PutCassandraRecord.PNG" alt="PutCassandraRecord" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;PutCassandraRecord&lt;/span&gt;&lt;/span&gt;&lt;BR /&gt;I want to store the number of files obtained and the number of lines obtained in cassandra if possible. So concerning the configuration of PutcassandraRecord you can make me a proposal.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 16:20:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-configure-PutCassandraRecord/m-p/321015#M228243</guid>
      <dc:creator>Justee</dc:creator>
      <dc:date>2021-07-15T16:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: How  to configure PutCassandraRecord</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-configure-PutCassandraRecord/m-p/321073#M228250</link>
      <description>&lt;P&gt;I understand.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;First a NiFi dev recommendation I always suggest:&amp;nbsp; do not route success and failure in the same route.&amp;nbsp; Make them separate.&amp;nbsp; You need to know if the flowfile goes to failure.&amp;nbsp; Also, if you are ignoring certain routes (failure,retry,others)&amp;nbsp; make a habit of routing all them to an output port so you can see where flowfile goes.&amp;nbsp; &amp;nbsp;This concept will help you know where a flowfile when after you push play.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One of my dev flows looks like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2021-07-16 at 7.45.06 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/31915iA0AD4795B5F1D6D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-07-16 at 7.45.06 AM.png" alt="Screen Shot 2021-07-16 at 7.45.06 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once I am satisfied the flow works,&amp;nbsp; and my Success flowfile is on the bottom, i can auto terminate those failures.&amp;nbsp; However,&amp;nbsp; based on your flow, you may for example want to do something different with a failure, like log it, or send an email.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next,&amp;nbsp; I think if you do the above and run your flow, you might see flowfile NOT go to&amp;nbsp;&lt;SPAN&gt;PutCassandraRecord&lt;/SPAN&gt;.&amp;nbsp; &amp;nbsp;If it does make it,&amp;nbsp; update the post with the content of the flowfile, and any errors from the&amp;nbsp;&lt;SPAN&gt;PutCassandraRecord.&amp;nbsp; &amp;nbsp;We need to see those errors and what content you are delivering to the processor.&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 11:48:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-configure-PutCassandraRecord/m-p/321073#M228250</guid>
      <dc:creator>stevenmatison</dc:creator>
      <dc:date>2021-07-16T11:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: How  to configure PutCassandraRecord</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-configure-PutCassandraRecord/m-p/321083#M228257</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/60150"&gt;@stevenmatison&lt;/a&gt;,&amp;nbsp;I don't see any data in the cassandra database. I don't see any errors either. Here are the screenshots.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PUTCASSANDRA1.PNG" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/31918iDED6DAA7140CE22E/image-size/large?v=v2&amp;amp;px=999" role="button" title="PUTCASSANDRA1.PNG" alt="PUTCASSANDRA1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 14:12:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-configure-PutCassandraRecord/m-p/321083#M228257</guid>
      <dc:creator>Justee</dc:creator>
      <dc:date>2021-07-16T14:12:23Z</dc:date>
    </item>
  </channel>
</rss>

