[ https://issues.apache.org/jira/browse/HIVE-26581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17677609#comment-17677609 ]
odidev edited comment on HIVE-26581 at 1/17/23 5:43 AM: -------------------------------------------------------- I ran the test case again on the latest commit and now *ql* module test is failing on amd64 and arm64 platforms with the below error: {code:java} [^[[1;34mINFO^[[m] Running org.apache.hive.testutils.^[[1mTestHiveTestEnvSetup^[[m [^[[1;34mINFO^[[m] ^[[1;32mTests run: ^[[0;1;32m1^[[m, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 72.23 s - in org.apache.hive.testutils.^[[1mTestHiveTestEnvSetup^[[m [^[[1;34mINFO^[[m] [^[[1;34mINFO^[[m] Results: [^[[1;34mINFO^[[m] [^[[1;31mERROR^[[m] ^[[1;31mFailures: ^[[m [^[[1;31mERROR^[[m] ^[[1;31mTestSessionState.testCreatePath^[[m [^[[1;31mERROR^[[m] ^[[1;31m Run 1: did not get expected exception creating a child of a directory with no permissions^[[m [^[[1;31mERROR^[[m] ^[[1;31m Run 2: did not get expected exception creating a child of a directory with no permissions^[[m [^[[1;34mINFO^[[m] [^[[1;31mERROR^[[m] ^[[1;31m TestGenericUDFToUnixTimestamp.testStringArg2:167->runAndVerify:70 expected:<-17984790[40]0> but was:<-17984790[39]0>^[[m [^[[1;31mERROR^[[m] ^[[1;31mErrors: ^[[m [^[[1;31mERROR^[[m] ^[[1;31mTestSessionState.testReloadAuxJars2^[[m [^[[1;31mERROR^[[m] ^[[1;31m Run 1: RefreshedJarClass has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0^[[m [^[[1;31mERROR^[[m] ^[[1;31m Run 2: RefreshedJarClass has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0^[[m [^[[1;34mINFO^[[m] [^[[1;31mERROR^[[m] ^[[1;31mTestSessionState.testReloadExistingAuxJars2^[[m [^[[1;31mERROR^[[m] ^[[1;31m Run 1: RefreshedJarClass has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0^[[m [^[[1;31mERROR^[[m] ^[[1;31m Run 2: RefreshedJarClass has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0^[[m [^[[1;34mINFO^[[m] [^[[1;34mINFO^[[m] [^[[1;31mERROR^[[m] ^[[1;31mTests run: 32929, Failures: 2, Errors: 2, Skipped: 87^[[m [^[[1;34mINFO^[[m] [^[[1;31mERROR^[[m] There are test failures. {code} I have provided proper permissions to all folders but still I am facing above issue. Can you please suggest some pointers on the above error as it is giving the same error on amd64 platform as well was (Author: odidev): I ran the test case again on the latest commit and now* ql *module test is failing on amd64 and arm64 platforms with the below error: {code:java} [^[[1;34mINFO^[[m] Running org.apache.hive.testutils.^[[1mTestHiveTestEnvSetup^[[m [^[[1;34mINFO^[[m] ^[[1;32mTests run: ^[[0;1;32m1^[[m, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 72.23 s - in org.apache.hive.testutils.^[[1mTestHiveTestEnvSetup^[[m [^[[1;34mINFO^[[m] [^[[1;34mINFO^[[m] Results: [^[[1;34mINFO^[[m] [^[[1;31mERROR^[[m] ^[[1;31mFailures: ^[[m [^[[1;31mERROR^[[m] ^[[1;31mTestSessionState.testCreatePath^[[m [^[[1;31mERROR^[[m] ^[[1;31m Run 1: did not get expected exception creating a child of a directory with no permissions^[[m [^[[1;31mERROR^[[m] ^[[1;31m Run 2: did not get expected exception creating a child of a directory with no permissions^[[m [^[[1;34mINFO^[[m] [^[[1;31mERROR^[[m] ^[[1;31m TestGenericUDFToUnixTimestamp.testStringArg2:167->runAndVerify:70 expected:<-17984790[40]0> but was:<-17984790[39]0>^[[m [^[[1;31mERROR^[[m] ^[[1;31mErrors: ^[[m [^[[1;31mERROR^[[m] ^[[1;31mTestSessionState.testReloadAuxJars2^[[m [^[[1;31mERROR^[[m] ^[[1;31m Run 1: RefreshedJarClass has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0^[[m [^[[1;31mERROR^[[m] ^[[1;31m Run 2: RefreshedJarClass has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0^[[m [^[[1;34mINFO^[[m] [^[[1;31mERROR^[[m] ^[[1;31mTestSessionState.testReloadExistingAuxJars2^[[m [^[[1;31mERROR^[[m] ^[[1;31m Run 1: RefreshedJarClass has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0^[[m [^[[1;31mERROR^[[m] ^[[1;31m Run 2: RefreshedJarClass has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0^[[m [^[[1;34mINFO^[[m] [^[[1;34mINFO^[[m] [^[[1;31mERROR^[[m] ^[[1;31mTests run: 32929, Failures: 2, Errors: 2, Skipped: 87^[[m [^[[1;34mINFO^[[m] [^[[1;31mERROR^[[m] There are test failures. {code} I have provided proper permissions to all folders but still I am facing above issue. Can you please suggest some pointers on the above error as it is giving the same error on amd64 platform as well > Test failing on aarch64 > ----------------------- > > Key: HIVE-26581 > URL: https://issues.apache.org/jira/browse/HIVE-26581 > Project: Hive > Issue Type: Bug > Reporter: odidev > Priority: Major > > Hi Team, > I tried to build and test the Apache hive repository on an aarch64 machine > but when I run *mvn clean install* it is giving me the following error: > {code:java} > [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.265 > s <<< FAILURE! - in > org.apache.hadoop.hive.llap.tezplugins.TestLlapTaskCommunicator > [ERROR] > org.apache.hadoop.hive.llap.tezplugins.TestLlapTaskCommunicator.testFinishableStateUpdateFailure > Time elapsed: 2.206 s <<< ERROR! > java.lang.NullPointerException > at > org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos$SignableVertexSpec$Builder.setUser(LlapDaemonProtocolProtos.java:5513) > at > org.apache.hadoop.hive.llap.tez.Converters.constructSignableVertexSpec(Converters.java:135) > at > org.apache.hadoop.hive.llap.tezplugins.LlapTaskCommunicator.constructSubmitWorkRequest(LlapTaskCommunicator.java:912) > at > org.apache.hadoop.hive.llap.tezplugins.LlapTaskCommunicator.registerRunningTaskAttempt(LlapTaskCommunicator.java:512) > at > org.apache.hadoop.hive.llap.tezplugins.TestLlapTaskCommunicator$LlapTaskCommunicatorWrapperForTest.registerRunningTaskAttemptWithSourceVertex(TestLlapTaskCommunicator.java:335) > at > org.apache.hadoop.hive.llap.tezplugins.TestLlapTaskCommunicator.testFinishableStateUpdateFailure(TestLlapTaskCommunicator.java:141) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > 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.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288) > at > org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at java.lang.Thread.run(Thread.java:750) > [INFO] > [INFO] Results: > [INFO] > [ERROR] Errors: > [ERROR] TestLlapTaskCommunicator.testFinishableStateUpdateFailure:141 ? > NullPointer > [INFO] > [ERROR] Tests run: 53, Failures: 0, Errors: 1, Skipped: 2 > {code} > When I tried to run *mvn clean install –DskipTests* the installation was > successful but for testing when I ran *mvn test* it is giving me the > above-mentioned error. The error is the same on the amd64 platform also. > Can anyone suggest any pointers on the above error? -- This message was sent by Atlassian Jira (v8.20.10#820010)