[
https://issues.apache.org/jira/browse/NIFI-6017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16767229#comment-16767229
]
ASF subversion and git services commented on NIFI-6017:
-------------------------------------------------------
Commit da8c8a14a13e0f52ba6bdeaa34afdf3bf259d6b7 in nifi's branch
refs/heads/master from Dorian Bugeja
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=da8c8a1 ]
NIFI-6017 - ArrayIndexOutOfBounds Load Balancer CorrelationAttributePartitioner
Signed-off-by: Mark Payne <[email protected]>
> ArrayIndexOutOfBounds Load Balancer CorrelationAttributePartitioner
> -------------------------------------------------------------------
>
> Key: NIFI-6017
> URL: https://issues.apache.org/jira/browse/NIFI-6017
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.8.0
> Reporter: Dorian Bugeja
> Assignee: Mark Payne
> Priority: Critical
> Fix For: 1.9.0
>
> Attachments:
> 0001-NIFI-6017-ArrayIndexOutOfBounds-Load-Balancer-Correl.patch
>
>
> When trying to perform load balancing on queue using 'partition by
> attribute', the use of the hashCode() function can return a negative value
> which in turns, the '%' operation might return a negative value (which is
> used as index) which throws an ArrayIndexOutOfBounds exception.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)