You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2022/10/21 07:21:01 UTC

[jira] [Updated] (HIVE-4565) TestCliDriver and TestParse fail with non Sun Java

     [ https://issues.apache.org/jira/browse/HIVE-4565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stamatis Zampetakis updated HIVE-4565:
--------------------------------------

I cleared the fixVersion field since this ticket is still open. Please review this ticket and if the fix is already committed to a specific version please set the version accordingly and mark the ticket as RESOLVED.

According to the [JIRA guidelines|https://cwiki.apache.org/confluence/display/Hive/HowToContribute] the fixVersion should be set only when the issue is resolved/closed.

> TestCliDriver and TestParse fail with non Sun Java
> --------------------------------------------------
>
>                 Key: HIVE-4565
>                 URL: https://issues.apache.org/jira/browse/HIVE-4565
>             Project: Hive
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.11.0
>         Environment: RedHat x86 IBM Java 6
>            Reporter: Renata Ghisloti Duarte de Souza
>            Priority: Minor
>             Fix For: 0.11.1
>
>         Attachments: HIVE-4565.patch
>
>
> While executing Hive's unit tests two testcases have different outputs with Sun Java and non-Sun Java (such as IBM):
> TestCliDriver and TestParse.
> The differences are mainly due to the use of HashMaps on the creation of the Logical Plan on analyzeInternal method. Sun java presents the elements of a HashMap in one order, and non sun Java on a different order.
> Both outputs are correct, and don't affect the final query result.  I propose this patch attached to make Hive unit tests compliant with all JVMs.
> The patch adds the output files and a change on ql/build.xml.



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