[ 
https://issues.apache.org/jira/browse/TEZ-4635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

László Bodor resolved TEZ-4635.
-------------------------------
    Resolution: Fixed

> The bcprov JAR is no longer included in tez.tar.gz from Hadoop 3.4.1
> --------------------------------------------------------------------
>
>                 Key: TEZ-4635
>                 URL: https://issues.apache.org/jira/browse/TEZ-4635
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: László Bodor
>            Assignee: László Bodor
>            Priority: Major
>             Fix For: 1.0.0
>
>         Attachments: hadoop_3.4.0_dependency_tree_verbose.log, 
> hadoop_3.4.1_dependency_tree_verbose.log, 
> tez_hadoop_3.4.0_dependency_tree_verbose.log, 
> tez_hadoop_3.4.1_dependency_tree_verbose.log
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Since the Hadoop 3.4.1 upgrade, the bcprov jar is not present in the 
> tez.tar.gz, leading to exceptions like below:
> {code}
> 2025-06-11 23:29:58,709 ERROR SessionState: [HiveServer2-Background-Pool: 
> Thread-292]: Vertex failed, vertexName=Reducer 2, 
> vertexId=vertex_1749709001539_0001_1_01, diagnostics=[Task failed, 
> taskId=task_1749709001539_0001_1_01_000000, diagnostics=[TaskAttempt 0 
> failed, info=[Error: Node: quasar-ddxzkq-5.vpc.cloudera.com/10.65.51.123 : 
> Error while running task ( failure ) : 
> attempt_1749709001539_0001_1_01_000000_0:java.lang.RuntimeException: 
> java.lang.RuntimeException: Hive Runtime Error while closing operators: 
> java.io.IOException: java.lang.NoClassDefFoundError: 
> org/bouncycastle/jce/provider/BouncyCastleProvider
>       at 
> org.apache.hadoop.hive.ql.exec.tez.TezProcessor.initializeAndRunProcessor(TezProcessor.java:351)
>       at 
> org.apache.hadoop.hive.ql.exec.tez.TezProcessor.run(TezProcessor.java:280)
>       at 
> org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.run(LogicalIOProcessorRuntimeTask.java:374)
>       at 
> org.apache.tez.runtime.task.TaskRunner2Callable$1.run(TaskRunner2Callable.java:84)
>       at 
> org.apache.tez.runtime.task.TaskRunner2Callable$1.run(TaskRunner2Callable.java:70)
>       at java.base/java.security.AccessController.doPrivileged(Native Method)
>       at java.base/javax.security.auth.Subject.doAs(Subject.java:423)
>       at 
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1964)
>       at 
> org.apache.tez.runtime.task.TaskRunner2Callable.callInternal(TaskRunner2Callable.java:70)
>       at 
> org.apache.tez.runtime.task.TaskRunner2Callable.callInternal(TaskRunner2Callable.java:40)
>       at org.apache.tez.common.CallableWithNdc.call(CallableWithNdc.java:36)
>       at 
> com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:131)
>       at 
> com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:75)
>       at 
> com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82)
>       at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>       at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>       at java.base/java.lang.Thread.run(Thread.java:829)
> Caused by: java.lang.RuntimeException: Hive Runtime Error while closing 
> operators: java.io.IOException: java.lang.NoClassDefFoundError: 
> org/bouncycastle/jce/provider/BouncyCastleProvider
>       at 
> org.apache.hadoop.hive.ql.exec.tez.ReduceRecordProcessor.close(ReduceRecordProcessor.java:407)
>       at 
> org.apache.hadoop.hive.ql.exec.tez.TezProcessor.initializeAndRunProcessor(TezProcessor.java:313)
>       ... 16 more
> Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: 
> java.io.IOException: java.lang.NoClassDefFoundError: 
> org/bouncycastle/jce/provider/BouncyCastleProvider
>       at 
> org.apache.hadoop.hive.ql.exec.FileSinkOperator$FSPaths.closeWriters(FileSinkOperator.java:284)
>       at 
> org.apache.hadoop.hive.ql.exec.FileSinkOperator.closeOp(FileSinkOperator.java:1517)
>       at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:731)
>       at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:755)
>       at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:755)
>       at 
> org.apache.hadoop.hive.ql.exec.tez.ReduceRecordProcessor.close(ReduceRecordProcessor.java:383)
>       ... 17 more
> Caused by: java.io.IOException: java.lang.NoClassDefFoundError: 
> org/bouncycastle/jce/provider/BouncyCastleProvider
>       at 
> org.apache.hadoop.hdfs.ExceptionLastSeen.set(ExceptionLastSeen.java:45)
>       at org.apache.hadoop.hdfs.DataStreamer.run(DataStreamer.java:862)
> Caused by: java.lang.NoClassDefFoundError: 
> org/bouncycastle/jce/provider/BouncyCastleProvider
>       at java.base/java.lang.Class.forName0(Native Method)
>       at java.base/java.lang.Class.forName(Class.java:398)
>       at 
> org.apache.hadoop.conf.Configuration.getClassByNameOrNull(Configuration.java:2674)
>       at 
> org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2639)
>       at 
> org.apache.hadoop.crypto.CryptoCodec.getCodecClasses(CryptoCodec.java:130)
>       at org.apache.hadoop.crypto.CryptoCodec.getInstance(CryptoCodec.java:61)
>       at 
> org.apache.hadoop.hdfs.protocol.datatransfer.sasl.DataTransferSaslUtil.createStreamPair(DataTransferSaslUtil.java:391)
>       at 
> org.apache.hadoop.hdfs.protocol.datatransfer.sasl.SaslDataTransferClient.doSaslHandshake(SaslDataTransferClient.java:603)
>       at 
> org.apache.hadoop.hdfs.protocol.datatransfer.sasl.SaslDataTransferClient.getEncryptedStreams(SaslDataTransferClient.java:333)
>       at 
> org.apache.hadoop.hdfs.protocol.datatransfer.sasl.SaslDataTransferClient.send(SaslDataTransferClient.java:267)
>       at 
> org.apache.hadoop.hdfs.protocol.datatransfer.sasl.SaslDataTransferClient.checkTrustAndSend(SaslDataTransferClient.java:236)
>       at 
> org.apache.hadoop.hdfs.protocol.datatransfer.sasl.SaslDataTransferClient.socketSend(SaslDataTransferClient.java:203)
>       at 
> org.apache.hadoop.hdfs.protocol.datatransfer.sasl.SaslDataTransferClient.socketSend(SaslDataTransferClient.java:193)
>       at 
> org.apache.hadoop.hdfs.DataStreamer.createBlockOutputStream(DataStreamer.java:1900)
>       at 
> org.apache.hadoop.hdfs.DataStreamer.setupPipelineForCreate(DataStreamer.java:1842)
>       at org.apache.hadoop.hdfs.DataStreamer.run(DataStreamer.java:752)
> Caused by: java.lang.ClassNotFoundException: 
> org.bouncycastle.jce.provider.BouncyCastleProvider
>       at 
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
>       at 
> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
>       at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)
>       ... 16 more
> ], ...
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to