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

compress-commons does not handle large groupid values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.18.0
    • 1.19.0
    • C2
    • None

    Description

      There is a limitation in the org.apache.commons:commons-compress library which does not allow groupid values larger than 2097151 by default. Some users who have a large groupid value may experience problems building Apache NiFi, particularly the c2 modules.

      While this isn't the cause of the problem, the exhibited unit test failure is:

      [ERROR] Tests run: 12, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.317 s <<< FAILURE! - in org.apache.nifi.c2.client.service.operation.TransferDebugOperationHandlerTest
      [ERROR] org.apache.nifi.c2.client.service.operation.TransferDebugOperationHandlerTest.testContentIsFilteredOut(String, String, String, String)[1]  Time elapsed: 0.096 s  <<< FAILURE!
      Wanted but not invoked:
      c2Client.uploadBundle(
          <Capturing argument>,
          <Capturing argument>
      );
      -> at org.apache.nifi.c2.client.service.operation.TransferDebugOperationHandlerTest.testContentIsFilteredOut(TransferDebugOperationHandlerTest.java:206)
      Actually, there were zero interactions with this mock.

      Attachments

        Issue Links

          Activity

            People

              markbean Mark Bean
              markbean Mark Bean
              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