[
https://issues.apache.org/jira/browse/NIFI-883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14791329#comment-14791329
]
Joseph Percivall edited comment on NIFI-883 at 9/16/15 11:56 PM:
-----------------------------------------------------------------
Patch to fix bug and the flow template I used to test.
was (Author: jpercivall):
Patch to fix bug and the flow file I used to test.
> 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.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)