ahmedabu98 opened a new pull request, #33342: URL: https://github.com/apache/beam/pull/33342
Fixes the failing [beam_PostCommit_Python_Xlang_IO_Direct](https://github.com/apache/beam/actions/workflows/beam_PostCommit_Python_Xlang_IO_Direct.yml) and [beam_PostCommit_Python_Xlang_IO_Dataflow](https://github.com/apache/beam/actions/workflows/beam_PostCommit_Python_Xlang_IO_Dataflow.yml) tests, which are running into the following error after the [recent hadoop bump](https://github.com/apache/beam/pull/33312) from 2.10.2 --> 3.4.1: <details> <summary> Error stacktrace: </summary> ``` E RuntimeError: org.apache.beam.sdk.util.UserCodeException: java.lang.NoSuchMethodError: org.apache.hadoop.security.HadoopKerberosName.setRuleMechanism(Ljava/lang/String;)V E at org.apache.beam.sdk.util.UserCodeException.wrap(UserCodeException.java:39) E at org.apache.beam.sdk.io.iceberg.WriteUngroupedRowsToFiles$WriteUngroupedRowsToFilesDoFn$DoFnInvoker.invokeStartBundle(Unknown Source) E at org.apache.beam.fn.harness.FnApiDoFnRunner.startBundle(FnApiDoFnRunner.java:804) E at org.apache.beam.fn.harness.data.PTransformFunctionRegistry.lambda$register$0(PTransformFunctionRegistry.java:116) E at org.apache.beam.fn.harness.control.ProcessBundleHandler.processBundle(ProcessBundleHandler.java:532) E at org.apache.beam.fn.harness.control.BeamFnControlClient.delegateOnInstructionRequestType(BeamFnControlClient.java:150) E at org.apache.beam.fn.harness.control.BeamFnControlClient$InboundObserver.lambda$onNext$0(BeamFnControlClient.java:115) E at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) E at java.util.concurrent.FutureTask.run(FutureTask.java:266) E at org.apache.beam.sdk.util.UnboundedScheduledExecutorService$ScheduledFutureTask.run(UnboundedScheduledExecutorService.java:163) E at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) E at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) E at java.lang.Thread.run(Thread.java:750) E Caused by: java.lang.NoSuchMethodError: org.apache.hadoop.security.HadoopKerberosName.setRuleMechanism(Ljava/lang/String;)V E at org.apache.hadoop.security.HadoopKerberosName.setConfiguration(HadoopKerberosName.java:84) E at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:314) E at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:299) E at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:586) E at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:3888) E at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:3878) E at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3666) E at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:557) E at org.apache.hadoop.fs.Path.getFileSystem(Path.java:366) E at org.apache.iceberg.hadoop.Util.getFs(Util.java:56) E at org.apache.iceberg.hadoop.HadoopCatalog.initialize(HadoopCatalog.java:112) E at org.apache.iceberg.CatalogUtil.loadCatalog(CatalogUtil.java:239) E at org.apache.iceberg.CatalogUtil.buildIcebergCatalog(CatalogUtil.java:284) E at org.apache.beam.sdk.io.iceberg.IcebergCatalogConfig.catalog(IcebergCatalogConfig.java:66) E at org.apache.beam.sdk.io.iceberg.WriteUngroupedRowsToFiles$WriteUngroupedRowsToFilesDoFn.getCatalog(WriteUngroupedRowsToFiles.java:213) E at org.apache.beam.sdk.io.iceberg.WriteUngroupedRowsToFiles$WriteUngroupedRowsToFilesDoFn.startBundle(WriteUngroupedRowsToFiles.java:221) ``` </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
