[ 
https://issues.apache.org/jira/browse/NIFI-4279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16538992#comment-16538992
 ] 

Peter Wicks commented on NIFI-4279:
-----------------------------------

Based on research by [~Max Kelada], this is an issue with how the Oracle API 
handles default values.

[https://blog.jooq.org/2015/12/30/oracle-long-and-long-raw-causing-stream-has-already-been-closed-exception/]

Submitting a patch for this issue to cover PutDatabaseRecord and 
ConvertJSONToSQL, as these are the only two processors who read this schema 
property.

> PutDataBaseRecord and ConvertJSONToSQL stream has already been closed
> ---------------------------------------------------------------------
>
>                 Key: NIFI-4279
>                 URL: https://issues.apache.org/jira/browse/NIFI-4279
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.3.0
>         Environment: we have used nifi on openshift cluster and standalone on 
> a linux machine.
> Oracle database with version 11.2.0.2
> linux with rhel 7.0
>            Reporter: simon water
>            Assignee: Peter Wicks
>            Priority: Minor
>              Labels: database, nifi, patch, processor
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> we have created a table in an Oracle Database with a default sysdate column.
> when i restarted the processor it started throwing the stream has already 
> been closed exception
> i have used a csv file with the headers inside of it
> csv Reader that reads the column names from the csv
> the data base version is 11.2.0 Oracle database



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to