[jira] [Updated] (NIFI-7882) Null as default value in avro generates exception

2023-09-05 Thread Michael W Moser (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-7882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael W Moser updated NIFI-7882:
--
Fix Version/s: 1.17.0
   Resolution: Fixed
   Status: Resolved  (was: Patch Available)

> Null as default value in avro generates exception
> -
>
> Key: NIFI-7882
> URL: https://issues.apache.org/jira/browse/NIFI-7882
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Core Framework
>Reporter: Dominik Przybysz
>Priority: Major
> Fix For: 1.17.0
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> When I have a record without value for fields, then missing fields will be 
> populated with default values from schema. It was added in 
> https://issues.apache.org/jira/browse/NIFI-4030
> But when null is default value then avro 1.8.1 returns 
> org.apache.avro.JsonProperties$Null which cannot be converted to null value 
> (the issue in avro is described in 
> https://issues.apache.org/jira/browse/AVRO-1954) and processors fail with 
> error:
> {code}
> ERROR o.a.n.p.standard.ConvertRecord - 
> ConvertRecord[id=37460cbe-17f1-4456-a6b9-f4ed1baa4c45] Failed to process 
> FlowFile[0,436030859382835.mockFlowFile,161B]; will route to failure: 
> org.apache.avro.file.DataFileWriter$AppendWriteException: 
> org.apache.avro.AvroRuntimeException: Unknown datum type 
> org.apache.avro.JsonProperties$Null: 
> org.apache.avro.JsonProperties$Null@1723f29f
> {code}
> Probably Apache Nifi should upgrade to newer avro or backport the fix from 
> avro 1.9.x to AvroTypeUtil



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (NIFI-7882) Null as default value in avro generates exception

2020-10-12 Thread Matt Burgess (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-7882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matt Burgess updated NIFI-7882:
---
Affects Version/s: (was: 1.12.1)
   (was: 1.11.4)
   (was: 1.9.2)
   (was: 1.10.0)
   Status: Patch Available  (was: Open)

> Null as default value in avro generates exception
> -
>
> Key: NIFI-7882
> URL: https://issues.apache.org/jira/browse/NIFI-7882
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Core Framework
>Reporter: Dominik Przybysz
>Priority: Major
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> When I have a record without value for fields, then missing fields will be 
> populated with default values from schema. It was added in 
> https://issues.apache.org/jira/browse/NIFI-4030
> But when null is default value then avro 1.8.1 returns 
> org.apache.avro.JsonProperties$Null which cannot be converted to null value 
> (the issue in avro is described in 
> https://issues.apache.org/jira/browse/AVRO-1954) and processors fail with 
> error:
> {code}
> ERROR o.a.n.p.standard.ConvertRecord - 
> ConvertRecord[id=37460cbe-17f1-4456-a6b9-f4ed1baa4c45] Failed to process 
> FlowFile[0,436030859382835.mockFlowFile,161B]; will route to failure: 
> org.apache.avro.file.DataFileWriter$AppendWriteException: 
> org.apache.avro.AvroRuntimeException: Unknown datum type 
> org.apache.avro.JsonProperties$Null: 
> org.apache.avro.JsonProperties$Null@1723f29f
> {code}
> Probably Apache Nifi should upgrade to newer avro or backport the fix from 
> avro 1.9.x to AvroTypeUtil



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


[jira] [Updated] (NIFI-7882) Null as default value in avro generates exception

2020-10-06 Thread Dominik Przybysz (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-7882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dominik Przybysz updated NIFI-7882:
---
Affects Version/s: 1.10.0
   1.9.2
   1.11.4

> Null as default value in avro generates exception
> -
>
> Key: NIFI-7882
> URL: https://issues.apache.org/jira/browse/NIFI-7882
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Core Framework
>Affects Versions: 1.10.0, 1.9.2, 1.11.4, 1.12.1
>Reporter: Dominik Przybysz
>Priority: Major
>
> When I have a record without value for fields, then missing fields will be 
> populated with default values from schema. It was added in 
> https://issues.apache.org/jira/browse/NIFI-4030
> But when null is default value then avro 1.8.1 returns 
> org.apache.avro.JsonProperties$Null which cannot be converted to null value 
> (the issue in avro is described in 
> https://issues.apache.org/jira/browse/AVRO-1954) and processors fail with 
> error:
> {code}
> ERROR o.a.n.p.standard.ConvertRecord - 
> ConvertRecord[id=37460cbe-17f1-4456-a6b9-f4ed1baa4c45] Failed to process 
> FlowFile[0,436030859382835.mockFlowFile,161B]; will route to failure: 
> org.apache.avro.file.DataFileWriter$AppendWriteException: 
> org.apache.avro.AvroRuntimeException: Unknown datum type 
> org.apache.avro.JsonProperties$Null: 
> org.apache.avro.JsonProperties$Null@1723f29f
> {code}
> Probably Apache Nifi should upgrade to newer avro or backport the fix from 
> avro 1.9.x to AvroTypeUtil



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


[jira] [Updated] (NIFI-7882) Null as default value in avro generates exception

2020-10-05 Thread Dominik Przybysz (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-7882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dominik Przybysz updated NIFI-7882:
---
Description: 
When I have a record without value for fields, then missing fields will be 
populated with default values from schema. It was added in 
https://issues.apache.org/jira/browse/NIFI-4030

But when null is default value then avro 1.8.1 returns 
org.apache.avro.JsonProperties$Null which cannot be converted to null value 
(the issue in avro is described in 
https://issues.apache.org/jira/browse/AVRO-1954) and processors fail with error:

{code}
ERROR o.a.n.p.standard.ConvertRecord - 
ConvertRecord[id=37460cbe-17f1-4456-a6b9-f4ed1baa4c45] Failed to process 
FlowFile[0,436030859382835.mockFlowFile,161B]; will route to failure: 
org.apache.avro.file.DataFileWriter$AppendWriteException: 
org.apache.avro.AvroRuntimeException: Unknown datum type 
org.apache.avro.JsonProperties$Null: 
org.apache.avro.JsonProperties$Null@1723f29f
{code}

Probably Apache Nifi should upgrade to newer avro or backport the fix from avro 
1.9.x to AvroTypeUtil

  was:
When I have a record without value for fields, then missing fields will be 
populated with default values from schema. It was added in 
https://issues.apache.org/jira/browse/NIFI-4030

But when null is default value then avro 1.8.1 returns 
org.apache.avro.JsonProperties$Null which cannot be converted to null value 
(the issue in avro is described in 
https://issues.apache.org/jira/browse/AVRO-1954)

Probably Apache Nifi should upgrade to newer avro or backport the fix from avro 
1.9.x to AvroTypeUtil


> Null as default value in avro generates exception
> -
>
> Key: NIFI-7882
> URL: https://issues.apache.org/jira/browse/NIFI-7882
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Core Framework
>Affects Versions: 1.12.1
>Reporter: Dominik Przybysz
>Priority: Major
>
> When I have a record without value for fields, then missing fields will be 
> populated with default values from schema. It was added in 
> https://issues.apache.org/jira/browse/NIFI-4030
> But when null is default value then avro 1.8.1 returns 
> org.apache.avro.JsonProperties$Null which cannot be converted to null value 
> (the issue in avro is described in 
> https://issues.apache.org/jira/browse/AVRO-1954) and processors fail with 
> error:
> {code}
> ERROR o.a.n.p.standard.ConvertRecord - 
> ConvertRecord[id=37460cbe-17f1-4456-a6b9-f4ed1baa4c45] Failed to process 
> FlowFile[0,436030859382835.mockFlowFile,161B]; will route to failure: 
> org.apache.avro.file.DataFileWriter$AppendWriteException: 
> org.apache.avro.AvroRuntimeException: Unknown datum type 
> org.apache.avro.JsonProperties$Null: 
> org.apache.avro.JsonProperties$Null@1723f29f
> {code}
> Probably Apache Nifi should upgrade to newer avro or backport the fix from 
> avro 1.9.x to AvroTypeUtil



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