Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-22270

Upgrade commons-io to 2.6

    XMLWordPrintableJSON

Details

    Description

      Hive's currently using commons-io 2.4 and according to HIVE-21273, a number of issues are present in it, which can be resolved by upgrading to 2.6:

      IOUtils copyLarge() and skip() methods are performance hogs
      affectsVersions:2.3;2.4
      https://issues.apache.org/jira/projects/IO/issues/IO-355?filter=allopenissues
      CharSequenceInputStream#reset() behaves incorrectly in case when buffer size is not dividable by data size
      affectsVersions:2.4
      https://issues.apache.org/jira/projects/IO/issues/IO-356?filter=allopenissues
      [Tailer] InterruptedException while the thead is sleeping is silently ignored
      affectsVersions:2.4
      https://issues.apache.org/jira/projects/IO/issues/IO-357?filter=allopenissues
      IOUtils.contentEquals* methods returns false if input1 == input2; should return true
      affectsVersions:2.4
      https://issues.apache.org/jira/projects/IO/issues/IO-362?filter=allopenissues
      Apache Commons - standard links for documents are failing
      affectsVersions:2.4
      https://issues.apache.org/jira/projects/IO/issues/IO-369?filter=allopenissues
      FileUtils.sizeOfDirectoryAsBigInteger can overflow
      affectsVersions:2.4
      https://issues.apache.org/jira/projects/IO/issues/IO-390?filter=allopenissues
      Regression in FileUtils.readFileToString from 2.0.1
      affectsVersions:2.1;2.2;2.3;2.4
      https://issues.apache.org/jira/projects/IO/issues/IO-453?filter=allopenissues
      Correct exception message in FileUtils.getFile(File; String...)
      affectsVersions:2.4
      https://issues.apache.org/jira/projects/IO/issues/IO-479?filter=allopenissues
      org.apache.commons.io.FileUtils#waitFor waits too long
      affectsVersions:2.4
      https://issues.apache.org/jira/projects/IO/issues/IO-481?filter=allopenissues
      FilenameUtils should handle embedded null bytes
      affectsVersions:2.4
      https://issues.apache.org/jira/projects/IO/issues/IO-484?filter=allopenissues
      Exceptions are suppressed incorrectly when copying files.
      affectsVersions:2.4;2.5
      https://issues.apache.org/jira/projects/IO/issues/IO-502?filter=allopenissues

       

      Attachments

        1. HIVE-22270.01.patch
          1 kB
          David Lavati
        2. HIVE-22270.01.patch
          1 kB
          David Lavati
        3. HIVE-22270.01.patch
          1 kB
          David Lavati
        4. HIVE-22270.01.patch
          1 kB
          David Lavati
        5. HIVE-22270.patch
          1 kB
          David Lavati
        6. HIVE-22270.patch
          1 kB
          David Lavati
        7. HIVE-22270.patch
          1 kB
          David Lavati
        8. HIVE-22270.patch
          1 kB
          David Lavati

        Issue Links

          Activity

            People

              dlavati David Lavati
              dlavati David Lavati
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 20m
                  20m