[
https://issues.apache.org/jira/browse/HIVE-8862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergio Peña updated HIVE-8862:
------------------------------
Attachment: HIVE-8862.1.patch
This patch replace HashMap/HashSet by LinkedHashMap/LinkedHashSet in all the
places where its values will be serialized in TestParse tests.
It also has a fix on QTestUtil.java to fix some incompatibilities between JDK7
and JDK8. There was a need to re-generate all .q.xml files because of this
changes.
> Fix ordering diferences on TestParse tests due to Java8
> -------------------------------------------------------
>
> Key: HIVE-8862
> URL: https://issues.apache.org/jira/browse/HIVE-8862
> Project: Hive
> Issue Type: Sub-task
> Reporter: Sergio Peña
> Assignee: Sergio Peña
> Attachments: HIVE-8862.1.patch
>
>
> This bug is related to HIVE-8607. All TestParse tests are failing on Java8
> due to XML serialization incomptabilities with JDK7.
> This serialization issues are just ordering differences with the XML files
> generated with JDK7 because the hash function for HashMap/HashSet. In order
> to fix this, we should use LinkedHashMap/LinkedHashSet instead, so we can get
> the correct.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)