You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Behrouz (JIRA)" <ji...@apache.org> on 2019/07/12 20:07:00 UTC

[jira] [Commented] (NIFI-6438) PutSQL complaining about missing database.name even when it is set

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

Behrouz commented on NIFI-6438:
-------------------------------

When I set "Batch Size" to 1 , it works correctly.
I think this problem is duplicated:
https://issues.apache.org/jira/browse/NIFI-5970

> PutSQL complaining about missing database.name even when it is set
> ------------------------------------------------------------------
>
>                 Key: NIFI-6438
>                 URL: https://issues.apache.org/jira/browse/NIFI-6438
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.9.2
>         Environment: Linux
>            Reporter: Behrouz
>            Priority: Major
>             Fix For: 1.9.2
>
>
> I am going to use PutSQL with DBCPConnectionPoolLookup, but sometimes PutSQL doesn't process the incoming flow and show this error:
> {code:java}
> Failed to process session due to Attributes must contain an attribute name 'database.name': org.apache.nifi.processor.exception.ProcessException: Attributes must contain an attribute name 'database.name'{code}
> I set the 'database.name' correctly but it doesn't work.
>  I use several PutSQL in the way of fileflow, some of them work but a few doesn't work.
>  This error happened when I send several (more than 60) flowFile to the PutSQL processor.
> Somebody else has reported this issue:
> [http://apache-nifi.1125220.n5.nabble.com/DBCPConnectionPool-Not-looking-up-td25170.html]



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)