<?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] Basic JSON to AVRO Configuration Understanding in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-Basic-JSON-to-AVRO-Configuration-Understanding/m-p/208281#M69080</link>
    <description>&lt;P&gt;Resolved by changing the &lt;STRONG&gt;ConvertAvroToJSON &lt;/STRONG&gt;JSON container options to none instead of array.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="39684-screen-shot-2017-10-05-at-12207-pm.png" style="width: 788px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16883iBD720F0F59A113C8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="39684-screen-shot-2017-10-05-at-12207-pm.png" alt="39684-screen-shot-2017-10-05-at-12207-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 18 Aug 2019 04:24:58 GMT</pubDate>
    <dc:creator>ken_hui</dc:creator>
    <dc:date>2019-08-18T04:24:58Z</dc:date>
    <item>
      <title>[Nifi] Basic JSON to AVRO Configuration Understanding</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-Basic-JSON-to-AVRO-Configuration-Understanding/m-p/208279#M69078</link>
      <description>&lt;P&gt;I try to understand how JSON to AVRO work.&lt;BR /&gt;I have a basic workflow - &lt;A href="https://community.hortonworks.com/storage/attachments/39679-screen-shot-2017-10-05-at-113158-am.png" target="_blank"&gt;https://community.hortonworks.com/storage/attachments/39679-screen-shot-2017-10-05-at-113158-am.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ExecuteSQL -&amp;gt; ConvertAvroToJSON -&amp;gt; InferAvroSchema -&amp;gt; ConvertJSONtoAvro -&amp;gt; PutAzureBlobStorage&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm facing cannot find schema error.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/storage/attachments/39680-screen-shot-2017-10-05-at-113455-am.png" target="_blank"&gt;https://community.hortonworks.com/storage/attachments/39680-screen-shot-2017-10-05-at-113455-am.png&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I have not changed anything for InferAvroSchema.&lt;BR /&gt;I added ${inferred.avro.schema} in ConvertJSONtoAvro Record schema&lt;/P&gt;&lt;P&gt;I have also tried output the &lt;STRONG&gt;InferAvroSchema&lt;/STRONG&gt; into a output and copy and paste it back to ConvertJSONtoAvro Record schema manually. Also, does not working.&lt;BR /&gt;Example:&lt;BR /&gt;{"type":"record","name":"NiFi_ExecuteSQL_Record","namespace":"any.data","fields":[ ... Key Value Pairs for name and type ]}&lt;/P&gt;&lt;P&gt;How can I convert JSON to Avro successfully&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6030i546036B2F9A41CED/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="screen-shot-2017-10-05-at-113158-am.png" title="screen-shot-2017-10-05-at-113158-am.png" /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6031i1290E92BD89BD975/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="screen-shot-2017-10-05-at-113455-am.png" title="screen-shot-2017-10-05-at-113455-am.png" /&gt;</description>
      <pubDate>Fri, 06 Oct 2017 01:41:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-Basic-JSON-to-AVRO-Configuration-Understanding/m-p/208279#M69078</guid>
      <dc:creator>ken_hui</dc:creator>
      <dc:date>2017-10-06T01:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: [Nifi] Basic JSON to AVRO Configuration Understanding</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-Basic-JSON-to-AVRO-Configuration-Understanding/m-p/208280#M69079</link>
      <description>&lt;P&gt;I have tried to modify the configuration for &lt;STRONG&gt;InferAvroSchema&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="39681-screen-shot-2017-10-05-at-121425-pm.png" style="width: 789px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16884iB1332718677CEF31/image-size/medium?v=v2&amp;amp;px=400" role="button" title="39681-screen-shot-2017-10-05-at-121425-pm.png" alt="39681-screen-shot-2017-10-05-at-121425-pm.png" /&gt;&lt;/span&gt;&lt;BR /&gt;I have "Schemas for JSON files should be record" error message for &lt;STRONG&gt;ConvertJSONtoAvro&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="39682-screen-shot-2017-10-05-at-121532-pm.png" style="width: 837px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16885i575EDA9C9216208F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="39682-screen-shot-2017-10-05-at-121532-pm.png" alt="39682-screen-shot-2017-10-05-at-121532-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 04:25:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-Basic-JSON-to-AVRO-Configuration-Understanding/m-p/208280#M69079</guid>
      <dc:creator>ken_hui</dc:creator>
      <dc:date>2019-08-18T04:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: [Nifi] Basic JSON to AVRO Configuration Understanding</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-Basic-JSON-to-AVRO-Configuration-Understanding/m-p/208281#M69080</link>
      <description>&lt;P&gt;Resolved by changing the &lt;STRONG&gt;ConvertAvroToJSON &lt;/STRONG&gt;JSON container options to none instead of array.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="39684-screen-shot-2017-10-05-at-12207-pm.png" style="width: 788px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16883iBD720F0F59A113C8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="39684-screen-shot-2017-10-05-at-12207-pm.png" alt="39684-screen-shot-2017-10-05-at-12207-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 04:24:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-Basic-JSON-to-AVRO-Configuration-Understanding/m-p/208281#M69080</guid>
      <dc:creator>ken_hui</dc:creator>
      <dc:date>2019-08-18T04:24:58Z</dc:date>
    </item>
  </channel>
</rss>

