nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Doran (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (NIFIREG-323) CLONE - Updated bootstrap port handling causes restarts to fail
Date Wed, 02 Oct 2019 20:34:00 GMT

     [ https://issues.apache.org/jira/browse/NIFIREG-323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kevin Doran resolved NIFIREG-323.
---------------------------------
    Resolution: Fixed

> CLONE - Updated bootstrap port handling causes restarts to fail
> ---------------------------------------------------------------
>
>                 Key: NIFIREG-323
>                 URL: https://issues.apache.org/jira/browse/NIFIREG-323
>             Project: NiFi Registry
>          Issue Type: Bug
>            Reporter: Aldrin Piri
>            Assignee: Bryan Bende
>            Priority: Blocker
>             Fix For: 1.0.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> NIFI-6653 introduced a way to avoid the port being changed to prevent a possible hijacking
of that port to provide other commands than those explicitly between bootstrap and the nifi
process.  This causes issues when the NiFi process dies and precludes restart (the default
functionality enabled out of the box).
> To recreate, build/run NiFi off of current master and kill the NiFi process.
> This will result in the following (when an additional nifi.sh status is carried out).
> {quote}2019-09-25 17:10:55,601 WARN [main] org.apache.nifi.bootstrap.RunNiFi Apache NiFi
appears to have died. Restarting...
> 2019-09-25 17:10:55,620 INFO [main] org.apache.nifi.bootstrap.Command Launched Apache
NiFi with Process ID 2088
> 2019-09-25 17:10:55,621 INFO [main] org.apache.nifi.bootstrap.RunNiFi Successfully started
Apache NiFi with PID 2088
> 2019-09-25 17:10:56,174 WARN [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi
Blocking attempt to change NiFi command port and secret after they have already been initialized.
requestedPort=37871
> 2019-09-25 17:11:50,783 INFO [main] o.a.n.b.NotificationServiceManager Successfully loaded
the following 0 services: []
> 2019-09-25 17:11:50,785 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification
Services for Notification Type NIFI_STARTED
> 2019-09-25 17:11:50,786 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification
Services for Notification Type NIFI_STOPPED
> 2019-09-25 17:11:50,786 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification
Services for Notification Type NIFI_DIED
> 2019-09-25 17:11:50,809 INFO [main] org.apache.nifi.bootstrap.Command Apache NiFi is
running at PID 2088 but is not responding to ping requests{quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message