Uploaded image for project: 'Apache NiFi MiNiFi C++'
  1. Apache NiFi MiNiFi C++
  2. MINIFICPP-152

MiNiFi-cpp does not honor "yield period"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.1.0

    Description

      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

      Attachments

        Activity

          People

            bqiu Ben Qiu
            randerzander Randy Gelhausen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: