You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Denys Kuzmenko (Jira)" <ji...@apache.org> on 2025/06/12 07:53:00 UTC

[jira] [Commented] (HIVE-28999) Flaky Test: TestReExecuteKilledTezAMQueryPlugin.testKillQueryById

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

Denys Kuzmenko commented on HIVE-28999:
---------------------------------------

Merged to master
Thanks for the fix, [~Indhumathi27]!

Also, noticed that in `KillQueryImpl#killChildYarnJobs()` we always initiate a new `YarnClient`. Do you know if that is intentional?

> Flaky Test: TestReExecuteKilledTezAMQueryPlugin.testKillQueryById
> -----------------------------------------------------------------
>
>                 Key: HIVE-28999
>                 URL: https://issues.apache.org/jira/browse/HIVE-28999
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Indhumathi Muthumurugesh
>            Assignee: Indhumathi Muthumurugesh
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: Screenshot 2025-06-10 at 10.25.15 AM.png
>
>
> *expected:<java.sql.SQLException: Error while compiling statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask. org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1749387952488_0001 to YARN : Application application_1749387952488_0001 was killed by user jenkins at 127.0.0.1 with diagnostic message: AM Container for appattempt_1749387952488_0001_000001 exited with exitCode: -100; Query ID: jenkins_20250608060610_de305647-4d77-42ea-8645-cf87c61f1a88> but was:<null>*
>  
> Exception StackTrace:
> java.lang.AssertionError: expected:<java.sql.SQLException: Error while compiling statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask. org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1749387952488_0001 to YARN : Application application_1749387952488_0001 was killed by user jenkins at 127.0.0.1 with diagnostic message: AM Container for appattempt_1749387952488_0001_000001 exited with exitCode: -100; Query ID: jenkins_20250608060610_de305647-4d77-42ea-8645-cf87c61f1a88> but was:<null> at org.junit.Assert.fail(Assert.java:89) at org.junit.Assert.failNotEquals(Assert.java:835) at org.junit.Assert.assertEquals(Assert.java:120) at org.junit.Assert.assertEquals(Assert.java:146) at org.apache.hadoop.hive.ql.reexec.TestReExecuteKilledTezAMQueryPlugin.testKillQueryById(TestReExecuteKilledTezAMQueryPlugin.java:179) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)



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