<?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 InferAvroSchema error - illegal character in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NiFi-InferAvroSchema-error-illegal-character/m-p/169044#M131358</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10100/rbolla.html" nodeid="10100"&gt;@Raj B&lt;/A&gt; Is there any chance you can share an example of the JSON message and any stack trace that is output in nifi-app.log?&lt;/P&gt;</description>
    <pubDate>Tue, 08 Nov 2016 23:00:24 GMT</pubDate>
    <dc:creator>jfrazee</dc:creator>
    <dc:date>2016-11-08T23:00:24Z</dc:date>
    <item>
      <title>NiFi InferAvroSchema error - illegal character</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-InferAvroSchema-error-illegal-character/m-p/169042#M131356</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm trying to convert data in JSON to Avro using ConvertJSONToAvro; and for the Avro schema ConvertJSONToAvro processor requires, I'm using InferAvroSchema processor; but I'm getting an error at InferAvroSchema; it throws "org.apache.avro.schemaparseexception
illegal character in: avro-schema" error. I looked at the flowfile contents and replaced all attributes names that have a .(dot) with _(underscore), but still no help. Rest of the flowfile data looks ok, so I'm not sure what's causing the exception.&lt;/P&gt;&lt;P&gt;Any thoughts on how to resolve this would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 22:53:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-InferAvroSchema-error-illegal-character/m-p/169042#M131356</guid>
      <dc:creator>Raj_B</dc:creator>
      <dc:date>2016-11-08T22:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi InferAvroSchema error - illegal character</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-InferAvroSchema-error-illegal-character/m-p/169043#M131357</link>
      <description>&lt;P&gt;Does the term "avro-schema" (from your error message) appear in the schema? If so, then the error is because it doesn't like the dash, you can only use upper- and lower-case letters and underscores for the first character, then that set plus digits for all remaining characters (see &lt;A target="_blank" href="https://avro.apache.org/docs/1.7.7/spec.html#Names"&gt;Naming section of Avro doc&lt;/A&gt;). Try replacing the dash with an underscore and it should work.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 22:58:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-InferAvroSchema-error-illegal-character/m-p/169043#M131357</guid>
      <dc:creator>mburgess</dc:creator>
      <dc:date>2016-11-08T22:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi InferAvroSchema error - illegal character</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-InferAvroSchema-error-illegal-character/m-p/169044#M131358</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10100/rbolla.html" nodeid="10100"&gt;@Raj B&lt;/A&gt; Is there any chance you can share an example of the JSON message and any stack trace that is output in nifi-app.log?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 23:00:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-InferAvroSchema-error-illegal-character/m-p/169044#M131358</guid>
      <dc:creator>jfrazee</dc:creator>
      <dc:date>2016-11-08T23:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi InferAvroSchema error - illegal character</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-InferAvroSchema-error-illegal-character/m-p/169045#M131359</link>
      <description>&lt;P&gt;Thanks, that worked.&lt;/P&gt;&lt;P&gt;in InferAvroSchema's Avro Record Name property, I had avro-schema, which I changed to AvroSchema and that did it.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2016 23:29:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-InferAvroSchema-error-illegal-character/m-p/169045#M131359</guid>
      <dc:creator>Raj_B</dc:creator>
      <dc:date>2016-11-08T23:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi InferAvroSchema error - illegal character</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-InferAvroSchema-error-illegal-character/m-p/169046#M131360</link>
      <description>&lt;P&gt;I have written up &lt;A target="_blank" href="https://issues.apache.org/jira/browse/NIFI-2998"&gt;an improvement Jira&lt;/A&gt; to add better validation for the Avro Record Name property.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2016 00:20:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-InferAvroSchema-error-illegal-character/m-p/169046#M131360</guid>
      <dc:creator>mburgess</dc:creator>
      <dc:date>2016-11-09T00:20:19Z</dc:date>
    </item>
  </channel>
</rss>

