You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (JIRA)" <ji...@apache.org> on 2018/01/12 19:29:00 UTC

[jira] [Commented] (NIFI-4773) CreateDatabaseTable setup is incorrect

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

Mark Payne commented on NIFI-4773:
----------------------------------

I believe the issue here is that QueryDatabaseTable is connecting to a database in the @OnScheduled method. This method can then hang indefinitely in cases. We should avoid making the connection to the database in @OnScheduled and instead do it in the onTrigger method. We should also double-check that timeouts are always used.

> CreateDatabaseTable setup is incorrect
> --------------------------------------
>
>                 Key: NIFI-4773
>                 URL: https://issues.apache.org/jira/browse/NIFI-4773
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.2.0
>            Reporter: Wynner
>
> The QueryDatabaseTable processor calls the CreateDatabaseTable method, during setup this method is doing bad stuff in the OnSchedule method.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)