nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cerulean Blue <j.007...@gmail.com>
Subject Re: JSON / Avro issues
Date Fri, 06 Nov 2015 03:24:25 GMT
I'm using a snapshot built yesterday.  

Thanks 


Sent from my iPhone

> On Nov 5, 2015, at 4:19 PM, Bryan Bende <bbende@gmail.com> wrote:
> 
> Jeff,
> 
> Are you using the 0.3.0 release?
> 
> I think this is the issue you ran into which is resolved for the next release:
> https://issues.apache.org/jira/browse/NIFI-944
> 
> With regards to ConvertJSONtoAvro, I believe it one json document per line with a new
line at the end of each line (your second example). 
> 
> -Bryan
> 
>> On Thu, Nov 5, 2015 at 4:59 PM, Jeff <j.007ba7@gmail.com> wrote:
>> I built a simple flow that reads a tab separated file and attempts to convert to
Avro.
>> 
>> ConvertCSVtoAvro just says that the conversion failed.
>> 
>> Where can I find more information on what the failure was?
>> 
>> Using the same sample tab separated file, I create a JSON file out of it.
>> 
>> The JSON to Avro processor also fails with very little explication.
>> 
>> 
>> With regard to the ConvertCSVtoAvro processor
>>         Since my file is tab  delimited, do I simple open the "CSV delimiter” property,
delete , and hit the tab key or is there a special syntax like ^t?
>>         My data has no CSV quote character so do I leave this as “or delete it
or check the empty box?
>> 
>> With regard to the ConvertJSONtoAvro
>>         What is the expected JSON source file to look like?
>>                 [
>>                  {fields values … },
>>                  {fields values …}
>>                 ]
>>         Or
>>                  {fields values … }
>>                  {fields values …}
>>         or something else.
>> 
>> Thanks,
>> 
>> Sorry for send this to 2 lists
> 

Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message