hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From " (JIRA)" <>
Subject [jira] [Commented] (HIVE-2282) Local mode needs to work well with block sampling
Date Fri, 22 Jul 2011 17:41:00 GMT

] commented on HIVE-2282:

This is an automatically generated e-mail. To reply, visit:

(Updated 2011-07-22 17:40:44.736466)

Review request for hive and Siying Dong.


I added the q.out file which I had forgotten for the new q file.

I also modified the test queries to select count(1) instead of selecting keys and values.


A query should run in local mode when block sampling is used and the sample is small enough.
 The size of the sample is currently being estimated, as it is done to estimate the number
of reducers.

This addresses bug HIVE-2282.

Diffs (updated)

  ql/src/java/org/apache/hadoop/hive/ql/exec/ 53769a0 
  ql/src/java/org/apache/hadoop/hive/ql/parse/ cd3de76 
  ql/src/test/org/apache/hadoop/hive/ql/hooks/ PRE-CREATION 
  ql/src/test/queries/clientpositive/sample_islocalmode_hook.q PRE-CREATION 
  ql/src/test/results/clientpositive/sample_islocalmode_hook.q.out PRE-CREATION 



TestCliDriver TestNegativeCliDriver, manually tested



> Local mode needs to work well with block sampling
> -------------------------------------------------
>                 Key: HIVE-2282
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Siying Dong
>            Assignee: Kevin Wilfong
>         Attachments: HIVE-2282.1.patch.txt, HIVE-2282.2.patch.txt, HIVE-2282.3.patch.txt
> Currently, if block sampling is enabled and large set of data are sampled to a small
set, local mode needs to be kicked in. 

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message