Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-6177

TestHBase_1_1_2_ListLookupService incorrectly uses TestRecordLookupProcessor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.10.0
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              bbende Bryan Bende
              bbende Bryan Bende
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h