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

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.8.0
    • Fix Version/s: None
    • Component/s: Core Framework
    • Labels:
      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

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

              Dates

              • Created:
                Updated: