You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Aldrin Piri (JIRA)" <ji...@apache.org> on 2016/11/22 15:15:58 UTC

[jira] [Commented] (MINIFI-93) MiNiFi-cpp does not honor "yield period"

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

Aldrin Piri commented on MINIFI-93:
-----------------------------------

[~randerzander] Was looking through issues and seems this item is taken care of.  Going to resolve but please feel free to reopen/comment if it is not working as anticipated.

> MiNiFi-cpp does not honor "yield period"
> ----------------------------------------
>
>                 Key: MINIFI-93
>                 URL: https://issues.apache.org/jira/browse/MINIFI-93
>             Project: Apache NiFi MiNiFi
>          Issue Type: Bug
>          Components: C++, Core Framework
>            Reporter: Randy Gelhausen
>            Assignee: bqiu
>              Labels: C++
>             Fix For: cpp-0.1.0
>
>
> If the minifi-cpp agent cannot communicate with the specified input port, it continuously tries to reconnect, ignoring the specified yield period. See example below.
> Example--
> Remote Processing Groups:
> - name: http://monitor.dev:8080/nifi
>   url: http://monitor.dev:8080/nifi
>   comment: ''
>   timeout: 30 sec
>   yield period: 10 sec
>   Input Ports:
>   - id: f25b1117-9c24-4230-a52c-b3c8d9e4d587
>     name: MiNiFiInput
>     comment: ''
>     max concurrent tasks: 1
>     use compression: false
>     Properties: # Deviates from spec and will later be removed when this is autonegotiated
>         Port: 1026
>         Host Name: monitor.dev
> minifi logs continuing forever:
> [2016-08-28 18:00:59.178] [minifi log] [error] socket connect failed to monitor.dev 1026
> [2016-08-28 18:00:59.178] [minifi log] [error] Site2Site peer socket open failed
> [2016-08-28 18:00:59.179] [minifi log] [error] socket connect failed to monitor.dev 1026
> [2016-08-28 18:00:59.180] [minifi log] [error] Site2Site peer socket open failed
> [2016-08-28 18:00:59.182] [minifi log] [error] socket connect failed to monitor.dev 1026
> [2016-08-28 18:00:59.182] [minifi log] [error] Site2Site peer socket open failed
> [2016-08-28 18:00:59.184] [minifi log] [error] socket connect failed to monitor.dev 1026
> [2016-08-28 18:00:59.184] [minifi log] [error] Site2Site peer socket open failed
> [2016-08-28 18:00:59.188] [minifi log] [error] socket connect failed to monitor.dev 1026
> [2016-08-28 18:00:59.188] [minifi log] [error] Site2Site peer socket open failed
> [2016-08-28 18:00:59.190] [minifi log] [error] socket connect failed to monitor.dev 1026
> [2016-08-28 18:00:59.190] [minifi log] [error] Site2Site peer socket open failed
> [2016-08-28 18:00:59.192] [minifi log] [error] socket connect failed to monitor.dev 1026
> [2016-08-28 18:00:59.192] [minifi log] [error] Site2Site peer socket open failed



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)