<?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 1.2 with AvroSchemaRegistry - Adding Schema Fails in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-1-2-with-AvroSchemaRegistry-Adding-Schema-Fails/m-p/219270#M62921</link>
    <description>&lt;P&gt;Fixed by removing almost all spaces&lt;/P&gt;&lt;P&gt;Can't have empty lines, can't have line breaks, no spaces between array elements.&lt;/P&gt;&lt;PRE&gt;{"type":"record","namespace":"hortonworks.hdp.refapp.sensehat","name":"sensehat","fields":[{"name": "tempf", "type": "float"},{ "name": "cputemp", "type": "float"},{ "name": "pressure","type": "float"},{ "name": "host","type": "string"},{ "name": "pitch","type": "float"},{"name": "ipaddress","type": "string"},{"name": "temp","type": "float"},{ "name": "diskfree","type": "string"},{ "name": "yaw","type": "float" },{"name": "humidity","type": "float"},{"name": "memory","type": "float"},{"name": "y", "type": "float"},{"name": "x", "type": "float" },{"name": "z","type": "float"},{"name": "roll", "type": "float"}]}&lt;/PRE&gt;</description>
    <pubDate>Wed, 14 Jun 2017 22:36:42 GMT</pubDate>
    <dc:creator>TimothySpann</dc:creator>
    <dc:date>2017-06-14T22:36:42Z</dc:date>
    <item>
      <title>NiFi 1.2 with AvroSchemaRegistry - Adding Schema Fails</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-1-2-with-AvroSchemaRegistry-Adding-Schema-Fails/m-p/219268#M62919</link>
      <description>&lt;P&gt;I first tried my own schema, which was validated with AVRO Tools and was valid.&lt;/P&gt;&lt;P&gt;Then I tried the one from &lt;A href="https://blogs.apache.org/nifi/" target="_blank"&gt;https://blogs.apache.org/nifi/&lt;/A&gt; latest article&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will not accept it as valid.   I copied the one from the blog and a few other valid schemas and none were accepted.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/16384-schemaerror.png"&gt;schemaerror.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 22:18:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-1-2-with-AvroSchemaRegistry-Adding-Schema-Fails/m-p/219268#M62919</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2017-06-14T22:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi 1.2 with AvroSchemaRegistry - Adding Schema Fails</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-1-2-with-AvroSchemaRegistry-Adding-Schema-Fails/m-p/219269#M62920</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/9304/tspann.html" nodeid="9304"&gt;@Timothy Spann&lt;/A&gt; Try minifying the Avro schema source (i.e., removing all the spaces and newlines) or just all the leading spaces from each line. It should work then.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 22:30:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-1-2-with-AvroSchemaRegistry-Adding-Schema-Fails/m-p/219269#M62920</guid>
      <dc:creator>jfrazee</dc:creator>
      <dc:date>2017-06-14T22:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi 1.2 with AvroSchemaRegistry - Adding Schema Fails</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-1-2-with-AvroSchemaRegistry-Adding-Schema-Fails/m-p/219270#M62921</link>
      <description>&lt;P&gt;Fixed by removing almost all spaces&lt;/P&gt;&lt;P&gt;Can't have empty lines, can't have line breaks, no spaces between array elements.&lt;/P&gt;&lt;PRE&gt;{"type":"record","namespace":"hortonworks.hdp.refapp.sensehat","name":"sensehat","fields":[{"name": "tempf", "type": "float"},{ "name": "cputemp", "type": "float"},{ "name": "pressure","type": "float"},{ "name": "host","type": "string"},{ "name": "pitch","type": "float"},{"name": "ipaddress","type": "string"},{"name": "temp","type": "float"},{ "name": "diskfree","type": "string"},{ "name": "yaw","type": "float" },{"name": "humidity","type": "float"},{"name": "memory","type": "float"},{"name": "y", "type": "float"},{"name": "x", "type": "float" },{"name": "z","type": "float"},{"name": "roll", "type": "float"}]}&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Jun 2017 22:36:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-1-2-with-AvroSchemaRegistry-Adding-Schema-Fails/m-p/219270#M62921</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2017-06-14T22:36:42Z</dc:date>
    </item>
  </channel>
</rss>

