hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-9382) Query got rerun with Global Limit optimization on and Fetch optimization off
Date Fri, 16 Jan 2015 08:49:34 GMT

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

Hive QA commented on HIVE-9382:
-------------------------------



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

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12692410/HIVE-9382.1.patch

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 7315 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.ql.TestMTQueries.testMTQueries1
{noformat}

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2389/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2389/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-2389/

Messages:
{noformat}
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: 1 tests failed
{noformat}

This message is automatically generated.

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

> Query got rerun with Global Limit optimization on and Fetch optimization off
> ----------------------------------------------------------------------------
>
>                 Key: HIVE-9382
>                 URL: https://issues.apache.org/jira/browse/HIVE-9382
>             Project: Hive
>          Issue Type: Bug
>          Components: Physical Optimizer
>    Affects Versions: 0.14.0
>            Reporter: Wei Zheng
>            Assignee: Wei Zheng
>         Attachments: HIVE-9382.1.patch
>
>
> When Global Limit optimization is enabled, and Fetch Optimization for Simple Queries
is off or not applicable, some queries with LIMIT clause will run twice.
> set hive.limit.optimize.enable=true;
> set hive.fetch.task.conversion=none;
> For example,
> {code:sql}
> hive> select * from t1 limit 10;
> Query ID = wzheng_20150107185252_4a6d0e65-9e58-464b-9ed3-9177740c30a9
> Total jobs = 1
> Launching Job 1 out of 1
> Status: Running (Executing on YARN cluster with App id application_1420567249453_0039)
> --------------------------------------------------------------------------------
>         VERTICES      STATUS  TOTAL  COMPLETED  RUNNING  PENDING  FAILED  KILLED
> --------------------------------------------------------------------------------
> Map 1 ..........   SUCCEEDED      1          1        0        0       0       0
> --------------------------------------------------------------------------------
> VERTICES: 01/01  [==========================>>] 100%  ELAPSED TIME: 0.41 s
> --------------------------------------------------------------------------------
> OK
> 201208	99848	119820	32627	982976	509206	0.000100898
> 201208	99745	119820	32627	982976	509206	0.000100898
> 201208	99739	119820	32627	982976	509206	0.000100898
> 201208	99847	119820	32627	982976	509206	0.000100898
> 201208	613588	119820	32627	982976	509206	0.000100898
> 201208	99809	119820	32627	982976	509206	0.000100898
> 201208	99725	119820	32627	982976	509206	0.000100898
> 201208	99666	119820	32627	982976	509206	0.000100898
> 201208	99743	119820	32627	982976	509206	0.000100898
> 201208	99801	119820	32627	982976	509206	0.000100898
> Retry query with a different approach...
> Query ID = wzheng_20150107185252_8a77f793-cad7-4c6b-b64a-07d8310970b9
> Total jobs = 1
> Launching Job 1 out of 1
> Status: Running (Executing on YARN cluster with App id application_1420567249453_0039)
> --------------------------------------------------------------------------------
>         VERTICES      STATUS  TOTAL  COMPLETED  RUNNING  PENDING  FAILED  KILLED
> --------------------------------------------------------------------------------
> Map 1 ..........   SUCCEEDED    309        309        0        0       0       0
> --------------------------------------------------------------------------------
> VERTICES: 01/01  [==========================>>] 100%  ELAPSED TIME: 2.04 s
> --------------------------------------------------------------------------------
> OK
> 201208	99848	119820	32627	982976	509206	0.000100898
> 201208	99745	119820	32627	982976	509206	0.000100898
> 201208	99739	119820	32627	982976	509206	0.000100898
> 201208	99847	119820	32627	982976	509206	0.000100898
> 201208	613588	119820	32627	982976	509206	0.000100898
> 201208	99809	119820	32627	982976	509206	0.000100898
> 201208	99725	119820	32627	982976	509206	0.000100898
> 201208	99666	119820	32627	982976	509206	0.000100898
> 201208	99743	119820	32627	982976	509206	0.000100898
> 201208	99801	119820	32627	982976	509206	0.000100898
> Time taken: 2.748 seconds, Fetched: 10 row(s)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message