<?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: Out of memory heap error while processing bulk file (1.26.0) in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Out-of-memory-heap-error-while-processing-bulk-file-1-26-0/m-p/398246#M250141</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Below is the thing that I am trying for:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;U&gt;&lt;STRONG&gt;Input file sample:&lt;/STRONG&gt;&lt;/U&gt; (Which will have 40k+ records, with a header and data segments, with "|" separated columns.)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;DATE|CUST_ID|CUST_NAME|PAYMENT_AMOUNT|PAYMENT_TYPE|CARD_TYPE&lt;/DIV&gt;&lt;DIV&gt;2024-11-29|123|Test1|0.0100|Credit Card|Visa&lt;/DIV&gt;&lt;DIV&gt;2024-11-29|456|Test2|10.00|Credit Card|Master&lt;/DIV&gt;&lt;DIV&gt;2024-11-29|789|Test3|500.00|Credit Card|American Express&lt;/DIV&gt;&lt;DIV&gt;******************************************************************************************&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;U&gt;&lt;STRONG&gt;Expected output:&lt;/STRONG&gt;&lt;/U&gt; This should be in a file with column having fixed length and sent to the remote server using the 'putSFTP' processor.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;20241129Visa&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Test1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.01&amp;nbsp; &amp;nbsp; &amp;nbsp; Credit&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;20241129Master&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Test2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10.00&amp;nbsp; &amp;nbsp; &amp;nbsp;Credit&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;20241129American Express&amp;nbsp; &amp;nbsp; Test3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;500.00&amp;nbsp; &amp;nbsp; Credit&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;********************************************************************************&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am storing the input data in a database table using the 'putDatabaseRecord' processor and retrieving it using the 'executeSQL' processor (using SQL query adding fixed length for columns)&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;U&gt;&lt;STRONG&gt;convertAvroToJSOn output:&lt;/STRONG&gt;&lt;/U&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"date": "20241129",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"card_type": "Master&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"payment_amount": "10.00&amp;nbsp; &amp;nbsp; &amp;nbsp; ",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"payment_type": "Credit&amp;nbsp; &amp;nbsp; ",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cust_name": "Test1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"date": "20241129",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"card_type": "Visa&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"payment_amount": "0.01&amp;nbsp; &amp;nbsp; &amp;nbsp; ",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"payment_type": "Credit&amp;nbsp; &amp;nbsp; ",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cust_name": "Test2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;SplitJSON to split the JSON and evaluateJSON path to get each attribute value&lt;/DIV&gt;&lt;DIV&gt;Update attribute to place value in require output pattern&lt;/DIV&gt;&lt;DIV&gt;Merge al the content and put it in a file.&lt;/DIV&gt;</description>
    <pubDate>Fri, 29 Nov 2024 13:14:40 GMT</pubDate>
    <dc:creator>Vikas-Nifi</dc:creator>
    <dc:date>2024-11-29T13:14:40Z</dc:date>
    <item>
      <title>Out of memory heap error while processing bulk file (1.26.0)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Out-of-memory-heap-error-while-processing-bulk-file-1-26-0/m-p/398192#M250127</link>
      <description>&lt;P&gt;I have a text file which needs to be fetched from remote server through SFTP. File will be having 26k+ rows with | separated values like below:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I have used below processor's to do the data manipulation. But facing “Processing halted.Out of memory heap” error after splitJSON.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VikasNifi_1-1732798103698.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/42837iD61A152263C46E79/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VikasNifi_1-1732798103698.png" alt="VikasNifi_1-1732798103698.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please help with the better approach to handle this case.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 12:51:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Out-of-memory-heap-error-while-processing-bulk-file-1-26-0/m-p/398192#M250127</guid>
      <dc:creator>Vikas-Nifi</dc:creator>
      <dc:date>2024-11-28T12:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Out of memory heap error while processing bulk file (1.26.0)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Out-of-memory-heap-error-while-processing-bulk-file-1-26-0/m-p/398196#M250129</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Its seems like you are running out of heap memory when adding new attributes through the evaluateJsonPath processor. Attributes are stored in the heap and you should be aware not to store large data in flowfile attributes if you are going to have so many flowfiles in order to avoid running into such issue.&lt;/P&gt;&lt;P&gt;Can you please elaborate on what are you trying to accomplish after converting Avro To Json? to me it doesnt make sense what you are doing because you are&amp;nbsp; merging towards the end which means&amp;nbsp; you might not even get the attribute you are extracting depending on how you set the&lt;STRONG&gt; Attribute Strategy&lt;/STRONG&gt; in the &lt;STRONG&gt;MergeRecord&lt;/STRONG&gt; processor.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 14:22:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Out-of-memory-heap-error-while-processing-bulk-file-1-26-0/m-p/398196#M250129</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2024-11-28T14:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Out of memory heap error while processing bulk file (1.26.0)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Out-of-memory-heap-error-while-processing-bulk-file-1-26-0/m-p/398245#M250140</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;:&lt;/P&gt;&lt;DIV&gt;Below is the thing that I am trying for:&lt;/DIV&gt;&lt;DIV&gt;-------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;&lt;U&gt;&lt;STRONG&gt;Input file sample:&lt;/STRONG&gt;&lt;/U&gt; (Which will have 40k+ records, with a header and data segments, with "|" separated columns.)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;DATE|CUST_ID|CUST_NAME|PAYMENT_AMOUNT|PAYMENT_TYPE|CARD_TYPE&lt;/DIV&gt;&lt;DIV&gt;2024-11-29|123|Test1|0.0100|Credit Card|Visa&lt;/DIV&gt;&lt;DIV&gt;2024-11-29|456|Test2|10.00|Credit Card|Master&lt;/DIV&gt;&lt;DIV&gt;2024-11-29|789|Test3|500.00|Credit Card|American Express&lt;/DIV&gt;&lt;DIV&gt;-------------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;&lt;U&gt;&lt;STRONG&gt;Expected output:&lt;/STRONG&gt; &lt;/U&gt;This should be in a file with column having fixed length and sent to the remote server using the 'putSFTP' processor.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;20241129Visa&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Test1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.01&amp;nbsp; &amp;nbsp; &amp;nbsp; Credit&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;20241129Master&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Test2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10.00&amp;nbsp; &amp;nbsp; &amp;nbsp;Credit&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;20241129American Express&amp;nbsp; &amp;nbsp; Test3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;500.00&amp;nbsp; &amp;nbsp; Credit&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;--------------------------------------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;I am storing the input data in a database table using the 'putDatabaseRecord' processor and retrieving it using the 'executeSQL' processor (using SQL query adding fixed length for columns)&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;U&gt;&lt;STRONG&gt;convertAvroToJSOn output:&lt;/STRONG&gt;&lt;/U&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"date": "20241129",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"card_type": "Master&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"payment_amount": "10.00&amp;nbsp; &amp;nbsp; &amp;nbsp; ",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"payment_type": "Credit&amp;nbsp; &amp;nbsp; ",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cust_name": "Test1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"date": "20241129",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"card_type": "Visa&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"payment_amount": "0.01&amp;nbsp; &amp;nbsp; &amp;nbsp; ",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"payment_type": "Credit&amp;nbsp; &amp;nbsp; ",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cust_name": "Test2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;SplitJSON to split the JSON and evaluateJSON path to get each attribute value&lt;/DIV&gt;&lt;DIV&gt;Update attribute to place value in require output pattern ( (date)(card_type)(cust_name)(payment_amount)(payment_type) )&lt;/DIV&gt;&lt;DIV&gt;Merge all the content into single file and put it in a file.&lt;/DIV&gt;</description>
      <pubDate>Fri, 29 Nov 2024 12:58:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Out-of-memory-heap-error-while-processing-bulk-file-1-26-0/m-p/398245#M250140</guid>
      <dc:creator>Vikas-Nifi</dc:creator>
      <dc:date>2024-11-29T12:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Out of memory heap error while processing bulk file (1.26.0)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Out-of-memory-heap-error-while-processing-bulk-file-1-26-0/m-p/398246#M250141</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Below is the thing that I am trying for:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;U&gt;&lt;STRONG&gt;Input file sample:&lt;/STRONG&gt;&lt;/U&gt; (Which will have 40k+ records, with a header and data segments, with "|" separated columns.)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;DATE|CUST_ID|CUST_NAME|PAYMENT_AMOUNT|PAYMENT_TYPE|CARD_TYPE&lt;/DIV&gt;&lt;DIV&gt;2024-11-29|123|Test1|0.0100|Credit Card|Visa&lt;/DIV&gt;&lt;DIV&gt;2024-11-29|456|Test2|10.00|Credit Card|Master&lt;/DIV&gt;&lt;DIV&gt;2024-11-29|789|Test3|500.00|Credit Card|American Express&lt;/DIV&gt;&lt;DIV&gt;******************************************************************************************&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;U&gt;&lt;STRONG&gt;Expected output:&lt;/STRONG&gt;&lt;/U&gt; This should be in a file with column having fixed length and sent to the remote server using the 'putSFTP' processor.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;20241129Visa&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Test1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.01&amp;nbsp; &amp;nbsp; &amp;nbsp; Credit&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;20241129Master&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Test2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10.00&amp;nbsp; &amp;nbsp; &amp;nbsp;Credit&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;20241129American Express&amp;nbsp; &amp;nbsp; Test3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;500.00&amp;nbsp; &amp;nbsp; Credit&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;********************************************************************************&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am storing the input data in a database table using the 'putDatabaseRecord' processor and retrieving it using the 'executeSQL' processor (using SQL query adding fixed length for columns)&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;U&gt;&lt;STRONG&gt;convertAvroToJSOn output:&lt;/STRONG&gt;&lt;/U&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"date": "20241129",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"card_type": "Master&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"payment_amount": "10.00&amp;nbsp; &amp;nbsp; &amp;nbsp; ",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"payment_type": "Credit&amp;nbsp; &amp;nbsp; ",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cust_name": "Test1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"date": "20241129",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"card_type": "Visa&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"payment_amount": "0.01&amp;nbsp; &amp;nbsp; &amp;nbsp; ",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"payment_type": "Credit&amp;nbsp; &amp;nbsp; ",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cust_name": "Test2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;SplitJSON to split the JSON and evaluateJSON path to get each attribute value&lt;/DIV&gt;&lt;DIV&gt;Update attribute to place value in require output pattern&lt;/DIV&gt;&lt;DIV&gt;Merge al the content and put it in a file.&lt;/DIV&gt;</description>
      <pubDate>Fri, 29 Nov 2024 13:14:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Out-of-memory-heap-error-while-processing-bulk-file-1-26-0/m-p/398246#M250141</guid>
      <dc:creator>Vikas-Nifi</dc:creator>
      <dc:date>2024-11-29T13:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Out of memory heap error while processing bulk file (1.26.0)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Out-of-memory-heap-error-while-processing-bulk-file-1-26-0/m-p/398247#M250142</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Below is the thing that I am trying for:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;U&gt;&lt;STRONG&gt;Input file sample:&lt;/STRONG&gt;&lt;/U&gt; (Which will have 40k+ records, with a header and data segments, with "|" separated columns.)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;DATE|CUST_ID|CUST_NAME|PAYMENT_AMOUNT|PAYMENT_TYPE|CARD_TYPE&lt;/DIV&gt;&lt;DIV&gt;2024-11-29|123|Test1|0.0100|Credit Card|Visa&lt;/DIV&gt;&lt;DIV&gt;2024-11-29|456|Test2|10.00|Credit Card|Master&lt;/DIV&gt;&lt;DIV&gt;2024-11-29|789|Test3|500.00|Credit Card|American Express&lt;/DIV&gt;&lt;DIV&gt;******************************************************************************&lt;/DIV&gt;&lt;DIV&gt;&lt;U&gt;&lt;STRONG&gt;Expected output:&lt;/STRONG&gt;&lt;/U&gt; This should be in output file with column having fixed length and sent to the remote server using the 'putSFTP' processor.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;20241129Visa&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Test1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.01&amp;nbsp; &amp;nbsp; &amp;nbsp; Credit&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;20241129Master&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Test2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10.00&amp;nbsp; &amp;nbsp; &amp;nbsp;Credit&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;20241129American Express&amp;nbsp; &amp;nbsp; Test3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;500.00&amp;nbsp; &amp;nbsp; Credit&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;***********************************************************************************&lt;/DIV&gt;&lt;DIV&gt;I am storing the input data in a database table using the 'putDatabaseRecord' processor and retrieving it using the 'executeSQL' processor (using SQL query adding fixed length for columns)&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;U&gt;&lt;STRONG&gt;convertAvroToJSOn output:&lt;/STRONG&gt;&lt;/U&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"date": "20241129",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"card_type": "Master&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"payment_amount": "10.00&amp;nbsp; &amp;nbsp; &amp;nbsp; ",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"payment_type": "Credit&amp;nbsp; &amp;nbsp; ",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cust_name": "Test1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"date": "20241129",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"card_type": "Visa&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"payment_amount": "0.01&amp;nbsp; &amp;nbsp; &amp;nbsp; ",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"payment_type": "Credit&amp;nbsp; &amp;nbsp; ",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cust_name": "Test2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;SplitJSON to split the JSON and evaluateJSON path to get each attribute value&lt;/DIV&gt;&lt;DIV&gt;Update attribute to place value in require output pattern&lt;/DIV&gt;&lt;DIV&gt;Merge al the content and put it in a file.&lt;/DIV&gt;</description>
      <pubDate>Fri, 29 Nov 2024 13:17:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Out-of-memory-heap-error-while-processing-bulk-file-1-26-0/m-p/398247#M250142</guid>
      <dc:creator>Vikas-Nifi</dc:creator>
      <dc:date>2024-11-29T13:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Out of memory heap error while processing bulk file (1.26.0)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Out-of-memory-heap-error-while-processing-bulk-file-1-26-0/m-p/398248#M250143</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Below is the thing that I am trying for:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;U&gt;&lt;STRONG&gt;Input file sample:&lt;/STRONG&gt;&lt;/U&gt; (Which will have 40k+ records, with a header and data segments, with "|" separated columns.)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;DATE|CUST_ID|CUST_NAME|PAYMENT_AMOUNT|PAYMENT_TYPE|CARD_TYPE&lt;/DIV&gt;&lt;DIV&gt;2024-11-29|123|Test1|0.0100|Credit Card|Visa&lt;/DIV&gt;&lt;DIV&gt;2024-11-29|456|Test2|10.00|Credit Card|Master&lt;/DIV&gt;&lt;DIV&gt;2024-11-29|789|Test3|500.00|Credit Card|American Express&lt;/DIV&gt;&lt;DIV&gt;**********************************************************************************&lt;/DIV&gt;&lt;DIV&gt;&lt;U&gt;&lt;STRONG&gt;Expected output:&lt;/STRONG&gt; &lt;/U&gt;This should be in a file with column having fixed length and sent to the remote server using the 'putSFTP' processor.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;20241129Visa&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Test1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.01&amp;nbsp; &amp;nbsp; &amp;nbsp; Credit&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;20241129Master&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Test2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10.00&amp;nbsp; &amp;nbsp; &amp;nbsp;Credit&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;20241129American Express&amp;nbsp; &amp;nbsp; Test3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;500.00&amp;nbsp; &amp;nbsp; Credit&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;*************************************************************************************&lt;/DIV&gt;&lt;DIV&gt;I am storing the input data in a database table using the 'putDatabaseRecord' processor and retrieving it using the 'executeSQL' processor (using SQL query adding fixed length for columns)&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;U&gt;&lt;STRONG&gt;convertAvroToJSOn output:&lt;/STRONG&gt;&lt;/U&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"date": "20241129",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"card_type": "Master&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"payment_amount": "10.00&amp;nbsp; &amp;nbsp; &amp;nbsp; ",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"payment_type": "Credit&amp;nbsp; &amp;nbsp; ",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cust_name": "Test1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"date": "20241129",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"card_type": "Visa&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"payment_amount": "0.01&amp;nbsp; &amp;nbsp; &amp;nbsp; ",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"payment_type": "Credit&amp;nbsp; &amp;nbsp; ",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cust_name": "Test2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;SplitJSON to split the JSON and evaluateJSON path to get each attribute value&lt;/DIV&gt;&lt;DIV&gt;Update attribute to place value in require output pattern&lt;/DIV&gt;&lt;DIV&gt;Merge all the content and put it in a file.&lt;/DIV&gt;</description>
      <pubDate>Fri, 29 Nov 2024 13:19:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Out-of-memory-heap-error-while-processing-bulk-file-1-26-0/m-p/398248#M250143</guid>
      <dc:creator>Vikas-Nifi</dc:creator>
      <dc:date>2024-11-29T13:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Out of memory heap error while processing bulk file (1.26.0)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Out-of-memory-heap-error-while-processing-bulk-file-1-26-0/m-p/398249#M250144</link>
      <description>&lt;DIV&gt;Below is the thing that I am trying for:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Input file sample: (Which will have 40k+ records, with a header and data segments, with "|" separated columns.)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;DATE|CUST_ID|CUST_NAME|PAYMENT_AMOUNT|PAYMENT_TYPE|CARD_TYPE&lt;/DIV&gt;&lt;DIV&gt;2024-11-29|123|Test1|0.0100|Credit Card|Visa&lt;/DIV&gt;&lt;DIV&gt;2024-11-29|456|Test2|10.00|Credit Card|Master&lt;/DIV&gt;&lt;DIV&gt;2024-11-29|789|Test3|500.00|Credit Card|American Express&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Expected output: This should be in a file with column having fixed length and sent to the remote server using the 'putSFTP' processor.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;20241129Visa&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Test1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.01&amp;nbsp; &amp;nbsp; &amp;nbsp; Credit&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;20241129Master&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Test2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10.00&amp;nbsp; &amp;nbsp; &amp;nbsp;Credit&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;20241129American Express&amp;nbsp; &amp;nbsp; Test3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;500.00&amp;nbsp; &amp;nbsp; Credit&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am storing the input data in a database table using the 'putDatabaseRecord' processor and retrieving it using the 'executeSQL' processor (using SQL query adding fixed length for columns)&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;convertAvroToJSOn output:&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"date": "20241129",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"card_type": "Master&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"payment_amount": "10.00&amp;nbsp; &amp;nbsp; &amp;nbsp; ",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"payment_type": "Credit&amp;nbsp; &amp;nbsp; ",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cust_name": "Test1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"date": "20241129",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"card_type": "Visa&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"payment_amount": "0.01&amp;nbsp; &amp;nbsp; &amp;nbsp; ",&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"payment_type": "Credit&amp;nbsp; &amp;nbsp; ",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"cust_name": "Test2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;SplitJSON to split the JSON and evaluateJSON path to get each attribute value&lt;/DIV&gt;&lt;DIV&gt;Update attribute to place value in require output pattern&lt;/DIV&gt;&lt;DIV&gt;Merge al the content and put it in a file.&lt;/DIV&gt;</description>
      <pubDate>Fri, 29 Nov 2024 13:26:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Out-of-memory-heap-error-while-processing-bulk-file-1-26-0/m-p/398249#M250144</guid>
      <dc:creator>Vikas-Nifi</dc:creator>
      <dc:date>2024-11-29T13:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Out of memory heap error while processing bulk file (1.26.0)</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Out-of-memory-heap-error-while-processing-bulk-file-1-26-0/m-p/398293#M250157</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/110342"&gt;@Vikas-Nifi&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;I think can avoid a lot of overhead such as writing the data to the DB for just doing the transformation and assigning the fixed width (unless you need to store the data in the DB). You can use processors like QueryRecord, UpdateRecord&amp;nbsp; to do the needed transformation of data in bulk vs one record at a time and one field at a time. In QueryRecord you can use SQL like function based on &lt;A href="https://calcite.apache.org/docs/reference.html" target="_self"&gt;apache calcite&lt;/A&gt; sql syntax to make transformation or derive new columns just as if you are doing mysql query. UpadateRecord also you can use &lt;A href="https://nifi.apache.org/docs/nifi-docs/html/record-path-guide.html" target="_self"&gt;Nifi Record Path&lt;/A&gt; to traverse fields and apply functions in bulk vs one record at a time. There is also a FreeFormTextRecordSetWriter service that you can use to create custom format as an output. For example in the following dataflow, Im using ConvertRecord process with CSVReader and FreeFormTextRecordSetWriter&amp;nbsp; to produce desired out:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAMSAL_0-1732995025918.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/42876i7884E10BD6A804A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SAMSAL_0-1732995025918.png" alt="SAMSAL_0-1732995025918.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;GenerateFlowFile&lt;/STRONG&gt; processor is used to create the input CSV in flowfile:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAMSAL_1-1732995108765.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/42877i6142F78455FEEC32/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SAMSAL_1-1732995108765.png" alt="SAMSAL_1-1732995108765.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The ConvertRecord is configured as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAMSAL_2-1732995152930.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/42878i4CC8805B9F701E2E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SAMSAL_2-1732995152930.png" alt="SAMSAL_2-1732995152930.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;CSVReader&lt;/STRONG&gt; you can use default configuration.&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;FreeFormTextRecordSetWriter&lt;/STRONG&gt; is configured as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAMSAL_3-1732995248562.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/42879iDF69CC30C8881713/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SAMSAL_3-1732995248562.png" alt="SAMSAL_3-1732995248562.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the Text Property you can use the columns\fields names as listed in the input and provided to the reader . You can also use Nifi Expression Language to do proper formatting and transformation to&amp;nbsp; the written data as follows:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;${DATE:replace('-',''):append(${CARD_TYPE}):padRight(28,' ')}${CUST_NAME:padRight(20,' ')}${PAYMENT_AMOUNT:padRight(10,' ')}${PAYMENT_TYPE:padRight(10,' ')}&lt;/LI-CODE&gt;&lt;P&gt;This will produce the following output:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;20241129Visa                Test1               0.01      Credit Card
20241129Master              Test2               10.0      Credit Card
20241129American Express    Test3               500.0     Credit Card&lt;/LI-CODE&gt;&lt;P&gt;I know this not 100% what you need but it should give you an idea what you need to do to get the desired output.&lt;/P&gt;&lt;P&gt;Hope that helps and if it does, please accept the solution.&lt;/P&gt;&lt;P&gt;Let me know if you have any other questions.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Nov 2024 19:42:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Out-of-memory-heap-error-while-processing-bulk-file-1-26-0/m-p/398293#M250157</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2024-11-30T19:42:36Z</dc:date>
    </item>
  </channel>
</rss>

