[
https://issues.apache.org/jira/browse/NIFI-883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14985417#comment-14985417
]
Mark Payne commented on NIFI-883:
---------------------------------
[~JPercivall] - ahh, much better! :) Rebuilt and verified contrib-check is
good. Ran erroneous and "good" tests again and got the expected behavior.
Nicely done! Merged and closed ticket.
> HandleHttpRequest starts a web server in the OnScheduled method but should
> start it in onTrigger
> ------------------------------------------------------------------------------------------------
>
> Key: NIFI-883
> URL: https://issues.apache.org/jira/browse/NIFI-883
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Mark Payne
> Assignee: Joseph Percivall
> Labels: beginner, newbie
> Fix For: 0.4.0
>
> Attachments: HttpRequestAndResponseTester.xml,
> NIFI-883_added_yield.patch
>
>
> When HandleHttpRequest is scheduled, it creates an embedded jetty web server
> and starts it. Unfortunately, if this is run in a clustered environment and
> configured to run on Primary Node Only, all nodes still start the web server.
> This is very confusing if setting the Hostname property, as other nodes will
> complain.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)