<?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: Need to convert a hex file to another format using HDF in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-to-convert-a-hex-file-to-another-format-using-HDF/m-p/169846#M45675</link>
    <description>&lt;P&gt;Can you share a stack trace / error log from logs/nifi-app.log? I'm curious to see what part of the code gives a "File too large" error.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Nov 2016 04:26:51 GMT</pubDate>
    <dc:creator>mburgess</dc:creator>
    <dc:date>2016-11-09T04:26:51Z</dc:date>
    <item>
      <title>Need to convert a hex file to another format using HDF</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-to-convert-a-hex-file-to-another-format-using-HDF/m-p/169845#M45674</link>
      <description>&lt;P&gt;I have a couple of rather large hex files I need to convert to another format with the intention of then stripping out certain attributes and storing results in SQL Server and/or Hive. The files are 12.7 MB and 3.3 MB. When I use the code from this HCC answer  &lt;A href="https://community.hortonworks.com/questions/60597/hexdump-nifi-processor-nifi-hexdump-processor.html" target="_blank"&gt;https://community.hortonworks.com/questions/60597/hexdump-nifi-processor-nifi-hexdump-processor.html&lt;/A&gt; &lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;PRE&gt;import java.io.DataInputStream
def flowFile = session.get()
if(!flowFile) return
def attr = ''
session.read(flowFile, {inputStream -&amp;gt;
   dis = new DataInputStream(inputStream)
   attr = Long.toHexString(dis.readLong())
   attr2 = Long.toHexString(dis.readLong())
   
} as InputStreamCallback)
flowFile = session.putAttribute(flowFile, 'first16hex', attr+attr2)
session.transfer(flowFile, REL_SUCCESS)&lt;/PRE&gt;
&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;in an ExecuteProcess I get a "File too large" error.&lt;/P&gt;&lt;P&gt;I'm also aware of this JIRA but am looking for a good workaround. &lt;A href="https://issues.apache.org/jira/browse/NIFI-2997" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-2997&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 12:27:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-to-convert-a-hex-file-to-another-format-using-HDF/m-p/169845#M45674</guid>
      <dc:creator>SQLShaw</dc:creator>
      <dc:date>2026-04-21T12:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need to convert a hex file to another format using HDF</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-to-convert-a-hex-file-to-another-format-using-HDF/m-p/169846#M45675</link>
      <description>&lt;P&gt;Can you share a stack trace / error log from logs/nifi-app.log? I'm curious to see what part of the code gives a "File too large" error.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2016 04:26:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-to-convert-a-hex-file-to-another-format-using-HDF/m-p/169846#M45675</guid>
      <dc:creator>mburgess</dc:creator>
      <dc:date>2016-11-09T04:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Need to convert a hex file to another format using HDF</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-to-convert-a-hex-file-to-another-format-using-HDF/m-p/169847#M45676</link>
      <description>&lt;P&gt;I apologize. The actual error is "File name is too long". The name of the file is COWFILE1.DAT and COWFILE1.ARC.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9251-2016-11-08-15-01-04.jpg" style="width: 515px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20129i670C3D66314C12A7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9251-2016-11-08-15-01-04.jpg" alt="9251-2016-11-08-15-01-04.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 10:48:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-to-convert-a-hex-file-to-another-format-using-HDF/m-p/169847#M45676</guid>
      <dc:creator>SQLShaw</dc:creator>
      <dc:date>2019-08-18T10:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need to convert a hex file to another format using HDF</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-to-convert-a-hex-file-to-another-format-using-HDF/m-p/169848#M45677</link>
      <description>&lt;P&gt;Here is the repeating error in nifi-app.log.&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/9252-nifi-app.txt"&gt;nifi-app.txt&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2016 05:12:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-to-convert-a-hex-file-to-another-format-using-HDF/m-p/169848#M45677</guid>
      <dc:creator>SQLShaw</dc:creator>
      <dc:date>2016-11-09T05:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Need to convert a hex file to another format using HDF</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-to-convert-a-hex-file-to-another-format-using-HDF/m-p/169849#M45678</link>
      <description>&lt;P&gt;Scott,&lt;/P&gt;&lt;P&gt;Use &lt;STRONG&gt;ExecuteScript&lt;/STRONG&gt; processor, as mentioned in the article. Looks like you are putting an embedded script into ExecuteProcess, which is meant to invoke OS shell commands, hence the error.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2016 07:19:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-to-convert-a-hex-file-to-another-format-using-HDF/m-p/169849#M45678</guid>
      <dc:creator>andrewg</dc:creator>
      <dc:date>2016-11-09T07:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need to convert a hex file to another format using HDF</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-to-convert-a-hex-file-to-another-format-using-HDF/m-p/169850#M45679</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/173/agrande.html" nodeid="173"&gt;@Andrew Grande&lt;/A&gt;! That worked! I feel like a noob &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; but appreciate all the help!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2016 22:12:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-to-convert-a-hex-file-to-another-format-using-HDF/m-p/169850#M45679</guid>
      <dc:creator>SQLShaw</dc:creator>
      <dc:date>2016-11-09T22:12:49Z</dc:date>
    </item>
  </channel>
</rss>

