Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2888

Upgrade commons-io to 2.4

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.3.0
    • 5.0.0b1, 4.3.1
    • core
    • Patch

    Description

      After applying https://issues.apache.org/jira/browse/OOZIE-2780, test for

      mvn -Dtest=org.apache.oozie.util.TestZKUtilsWithSecurity -Dhadoop.version=2.6.0 test
      


      fails due to old commons-io. Hadoop ships with 2.4 and Oozie ships with 2.1. 2.4 being released in 2012 and 2.1 in 2011, it should be safe to upgrade it.

      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
      Concurrency config is parallel='classes', perCoreThreadCount=false, threadCount=1, useUnlimitedThreads=false
      objc[60066]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home/jre/bin/java (0x1016c24c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x10ab8b4e0). One of the two will be used. Which one is undefined.
      Running org.apache.oozie.util.TestZKUtilsWithSecurity
      Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 48.352 sec <<< FAILURE!
      
      Results :
      
      Tests in error:
        testCheckAndSetACLs(org.apache.oozie.util.TestZKUtilsWithSecurity): org/apache/commons/io/Charsets
        testNewUsingACLs(org.apache.oozie.util.TestZKUtilsWithSecurity): Another CacheManager with same name 'apacheds' already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following:(..)
      
      Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
      
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] Apache Oozie Main .................................. SUCCESS [  0.469 s]
      [INFO] Apache Oozie Hadoop Utils hadoop-2-4.4.0-SNAPSHOT .. SUCCESS [  1.512 s]
      [INFO] Apache Oozie Hadoop Distcp hadoop-2-4.4.0-SNAPSHOT . SUCCESS [  0.066 s]
      [INFO] Apache Oozie Hadoop Auth hadoop-2-4.4.0-SNAPSHOT Test SUCCESS [  0.282 s]
      [INFO] Apache Oozie Hadoop Libs ........................... SUCCESS [  0.020 s]
      [INFO] Apache Oozie Client ................................ SUCCESS [  0.433 s]
      [INFO] Apache Oozie Share Lib Oozie ....................... SUCCESS [  1.273 s]
      [INFO] Apache Oozie Share Lib HCatalog .................... SUCCESS [  0.734 s]
      [INFO] Apache Oozie Share Lib Distcp ...................... SUCCESS [  0.170 s]
      [INFO] Apache Oozie Core .................................. SUCCESS [  5.223 s]
      [INFO] Apache Oozie Share Lib Streaming ................... SUCCESS [  2.615 s]
      [INFO] Apache Oozie Share Lib Pig ......................... SUCCESS [  0.889 s]
      [INFO] Apache Oozie Share Lib Hive ........................ SUCCESS [  1.531 s]
      [INFO] Apache Oozie Share Lib Hive 2 ...................... SUCCESS [  1.743 s]
      [INFO] Apache Oozie Share Lib Sqoop ....................... SUCCESS [  0.468 s]
      [INFO] Apache Oozie Examples .............................. SUCCESS [  1.406 s]
      [INFO] Apache Oozie Share Lib Spark ....................... SUCCESS [  2.476 s]
      [INFO] Apache Oozie Share Lib ............................. SUCCESS [  0.014 s]
      [INFO] Apache Oozie Docs .................................. SUCCESS [  0.045 s]
      [INFO] Apache Oozie WebApp ................................ SUCCESS [  1.906 s]
      [INFO] Apache Oozie Tools ................................. SUCCESS [  0.992 s]
      [INFO] Apache Oozie MiniOozie ............................. SUCCESS [  0.566 s]
      [INFO] Apache Oozie Server ................................ SUCCESS [  2.856 s]
      [INFO] Apache Oozie Distro ................................ SUCCESS [  1.008 s]
      [INFO] Apache Oozie ZooKeeper Security Tests .............. FAILURE [ 51.491 s]
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 01:20 min
      [INFO] Finished at: 2017-05-12T15:31:22-04:00
      [INFO] Final Memory: 60M/398M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.2:test (default-test) on project oozie-zookeeper-security-tests: There are test failures.
      
      testNewUsingACLs(org.apache.oozie.util.TestZKUtilsWithSecurity): Another CacheManager with same name 'apacheds' already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following:(..)
      

      is related and is also fixed once commons-io is bumped to 2.4.

      Attachments

        1. OOZIE-2888-0.patch
          0.4 kB
          Artem Ervits

        Activity

          People

            dbist13 Artem Ervits
            dbist13 Artem Ervits
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: