Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-5580

PostHTTP always performs HEAD request to check acceptance of Flow Files even when 'Send as FlowFile' is false

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.8.0
    • None
    • Core Framework
    • None

    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

      Attachments

        Activity

          People

            Unassigned Unassigned
            aaronleon Aaron Leon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: