[ https://issues.apache.org/jira/browse/FLINK-27745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Flink Jira Bot updated FLINK-27745: ----------------------------------- Labels: stale-assigned test-stability (was: test-stability) I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help the community manage its development. I see this issue is assigned but has not received an update in 30 days, so it has been labeled "stale-assigned". If you are still working on the issue, please remove the label and add a comment updating the community on your progress. If this issue is waiting on feedback, please consider this a reminder to the committer/reviewer. Flink is a very active project, and so we appreciate your patience. If you are no longer working on the issue, please unassign yourself so someone else may work on it. > ClientUtilsTest.uploadAndSetUserArtifacts failed with NoClassDefFoundError > -------------------------------------------------------------------------- > > Key: FLINK-27745 > URL: https://issues.apache.org/jira/browse/FLINK-27745 > Project: Flink > Issue Type: Bug > Components: Runtime / Coordination > Affects Versions: 1.16.0 > Reporter: Huang Xingbo > Assignee: Yang Wang > Priority: Major > Labels: stale-assigned, test-stability > Fix For: 1.16.0 > > > {code:java} > 2022-05-23T10:27:20.0131798Z May 23 10:27:20 [ERROR] Tests run: 2, Failures: > 0, Errors: 1, Skipped: 0, Time elapsed: 0.729 s <<< FAILURE! - in > org.apache.flink.runtime.client.ClientUtilsTest > 2022-05-23T10:27:20.0133550Z May 23 10:27:20 [ERROR] > org.apache.flink.runtime.client.ClientUtilsTest.uploadAndSetUserArtifacts > Time elapsed: 0.639 s <<< ERROR! > 2022-05-23T10:27:20.0134569Z May 23 10:27:20 > org.apache.flink.util.FlinkException: Could not upload job files. > 2022-05-23T10:27:20.0135587Z May 23 10:27:20 at > org.apache.flink.runtime.client.ClientUtils.uploadJobGraphFiles(ClientUtils.java:86) > 2022-05-23T10:27:20.0136861Z May 23 10:27:20 at > org.apache.flink.runtime.client.ClientUtils.extractAndUploadJobGraphFiles(ClientUtils.java:62) > 2022-05-23T10:27:20.0138163Z May 23 10:27:20 at > org.apache.flink.runtime.client.ClientUtilsTest.uploadAndSetUserArtifacts(ClientUtilsTest.java:137) > 2022-05-23T10:27:20.0139618Z May 23 10:27:20 at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > 2022-05-23T10:27:20.0140639Z May 23 10:27:20 at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > 2022-05-23T10:27:20.0142022Z May 23 10:27:20 at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > 2022-05-23T10:27:20.0144222Z May 23 10:27:20 at > java.lang.reflect.Method.invoke(Method.java:498) > 2022-05-23T10:27:20.0145368Z May 23 10:27:20 at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > 2022-05-23T10:27:20.0146856Z May 23 10:27:20 at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > 2022-05-23T10:27:20.0147934Z May 23 10:27:20 at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) > 2022-05-23T10:27:20.0148815Z May 23 10:27:20 at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > 2022-05-23T10:27:20.0149537Z May 23 10:27:20 at > org.apache.flink.util.TestNameProvider$1.evaluate(TestNameProvider.java:45) > 2022-05-23T10:27:20.0150204Z May 23 10:27:20 at > org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61) > 2022-05-23T10:27:20.0150848Z May 23 10:27:20 at > org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > 2022-05-23T10:27:20.0151599Z May 23 10:27:20 at > org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) > 2022-05-23T10:27:20.0152293Z May 23 10:27:20 at > org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) > 2022-05-23T10:27:20.0153073Z May 23 10:27:20 at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) > 2022-05-23T10:27:20.0153876Z May 23 10:27:20 at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) > 2022-05-23T10:27:20.0154555Z May 23 10:27:20 at > org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) > 2022-05-23T10:27:20.0155189Z May 23 10:27:20 at > org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > 2022-05-23T10:27:20.0155846Z May 23 10:27:20 at > org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > 2022-05-23T10:27:20.0156708Z May 23 10:27:20 at > org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > 2022-05-23T10:27:20.0157380Z May 23 10:27:20 at > org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > 2022-05-23T10:27:20.0158056Z May 23 10:27:20 at > org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) > 2022-05-23T10:27:20.0158760Z May 23 10:27:20 at > org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) > 2022-05-23T10:27:20.0159493Z May 23 10:27:20 at > org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) > 2022-05-23T10:27:20.0160124Z May 23 10:27:20 at > org.junit.rules.RunRules.evaluate(RunRules.java:20) > 2022-05-23T10:27:20.0160740Z May 23 10:27:20 at > org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > 2022-05-23T10:27:20.0161649Z May 23 10:27:20 at > org.junit.runners.ParentRunner.run(ParentRunner.java:413) > 2022-05-23T10:27:20.0162267Z May 23 10:27:20 at > org.junit.runner.JUnitCore.run(JUnitCore.java:137) > 2022-05-23T10:27:20.0162936Z May 23 10:27:20 at > org.junit.runner.JUnitCore.run(JUnitCore.java:115) > 2022-05-23T10:27:20.0163607Z May 23 10:27:20 at > org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) > 2022-05-23T10:27:20.0164434Z May 23 10:27:20 at > org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) > 2022-05-23T10:27:20.0165171Z May 23 10:27:20 at > org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) > 2022-05-23T10:27:20.0165937Z May 23 10:27:20 at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107) > 2022-05-23T10:27:20.0166789Z May 23 10:27:20 at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) > 2022-05-23T10:27:20.0167659Z May 23 10:27:20 at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) > 2022-05-23T10:27:20.0168723Z May 23 10:27:20 at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) > 2022-05-23T10:27:20.0169705Z May 23 10:27:20 at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) > 2022-05-23T10:27:20.0170495Z May 23 10:27:20 at > org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) > 2022-05-23T10:27:20.0171297Z May 23 10:27:20 at > org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) > 2022-05-23T10:27:20.0172093Z May 23 10:27:20 at > org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) > 2022-05-23T10:27:20.0173020Z May 23 10:27:20 at > org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53) > 2022-05-23T10:27:20.0173937Z May 23 10:27:20 at > org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.lambda$execute$1(JUnitPlatformProvider.java:199) > 2022-05-23T10:27:20.0174681Z May 23 10:27:20 at > java.util.Iterator.forEachRemaining(Iterator.java:116) > 2022-05-23T10:27:20.0175480Z May 23 10:27:20 at > org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:193) > 2022-05-23T10:27:20.0176339Z May 23 10:27:20 at > org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154) > 2022-05-23T10:27:20.0177183Z May 23 10:27:20 at > org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:120) > 2022-05-23T10:27:20.0178056Z May 23 10:27:20 at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428) > 2022-05-23T10:27:20.0178773Z May 23 10:27:20 at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) > 2022-05-23T10:27:20.0179467Z May 23 10:27:20 at > org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562) > 2022-05-23T10:27:20.0180300Z May 23 10:27:20 at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548) > 2022-05-23T10:27:20.0182512Z May 23 10:27:20 Caused by: > org.apache.flink.core.fs.UnsupportedFileSystemSchemeException: Could not find > a file system implementation for scheme 'hdfs'. The scheme is not directly > supported by Flink and no Hadoop file system to support this scheme could be > loaded. For a full list of supported file systems, please see > https://nightlies.apache.org/flink/flink-docs-stable/ops/filesystems/. > 2022-05-23T10:27:20.0183929Z May 23 10:27:20 at > org.apache.flink.core.fs.FileSystem.getUnguardedFileSystem(FileSystem.java:532) > 2022-05-23T10:27:20.0184625Z May 23 10:27:20 at > org.apache.flink.core.fs.FileSystem.get(FileSystem.java:409) > 2022-05-23T10:27:20.0185269Z May 23 10:27:20 at > org.apache.flink.core.fs.Path.getFileSystem(Path.java:274) > 2022-05-23T10:27:20.0185973Z May 23 10:27:20 at > org.apache.flink.runtime.client.ClientUtils.uploadUserArtifacts(ClientUtils.java:150) > 2022-05-23T10:27:20.0186751Z May 23 10:27:20 at > org.apache.flink.runtime.client.ClientUtils.uploadAndSetUserArtifacts(ClientUtils.java:139) > 2022-05-23T10:27:20.0187507Z May 23 10:27:20 at > org.apache.flink.runtime.client.ClientUtils.uploadJobGraphFiles(ClientUtils.java:84) > 2022-05-23T10:27:20.0188060Z May 23 10:27:20 ... 51 more > 2022-05-23T10:27:20.0189130Z May 23 10:27:20 Caused by: > org.apache.flink.core.fs.UnsupportedFileSystemSchemeException: Cannot support > file system for 'hdfs' via Hadoop, because Hadoop is not in the classpath, or > some classes are missing from the classpath. > 2022-05-23T10:27:20.0190067Z May 23 10:27:20 at > org.apache.flink.runtime.fs.hdfs.HadoopFsFactory.create(HadoopFsFactory.java:189) > 2022-05-23T10:27:20.0190799Z May 23 10:27:20 at > org.apache.flink.core.fs.FileSystem.getUnguardedFileSystem(FileSystem.java:528) > 2022-05-23T10:27:20.0191401Z May 23 10:27:20 ... 56 more > 2022-05-23T10:27:20.0192005Z May 23 10:27:20 Caused by: > java.lang.NoClassDefFoundError: Could not initialize class > org.apache.hadoop.security.UserGroupInformation$HadoopConfiguration > 2022-05-23T10:27:20.0193066Z May 23 10:27:20 at > org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:842) > 2022-05-23T10:27:20.0194009Z May 23 10:27:20 at > org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:807) > 2022-05-23T10:27:20.0194794Z May 23 10:27:20 at > org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:680) > 2022-05-23T10:27:20.0195506Z May 23 10:27:20 at > org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:318) > 2022-05-23T10:27:20.0196131Z May 23 10:27:20 at > org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:285) > 2022-05-23T10:27:20.0196822Z May 23 10:27:20 at > org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:160) > 2022-05-23T10:27:20.0197566Z May 23 10:27:20 at > org.apache.flink.runtime.fs.hdfs.HadoopFsFactory.create(HadoopFsFactory.java:168) > 2022-05-23T10:27:20.0198100Z May 23 10:27:20 ... 57 more > {code} > https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=35959&view=logs&j=0da23115-68bb-5dcd-192c-bd4c8adebde1&t=24c3384f-1bcb-57b3-224f-51bf973bbee8&l=9769 -- This message was sent by Atlassian Jira (v8.20.10#820010)