[ 
https://issues.apache.org/jira/browse/TEZ-1832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14241833#comment-14241833
 ] 

Jonathan Eagles commented on TEZ-1832:
--------------------------------------

[~hitesh], I have tested this successfully against hadoop-2.4 and above. Also, 
the bcprov-jdk16 artifact is the latest and supports 1.6, 1.7, and 1.8 and 
there is no specific artifact beyond 1.6. This dependency is only used in the 
test phase of the build and does not modify any jars that are packaged with the 
tez distribution.

> TestSecureShuffle fails with NoClassDefFoundError: 
> org/bouncycastle/x509/X509V1CertificateGenerator
> ---------------------------------------------------------------------------------------------------
>
>                 Key: TEZ-1832
>                 URL: https://issues.apache.org/jira/browse/TEZ-1832
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Jonathan Eagles
>            Assignee: Jonathan Eagles
>         Attachments: TEZ-1832-v1.patch
>
>
> 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)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to