hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-9181) Fix SkewJoinOptimizer related Java 8 ordering differences
Date Sat, 20 Dec 2014 20:15:13 GMT


Hive QA commented on HIVE-9181:

{color:red}Overall{color}: -1 at least one tests failed

Here are the results of testing the latest attachment:

{color:red}ERROR:{color} -1 due to 8 failed/errored test(s), 6718 tests executed
*Failed tests:*

Test results:
Console output:
Test logs:

Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 8 tests failed

This message is automatically generated.

ATTACHMENT ID: 12688539 - PreCommit-HIVE-TRUNK-Build

> Fix SkewJoinOptimizer related Java 8 ordering differences
> ---------------------------------------------------------
>                 Key: HIVE-9181
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Tests
>            Reporter: Mohit Sabharwal
>            Assignee: Mohit Sabharwal
>         Attachments: HIVE-9181.patch, HIVE-9181.patch
> (1) {{SkewJoinOptimizer}} adds items to {{ParseContext.topOps}} is different order in
Java 8 vs Java 7. This leads to differences in EXPLAIN output related to {{MapWork}}.
> (2) Dbproperties order for a "desc database" query is non-deterministic at the HiveMetastore
end between Java 8 and Java 7 (because Thrift maps are un-ordered). 
> {code}
> create database test_db with dbproperties ('key1' = 'value1', 'key2' = 'value2');
> desc database extended test_db;
> {code}
> At client side, we serialize the dbproperties map returned from HMS as string and write
it to a temp file. The {{FetchTask}} then reads the temp file and returns the string back
to the user. In test environment, for consistent ordering, we should sort the map before it
is serialized to the temp file.  

This message was sent by Atlassian JIRA

View raw message