Dennis Kliche created NIFI-7998:
-----------------------------------

             Summary: Parquet file reader service throws Nullpointer Exception
                 Key: NIFI-7998
                 URL: https://issues.apache.org/jira/browse/NIFI-7998
             Project: Apache NiFi
          Issue Type: Bug
    Affects Versions: 1.12.1
         Environment: Docker build on Kubernetes
            Reporter: Dennis Kliche
         Attachments: Jira_Parquet_Error.json, 
image-2020-11-11-22-33-31-019.png, image-2020-11-11-22-41-13-099.png, 
image-2020-11-11-22-41-44-188.png

We have a pipeline that gets an parquet file and write it into a database via 
PutDatabase Record. The content of the flow file is a parquet file. If the flow 
file is processed we are getting a NullPointerException. 

 

!image-2020-11-11-22-33-31-019.png!

After some tests I found out, that the processor works like expected but if the 
flowfile is a parquet file and the reader is a parquet reader it throws this 
error.

To confirm that is has to do with the parquet reader, I used a very simple 
approach.
Generate flowfile with JSON transform it to parquet and then back to JSON. This 
resulted in the same error message.

In the attached Jira_Parquet_Error.json you can see my simple construction.
Here you can see the settings of the parquet writer:
!image-2020-11-11-22-41-13-099.png!




 

Here you can see the settings of Parquet Reader

 

!image-2020-11-11-22-41-44-188.png!

 

Until update from 1.11.4 to 1.12.1 it worked. Since 1.12.1 we are getting this 
issue.

 

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to