[ 
https://issues.apache.org/jira/browse/NIFI-3087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15688498#comment-15688498
 ] 

ASF GitHub Bot commented on NIFI-3087:
--------------------------------------

GitHub user mattyb149 opened a pull request:

    https://github.com/apache/nifi/pull/1263

    NIFI-3087: Fixed issue with partial failure responses in 
PutElasticsearch(Http)

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mattyb149/nifi NIFI-3087

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi/pull/1263.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1263
    
----
commit d87219e73e61bb6b6f06c2273e58f5976672aa43
Author: Matt Burgess <[email protected]>
Date:   2016-11-23T01:07:31Z

    NIFI-3087: Added unit tests to PutElasticsearch(Http) to illustrate issue

commit 3f4e389cb82d69d39bb6bfd2d4c9ebb4584aacd1
Author: Matt Burgess <[email protected]>
Date:   2016-11-23T01:08:17Z

    NIFI-3087: Fixed issue with partial failure responses in 
PutElasticsearch(Http)

----


> PutElasticsearch(Http) processors not correctly handling partial failure
> ------------------------------------------------------------------------
>
>                 Key: NIFI-3087
>                 URL: https://issues.apache.org/jira/browse/NIFI-3087
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Matt Burgess
>            Assignee: Matt Burgess
>
> If a Bulk Insert is performed by PutElasticsearch and/or 
> PutElasticsearchHttp, and some records fail while others succeed, the 
> processor fails with an IndexOutOfBoundsException.
> This appears to be a negative logic/iteration bug in the code for handling 
> failures in the response with respect to the incoming flow files.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to