[
https://issues.apache.org/jira/browse/NIFI-5580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aaron Leon updated NIFI-5580:
-----------------------------
Description:
The PostHTTP processor performs a HEAD Request to the specified REST endpoint
to check if the endpoint accepts FlowFiles. This check should NOT occur if
"Send As FlowFile" is set to false; this will throw a 404 exception if the
endpoint does not accept HEAD requests.
Encountered while using PostHTTP processor to send a POST request to /_bulk
endpoint of Elasticsearch 5.3
2018-09-07 16:31:34,133 WARN [Timer-Driven Process Thread-42]
o.a.nifi.processors.standard.PostHTTP
PostHTTP[id=38eb43d1-8be7-18e0-0000-0000348fb09c] Unable to communicate with
destination; when attempting to perform an HTTP HEAD, got unexpected response
code of 404: Not Found
was:
The PostHTTP processor performs a HEAD Request to the specified REST endpoint
to check if the endpoint accepts FlowFiles. This check should occur if "Send As
FlowFile" is set to false; this will throw a 404 exception if the endpoint does
not accept HEAD requests.
Encountered while using PostHTTP processor to send a POST request to /_bulk
endpoint of Elasticsearch 5.3
2018-09-07 16:31:34,133 WARN [Timer-Driven Process Thread-42]
o.a.nifi.processors.standard.PostHTTP
PostHTTP[id=38eb43d1-8be7-18e0-0000-0000348fb09c] Unable to communicate with
destination; when attempting to perform an HTTP HEAD, got unexpected response
code of 404: Not Found
> PostHTTP always performs HEAD request to check acceptance of Flow Files even
> when 'Send as FlowFile' is false
> -------------------------------------------------------------------------------------------------------------
>
> Key: NIFI-5580
> URL: https://issues.apache.org/jira/browse/NIFI-5580
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.8.0
> Reporter: Aaron Leon
> Priority: Major
>
> The PostHTTP processor performs a HEAD Request to the specified REST endpoint
> to check if the endpoint accepts FlowFiles. This check should NOT occur if
> "Send As FlowFile" is set to false; this will throw a 404 exception if the
> endpoint does not accept HEAD requests.
> Encountered while using PostHTTP processor to send a POST request to /_bulk
> endpoint of Elasticsearch 5.3
> 2018-09-07 16:31:34,133 WARN [Timer-Driven Process Thread-42]
> o.a.nifi.processors.standard.PostHTTP
> PostHTTP[id=38eb43d1-8be7-18e0-0000-0000348fb09c] Unable to communicate with
> destination; when attempting to perform an HTTP HEAD, got unexpected response
> code of 404: Not Found
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)