Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-22819

YARNFileReplicationITCase fails with "The YARN application unexpectedly switched to state FAILED during deployment"

    XMLWordPrintableJSON

Details

    Description

      https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=18467&view=logs&j=8fd975ef-f478-511d-4997-6f15fe8a1fd3&t=ac0fa443-5d45-5a6b-3597-0310ecc1d2ab&l=32007

      May 31 23:14:22 org.apache.flink.client.deployment.ClusterDeploymentException: Could not deploy Yarn job cluster.
      May 31 23:14:22 	at org.apache.flink.yarn.YarnClusterDescriptor.deployJobCluster(YarnClusterDescriptor.java:481)
      May 31 23:14:22 	at org.apache.flink.yarn.YARNFileReplicationITCase.deployPerJob(YARNFileReplicationITCase.java:106)
      May 31 23:14:22 	at org.apache.flink.yarn.YARNFileReplicationITCase.lambda$testPerJobModeWithDefaultFileReplication$1(YARNFileReplicationITCase.java:78)
      May 31 23:14:22 	at org.apache.flink.yarn.YarnTestBase.runTest(YarnTestBase.java:287)
      May 31 23:14:22 	at org.apache.flink.yarn.YARNFileReplicationITCase.testPerJobModeWithDefaultFileReplication(YARNFileReplicationITCase.java:78)
      May 31 23:14:22 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      May 31 23:14:22 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      May 31 23:14:22 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      May 31 23:14:22 	at java.lang.reflect.Method.invoke(Method.java:498)
      May 31 23:14:22 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      May 31 23:14:22 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      May 31 23:14:22 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      May 31 23:14:22 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      May 31 23:14:22 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      May 31 23:14:22 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      May 31 23:14:22 	at org.apache.flink.util.TestNameProvider$1.evaluate(TestNameProvider.java:45)
      May 31 23:14:22 	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
      May 31 23:14:22 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      May 31 23:14:22 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      May 31 23:14:22 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      May 31 23:14:22 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      May 31 23:14:22 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      May 31 23:14:22 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      May 31 23:14:22 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      May 31 23:14:22 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      May 31 23:14:22 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      May 31 23:14:22 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      May 31 23:14:22 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      May 31 23:14:22 	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
      May 31 23:14:22 	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
      May 31 23:14:22 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      May 31 23:14:22 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      May 31 23:14:22 	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
      May 31 23:14:22 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
      May 31 23:14:22 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
      May 31 23:14:22 	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
      May 31 23:14:22 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
      May 31 23:14:22 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
      May 31 23:14:22 	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
      May 31 23:14:22 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
      May 31 23:14:22 Caused by: org.apache.flink.yarn.YarnClusterDescriptor$YarnDeploymentException: The YARN application unexpectedly switched to state FAILED during deployment. 
      May 31 23:14:22 Diagnostics from YARN: Application application_1622502732791_0001 failed 1 times (global limit =2; local limit is =1) due to ApplicationMaster for attempt appattempt_1622502732791_0001_000001 timed out. Failing the application.
      May 31 23:14:22 If log aggregation is enabled on your cluster, use this command to further investigate the issue:
      May 31 23:14:22 yarn logs -applicationId application_1622502732791_0001
      May 31 23:14:22 	at org.apache.flink.yarn.YarnClusterDescriptor.startAppMaster(YarnClusterDescriptor.java:1201)
      May 31 23:14:22 	at org.apache.flink.yarn.YarnClusterDescriptor.deployInternal(YarnClusterDescriptor.java:593)
      May 31 23:14:22 	at org.apache.flink.yarn.YarnClusterDescriptor.deployJobCluster(YarnClusterDescriptor.java:474)
      May 31 23:14:22 	... 39 more
      
      

      Attachments

        Issue Links

          Activity

            People

              dmvk David Morávek
              dwysakowicz Dawid Wysakowicz
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: