You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/04/06 12:33:00 UTC

[jira] [Commented] (NIFI-6177) TestHBase_1_1_2_ListLookupService incorrectly uses TestRecordLookupProcessor

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

ASF subversion and git services commented on NIFI-6177:
-------------------------------------------------------

Commit 25cb29e10949f9ea64d815aa64ecdedd71805f3c in nifi's branch refs/heads/master from Bryan Bende
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=25cb29e ]

NIFI-6177 Refactor HBaseListLookupService tests to remove use of TestRecordLookupProcessor

Signed-off-by: Pierre Villard <pi...@gmail.com>

This closes #3400.


> TestHBase_1_1_2_ListLookupService incorrectly uses TestRecordLookupProcessor
> ----------------------------------------------------------------------------
>
>                 Key: NIFI-6177
>                 URL: https://issues.apache.org/jira/browse/NIFI-6177
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Bryan Bende
>            Assignee: Bryan Bende
>            Priority: Minor
>              Labels: Java11
>             Fix For: 1.10.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> This test uses the TestRecordLookupProcessor because the mock framework needs a processor to create a test runner, but the test really isn't using the processor.
> When the test runs, the processor has a List<Record> but this lookup service returns List, so it ends up adding List to List<Record> , which apparently Java 8 allows.
> In Java 11 it throws a class cast exception.
> Same problem exists in the 2.x version of the HBase stuff.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)