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

Replace use of org.apache.commons.compress.archivers.tar.TarArchiveInputStream and org.apache.commons.compress.archivers.zip.ZipArchiveInputStream deprecated getNextTarEntry() and getNextZipEntry() with getNextEntry()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0-M3
    • None
    • None

    Description

      The getNextTarEntry() of org.apache.commons.compress.archivers.tar.TarArchiveInputStream and getNextZipEntry() of org.apache.commons.compress.archivers.zip.ZipArchiveInputStream have been deprecated and the suggested replacement is to use method getNextEntry(). This should be replaced in the following places

      1. nifi-commons/nifi-flowfile-packager/src/main/java/org/apache/nifi/util/FlowFileUnpackagerV1
      2. c2/c2-client-bundle/c2-client-service/src/test/java/org/apache/nifi/c2/client/service/operation /TransferDebugOperationHandlerTest
      3. nifi-extension-bundles/nifi-hadoop-bundle/nifi-hdfs-processors/src/main/java/org/apache/nifi/pr ocessors/hadoop/TarUnpackerSequenceFileWriter
      4. nifi-extension-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/UnpackContent

      Attachments

        Issue Links

          Activity

            People

              dstiegli1 Daniel Stieglitz
              dstiegli1 Daniel Stieglitz
              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