You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "odidev (Jira)" <ji...@apache.org> on 2022/12/14 10:20:00 UTC

[jira] [Commented] (HIVE-26581) Test failing on aarch64

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

odidev commented on HIVE-26581:
-------------------------------

Hi Team, 

I have resolved the null pointer error mentioned previously by increasing the space on both arm64 and amd64 instances. After that when I ran *mvn clean install* command on both platforms. I faced some license related issues as below. 
{code:java}
Too many files with unapproved license{code}
I have run the below command as mentioned in CI and now on both platforms all modules are installed, and all tests are passing on every module except two tests are failing on module beeline and one test case is failing on the Pre-Upgrade Acid module. 

*Command:*
{code:java}
mvn install -Dmaven.test.failure.ignore org.apache.maven.plugins:maven-antrun-plugin:run@define-classpath org.apache.maven.plugins:maven-antrun-plugin:run@setup-test-dirs org.apache.maven.plugins:maven-antrun-plugin:run@setup-metastore-scripts org.apache.maven.plugins:maven-surefire-plugin:test`{code}
*Error facing on Pre-Upgrade Acid module:*

 
{code:java}
[INFO] Running org.apache.hadoop.hive.upgrade.acid.TestPreUpgradeTool  
[ERROR] Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 89.599 s <<< FAILURE! - in org.apache.hadoop.hive.upgrade.acid.TestPreUpgradeTool  
org.apache.hadoop.hive.upgrade.acid.TestPreUpgradeTool.testUpgradeExternalTableNoReadPermissionForDatabase  Time elapsed: 2.338 s  <<< FAILURE!  
java.lang.AssertionError  
        at org.apache.hadoop.hive.upgrade.acid.TestPreUpgradeTool.testUpgradeExternalTableNoReadPermissionForDatabase(TestPreUpgradeTool.java:303)  
**Error getting on module beeline: ** 
TestBeelineArgParsing.testAddLocalJar  Time elapsed: 0.007 s  <<< ERROR 
java.lang.UnsupportedClassVersionError: DummyDriver 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  
Tests run: 109, Failures: 0, Errors: 2, Skipped: 0 
{code}
 

The *Pre-Upgrade Acid* module test which is failing was passing on my local arm64 machine but after some time it started failing. I have cleaned the .m2 directory and tried on a fresh environment but still failing the same issue. 

I am getting the same test case failure on both the arm64 and amd64 platforms. Can anyone suggest any pointers on the above error? 

> 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)