<?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: InferAvroSchema - JSON flowfile going straight to failure queue in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/InferAvroSchema-JSON-flowfile-going-straight-to-failure/m-p/230548#M69916</link>
    <description>&lt;P&gt;Figured it out, the config above works. Sorry there was an illegal character in my JSON. I wrongly assumed that the JSON object was fine since it worked with the EvaluateJsonPath and not InferArvoSchema&lt;/P&gt;</description>
    <pubDate>Thu, 19 Oct 2017 06:33:32 GMT</pubDate>
    <dc:creator>jamesmarlowww</dc:creator>
    <dc:date>2017-10-19T06:33:32Z</dc:date>
    <item>
      <title>InferAvroSchema - JSON flowfile going straight to failure queue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/InferAvroSchema-JSON-flowfile-going-straight-to-failure/m-p/230547#M69915</link>
      <description>&lt;P&gt;Hey, &lt;/P&gt;&lt;P&gt;I am trying to automatically infer an arvo schema from a JSON object. Unfortunately I think I'm missing something and I'm not sure what. I am trying to infer the schema automatically as the data feed is still under dev, and there will be changes. I have already setup anther flow using the Evaluate JSON path and replace text processor and don't want to constantly update it. &lt;/P&gt;&lt;P&gt;Have set the "Schema Output Destination" to "flowfile-attribute" and the "Input Content Type" to JSON. In the ConvertJSONToArvo processor I have set the record schema to "${inferred.avro.schema}"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="41414-l5mu3.png" style="width: 1090px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/15010i659D0412C2695E8A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="41414-l5mu3.png" alt="41414-l5mu3.png" /&gt;&lt;/span&gt;Thanks for your time &lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/7841i2E7B6BF0B8D89130/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="vvzvu.png" title="vvzvu.png" /&gt;</description>
      <pubDate>Sun, 18 Aug 2019 00:46:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/InferAvroSchema-JSON-flowfile-going-straight-to-failure/m-p/230547#M69915</guid>
      <dc:creator>jamesmarlowww</dc:creator>
      <dc:date>2019-08-18T00:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: InferAvroSchema - JSON flowfile going straight to failure queue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/InferAvroSchema-JSON-flowfile-going-straight-to-failure/m-p/230548#M69916</link>
      <description>&lt;P&gt;Figured it out, the config above works. Sorry there was an illegal character in my JSON. I wrongly assumed that the JSON object was fine since it worked with the EvaluateJsonPath and not InferArvoSchema&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 06:33:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/InferAvroSchema-JSON-flowfile-going-straight-to-failure/m-p/230548#M69916</guid>
      <dc:creator>jamesmarlowww</dc:creator>
      <dc:date>2017-10-19T06:33:32Z</dc:date>
    </item>
  </channel>
</rss>

