Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-1832

TestSecureShuffle fails with NoClassDefFoundError: org/bouncycastle/x509/X509V1CertificateGenerator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.6.0
    • None
    • None

    Description

      mvn clean test -Dtest=TestSecureShuffle -Dhadoop.version=2.6.1-SNAPSHOT
      -------------------------------------------------------------------------------
      Test set: org.apache.tez.test.TestSecureShuffle
      -------------------------------------------------------------------------------
      Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 63.35 sec <<< FAILURE!
      testSecureShuffle[test[sslInCluster:true, resultWithTezSSL:0, resultWithoutTezSSL:1]](org.apache.tez.test.TestSecureShuffle) Time elapsed: 0.106 sec <<< ERROR!
      java.lang.NoClassDefFoundError: org/bouncycastle/x509/X509V1CertificateGenerator
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      at org.apache.hadoop.security.ssl.KeyStoreTestUtil.generateCertificate(KeyStoreTestUtil.java:88)
      at org.apache.hadoop.security.ssl.KeyStoreTestUtil.setupSSLConfig(KeyStoreTestUtil.java:243)
      at org.apache.hadoop.security.ssl.KeyStoreTestUtil.setupSSLConfig(KeyStoreTestUtil.java:208)
      at org.apache.tez.test.TestSecureShuffle.setupKeyStores(TestSecureShuffle.java:193)
      at org.apache.tez.test.TestSecureShuffle.setupTezCluster(TestSecureShuffle.java:113)

      Attachments

        1. TEZ-1832-v1.patch
          0.8 kB
          Jonathan Turner Eagles

        Activity

          People

            jeagles Jonathan Turner Eagles
            jeagles Jonathan Turner Eagles
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: