You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Bryan Bende (JIRA)" <ji...@apache.org> on 2019/04/02 21:03:00 UTC
[jira] [Updated] (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:all-tabpanel ]
Bryan Bende updated NIFI-6177:
------------------------------
Status: Patch Available (was: Open)
> 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
> Fix For: 1.10.0
>
> Time Spent: 10m
> 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)