[jira] [Commented] (HIVE-2155) Improve error messages emitted during semantic analysis

2011-05-11 Thread John Sichi (JIRA)

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

John Sichi commented on HIVE-2155:
--

One comment:  Hive currently has this strange convention where it appends a 
context token onto an error message, without always explaining how it relates 
to the error.  For example, 

{noformat}
In strict mode, if ORDER BY is specified, LIMIT must also be specified 'key'
{noformat}

Here the 'key' on the end is really confusing.  It should be something like

{noformat}
In strict mode, if ORDER BY is specified, LIMIT must also be specified; error 
encountered near token 'key'
{noformat}

This patch increases the number of places where we do this, so I think we need 
to improve the existing convention as part of it.  I'm not sure if the 
suggestion above is generic enough.


> Improve error messages emitted during semantic analysis
> ---
>
> Key: HIVE-2155
> URL: https://issues.apache.org/jira/browse/HIVE-2155
> Project: Hive
>  Issue Type: Improvement
>Reporter: Syed S. Albiz
>Assignee: Syed S. Albiz
> Attachments: HIVE-2155.1.patch, HIVE-2155.2.patch
>
>
> Follow-up to HIVE-1731.
> A number of issues raised in HIVE-1731 were caused by SemanticAnalyzer not 
> reporting errors correctly.
> Specifically, the following issues need to be addressed:
> - Line numbers are not always provided and sometimes emitted as (0:-1), which 
> is useless
> - Insufficient or unclear context strings are provided
> Specific issues described in HIVE-1731:
> FAILED: Error in semantic analysis: Schema of both sides of union should 
> match: destinationid:_col1 _col2
> * No line/col numbers, context strings provide internal aliases instead of 
> actual column names
> FAILED: Error in semantic analysis: line 0:-1 Both Left and Right Aliases 
> Encountered in Join time
> * Incorrect line/col number info, no context strings to describe the aliases 
> encountered
> FAILED: Error in semantic analysis: AS clause has an invalid number of aliases
> * No line/col numbers, not context string to show the aliases encountered
> FAILED: Error in semantic analysis: line 1:94 Expression Not In Group By Key a
> * testcase: SELECT a.id, VAR(a.cnt) FROM mytable a
> * Context string is unhelpful, needs to provide the actual expression, not 
> just the table reference

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Build failed in Jenkins: Hive-trunk-h0.20 #725

2011-05-11 Thread Apache Jenkins Server
See 

Changes:

[heyongqiang] HIVE-1937:DDLSemanticAnalyzer won't take newly set Hive 
parameters. (Ning Zhang via He Yongqiang)

--
[...truncated 30286 lines...]
[junit] OK
[junit] PREHOOK: query: select count(1) as cnt from testhivedrivertable
[junit] PREHOOK: type: QUERY
[junit] PREHOOK: Input: default@testhivedrivertable
[junit] PREHOOK: Output: 
file:/tmp/hudson/hive_2011-05-11_22-39-36_922_6206694569260649244/-mr-1
[junit] Total MapReduce jobs = 1
[junit] Launching Job 1 out of 1
[junit] Number of reduce tasks determined at compile time: 1
[junit] In order to change the average load for a reducer (in bytes):
[junit]   set hive.exec.reducers.bytes.per.reducer=
[junit] In order to limit the maximum number of reducers:
[junit]   set hive.exec.reducers.max=
[junit] In order to set a constant number of reducers:
[junit]   set mapred.reduce.tasks=
[junit] Job running in-process (local Hadoop)
[junit] Hadoop job information for null: number of mappers: 0; number of 
reducers: 0
[junit] 2011-05-11 22:39:40,011 null map = 100%,  reduce = 100%
[junit] Ended Job = job_local_0001
[junit] POSTHOOK: query: select count(1) as cnt from testhivedrivertable
[junit] POSTHOOK: type: QUERY
[junit] POSTHOOK: Input: default@testhivedrivertable
[junit] POSTHOOK: Output: 
file:/tmp/hudson/hive_2011-05-11_22-39-36_922_6206694569260649244/-mr-1
[junit] OK
[junit] PREHOOK: query: drop table testhivedrivertable
[junit] PREHOOK: type: DROPTABLE
[junit] PREHOOK: Input: default@testhivedrivertable
[junit] PREHOOK: Output: default@testhivedrivertable
[junit] POSTHOOK: query: drop table testhivedrivertable
[junit] POSTHOOK: type: DROPTABLE
[junit] POSTHOOK: Input: default@testhivedrivertable
[junit] POSTHOOK: Output: default@testhivedrivertable
[junit] OK
[junit] Hive history 
file=
[junit] PREHOOK: query: drop table testhivedrivertable
[junit] PREHOOK: type: DROPTABLE
[junit] POSTHOOK: query: drop table testhivedrivertable
[junit] POSTHOOK: type: DROPTABLE
[junit] OK
[junit] PREHOOK: query: create table testhivedrivertable (num int)
[junit] PREHOOK: type: CREATETABLE
[junit] POSTHOOK: query: create table testhivedrivertable (num int)
[junit] POSTHOOK: type: CREATETABLE
[junit] POSTHOOK: Output: default@testhivedrivertable
[junit] OK
[junit] PREHOOK: query: load data local inpath 
'
 into table testhivedrivertable
[junit] PREHOOK: type: LOAD
[junit] PREHOOK: Output: default@testhivedrivertable
[junit] Copying data from 

[junit] Loading data to table default.testhivedrivertable
[junit] POSTHOOK: query: load data local inpath 
'
 into table testhivedrivertable
[junit] POSTHOOK: type: LOAD
[junit] POSTHOOK: Output: default@testhivedrivertable
[junit] OK
[junit] PREHOOK: query: select * from testhivedrivertable limit 10
[junit] PREHOOK: type: QUERY
[junit] PREHOOK: Input: default@testhivedrivertable
[junit] PREHOOK: Output: 
file:/tmp/hudson/hive_2011-05-11_22-39-41_586_7365105702473102605/-mr-1
[junit] POSTHOOK: query: select * from testhivedrivertable limit 10
[junit] POSTHOOK: type: QUERY
[junit] POSTHOOK: Input: default@testhivedrivertable
[junit] POSTHOOK: Output: 
file:/tmp/hudson/hive_2011-05-11_22-39-41_586_7365105702473102605/-mr-1
[junit] OK
[junit] PREHOOK: query: drop table testhivedrivertable
[junit] PREHOOK: type: DROPTABLE
[junit] PREHOOK: Input: default@testhivedrivertable
[junit] PREHOOK: Output: default@testhivedrivertable
[junit] POSTHOOK: query: drop table testhivedrivertable
[junit] POSTHOOK: type: DROPTABLE
[junit] POSTHOOK: Input: default@testhivedrivertable
[junit] POSTHOOK: Output: default@testhivedrivertable
[junit] OK
[junit] Hive history 
file=
[junit] PREHOOK: query: drop table testhivedrivertable
[junit] PREHOOK: type: DROPTABLE
[junit] POSTHOOK: query: drop table testhivedrivertable
[junit] POSTHOOK: type: DROPTABLE
[junit] OK
[junit] PREHOOK: query: create table testhivedrivertable (num int)
[junit] PREHOOK: type: CREATETABLE
[junit] POSTHOOK: query: create table testhivedrivertable (num int)
[junit] POSTHOOK: type: CREATETABLE
[junit] POSTHOOK: Output: default@testhi

[jira] [Commented] (HIVE-2134) Remove System.exit

2011-05-11 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu commented on HIVE-2134:
---

Ashutosh, ant package builds properly. But ant test fails with compilation 
error.

> Remove System.exit 
> ---
>
> Key: HIVE-2134
> URL: https://issues.apache.org/jira/browse/HIVE-2134
> Project: Hive
>  Issue Type: Improvement
>Reporter: Ashutosh Chauhan
>Assignee: Ashutosh Chauhan
> Fix For: 0.8.0
>
> Attachments: hive_2134.patch, no_sysexit.patch
>
>
> System.exit exists in various places in code. Its good to get rid of it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


mapred vs mapreduce

2011-05-11 Thread John Sichi
An interesting fact I picked up at the Hadoop Hackathon today was that the 
mapred API has been "undeprecated".  This means that it may be OK to just leave 
Hive on the old mapred API and spend cleanup energy elsewhere.

JVS



Build failed in Jenkins: Hive-trunk-h0.20 #724

2011-05-11 Thread Apache Jenkins Server
See 

--
[...truncated 30247 lines...]
[junit] OK
[junit] PREHOOK: query: select count(1) as cnt from testhivedrivertable
[junit] PREHOOK: type: QUERY
[junit] PREHOOK: Input: default@testhivedrivertable
[junit] PREHOOK: Output: 
file:/tmp/hudson/hive_2011-05-11_18-57-29_109_2979077493241467305/-mr-1
[junit] Total MapReduce jobs = 1
[junit] Launching Job 1 out of 1
[junit] Number of reduce tasks determined at compile time: 1
[junit] In order to change the average load for a reducer (in bytes):
[junit]   set hive.exec.reducers.bytes.per.reducer=
[junit] In order to limit the maximum number of reducers:
[junit]   set hive.exec.reducers.max=
[junit] In order to set a constant number of reducers:
[junit]   set mapred.reduce.tasks=
[junit] Job running in-process (local Hadoop)
[junit] Hadoop job information for null: number of mappers: 0; number of 
reducers: 0
[junit] 2011-05-11 18:57:32,236 null map = 100%,  reduce = 100%
[junit] Ended Job = job_local_0001
[junit] POSTHOOK: query: select count(1) as cnt from testhivedrivertable
[junit] POSTHOOK: type: QUERY
[junit] POSTHOOK: Input: default@testhivedrivertable
[junit] POSTHOOK: Output: 
file:/tmp/hudson/hive_2011-05-11_18-57-29_109_2979077493241467305/-mr-1
[junit] OK
[junit] PREHOOK: query: drop table testhivedrivertable
[junit] PREHOOK: type: DROPTABLE
[junit] PREHOOK: Input: default@testhivedrivertable
[junit] PREHOOK: Output: default@testhivedrivertable
[junit] POSTHOOK: query: drop table testhivedrivertable
[junit] POSTHOOK: type: DROPTABLE
[junit] POSTHOOK: Input: default@testhivedrivertable
[junit] POSTHOOK: Output: default@testhivedrivertable
[junit] OK
[junit] Hive history 
file=
[junit] PREHOOK: query: drop table testhivedrivertable
[junit] PREHOOK: type: DROPTABLE
[junit] POSTHOOK: query: drop table testhivedrivertable
[junit] POSTHOOK: type: DROPTABLE
[junit] OK
[junit] PREHOOK: query: create table testhivedrivertable (num int)
[junit] PREHOOK: type: CREATETABLE
[junit] POSTHOOK: query: create table testhivedrivertable (num int)
[junit] POSTHOOK: type: CREATETABLE
[junit] POSTHOOK: Output: default@testhivedrivertable
[junit] OK
[junit] PREHOOK: query: load data local inpath 
'
 into table testhivedrivertable
[junit] PREHOOK: type: LOAD
[junit] PREHOOK: Output: default@testhivedrivertable
[junit] Copying data from 

[junit] Loading data to table default.testhivedrivertable
[junit] POSTHOOK: query: load data local inpath 
'
 into table testhivedrivertable
[junit] POSTHOOK: type: LOAD
[junit] POSTHOOK: Output: default@testhivedrivertable
[junit] OK
[junit] PREHOOK: query: select * from testhivedrivertable limit 10
[junit] PREHOOK: type: QUERY
[junit] PREHOOK: Input: default@testhivedrivertable
[junit] PREHOOK: Output: 
file:/tmp/hudson/hive_2011-05-11_18-57-33_838_308264026271501980/-mr-1
[junit] POSTHOOK: query: select * from testhivedrivertable limit 10
[junit] POSTHOOK: type: QUERY
[junit] POSTHOOK: Input: default@testhivedrivertable
[junit] POSTHOOK: Output: 
file:/tmp/hudson/hive_2011-05-11_18-57-33_838_308264026271501980/-mr-1
[junit] OK
[junit] PREHOOK: query: drop table testhivedrivertable
[junit] PREHOOK: type: DROPTABLE
[junit] PREHOOK: Input: default@testhivedrivertable
[junit] PREHOOK: Output: default@testhivedrivertable
[junit] POSTHOOK: query: drop table testhivedrivertable
[junit] POSTHOOK: type: DROPTABLE
[junit] POSTHOOK: Input: default@testhivedrivertable
[junit] POSTHOOK: Output: default@testhivedrivertable
[junit] OK
[junit] Hive history 
file=
[junit] PREHOOK: query: drop table testhivedrivertable
[junit] PREHOOK: type: DROPTABLE
[junit] POSTHOOK: query: drop table testhivedrivertable
[junit] POSTHOOK: type: DROPTABLE
[junit] OK
[junit] PREHOOK: query: create table testhivedrivertable (num int)
[junit] PREHOOK: type: CREATETABLE
[junit] POSTHOOK: query: create table testhivedrivertable (num int)
[junit] POSTHOOK: type: CREATETABLE
[junit] POSTHOOK: Output: default@testhivedrivertable
[junit] OK
[junit] PREHOOK: query: drop table testhivedrivertable
[junit] PREHOOK: type: DROPTABLE
[junit

Review Request: HIVE-2155 Improve error messages emitted during semantic analysis

2011-05-11 Thread Syed Albiz

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/731/
---

Review request for hive and John Sichi.


Summary
---

Attaches line/column number to the vast majority of SemanticExceptions thrown. 
In addition, the context strings for the error messages relating to UNION ALLs 
and GROUP BY keys have been changed to provide more meaningful context.


This addresses bug HIVE-2155.
https://issues.apache.org/jira/browse/HIVE-2155


Diffs
-

  common/src/java/org/apache/hadoop/hive/conf/HiveConf.java dc96a1f 
  ql/src/java/org/apache/hadoop/hive/ql/parse/BaseSemanticAnalyzer.java 2fe37b6 
  ql/src/java/org/apache/hadoop/hive/ql/parse/ErrorMsg.java 4ddf5b9 
  ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java 9cb407c 
  ql/src/java/org/apache/hadoop/hive/ql/parse/TypeCheckProcFactory.java bca37fd 
  ql/src/test/queries/clientnegative/union3.q PRE-CREATION 
  ql/src/test/results/clientnegative/analyze_view.q.out ef76106 
  ql/src/test/results/clientnegative/clusterbydistributeby.q.out 4c1ebfb 
  ql/src/test/results/clientnegative/clusterbysortby.q.out f76d4a7 
  ql/src/test/results/clientnegative/clustern3.q.out da71016 
  ql/src/test/results/clientnegative/clustern4.q.out 1519e48 
  ql/src/test/results/clientnegative/create_view_failure3.q.out 70e365a 
  ql/src/test/results/clientnegative/ddltime.q.out 11d00c3 
  ql/src/test/results/clientnegative/drop_partition_failure.q.out 1a0ac10 
  ql/src/test/results/clientnegative/dyn_part2.q.out cc0cd3c 
  ql/src/test/results/clientnegative/fileformat_void_input.q.out 5a7a05a 
  ql/src/test/results/clientnegative/groupby_key.q.out c6218a4 
  ql/src/test/results/clientnegative/input1.q.out 73f1657 
  ql/src/test/results/clientnegative/input2.q.out 0c460a6 
  ql/src/test/results/clientnegative/invalidate_view1.q.out 9f61228 
  ql/src/test/results/clientnegative/joinneg.q.out d85d508 
  ql/src/test/results/clientnegative/line_terminator.q.out b672bd8 
  ql/src/test/results/clientnegative/load_wrong_noof_part.q.out 4d8c8d8 
  ql/src/test/results/clientnegative/nopart_insert.q.out 42bca76 
  ql/src/test/results/clientnegative/notable_alias3.q.out d48d5e1 
  ql/src/test/results/clientnegative/orderbysortby.q.out 73b83a4 
  ql/src/test/results/clientnegative/regex_col_1.q.out 7547858 
  ql/src/test/results/clientnegative/regex_col_2.q.out f570010 
  ql/src/test/results/clientnegative/regex_col_groupby.q.out 8497718 
  ql/src/test/results/clientnegative/semijoin1.q.out 739931f 
  ql/src/test/results/clientnegative/semijoin2.q.out 2b418de 
  ql/src/test/results/clientnegative/semijoin3.q.out a803b50 
  ql/src/test/results/clientnegative/semijoin4.q.out 86a834b 
  ql/src/test/results/clientnegative/split_sample_out_of_range.q.out 0761955 
  ql/src/test/results/clientnegative/split_sample_wrong_format.q.out 19b1417 
  ql/src/test/results/clientnegative/strict_orderby.q.out 2d3ba6b 
  ql/src/test/results/clientnegative/subq_insert.q.out 8c3ce79 
  ql/src/test/results/clientnegative/udf_array_contains_wrong1.q.out d6b98b4 
  ql/src/test/results/clientnegative/udf_array_contains_wrong2.q.out 7b8dca6 
  ql/src/test/results/clientnegative/udf_case_type_wrong.q.out 75b9638 
  ql/src/test/results/clientnegative/udf_case_type_wrong2.q.out 126fa4e 
  ql/src/test/results/clientnegative/udf_case_type_wrong3.q.out fd62771 
  ql/src/test/results/clientnegative/udf_coalesce.q.out a5279f5 
  ql/src/test/results/clientnegative/udf_elt_wrong_args_len.q.out 22a085a 
  ql/src/test/results/clientnegative/udf_elt_wrong_type.q.out fc83f23 
  ql/src/test/results/clientnegative/udf_field_wrong_args_len.q.out 3bf97d9 
  ql/src/test/results/clientnegative/udf_field_wrong_type.q.out 2a2e944 
  ql/src/test/results/clientnegative/udf_if_not_bool.q.out a3c8902 
  ql/src/test/results/clientnegative/udf_if_wrong_args_len.q.out 89b23c8 
  ql/src/test/results/clientnegative/udf_in.q.out 50a6b98 
  ql/src/test/results/clientnegative/udf_instr_wrong_args_len.q.out 7f66db7 
  ql/src/test/results/clientnegative/udf_instr_wrong_type.q.out 89d8542 
  ql/src/test/results/clientnegative/udf_locate_wrong_args_len.q.out 46613e8 
  ql/src/test/results/clientnegative/udf_locate_wrong_type.q.out 42cc4b6 
  ql/src/test/results/clientnegative/udf_size_wrong_args_len.q.out b05731e 
  ql/src/test/results/clientnegative/udf_size_wrong_type.q.out 0c91c8f 
  ql/src/test/results/clientnegative/udf_when_type_wrong.q.out bec3725 
  ql/src/test/results/clientnegative/udf_when_type_wrong2.q.out 5b06467 
  ql/src/test/results/clientnegative/udf_when_type_wrong3.q.out 6974dd7 
  ql/src/test/results/clientnegative/udtf_not_supported1.q.out cc5f23b 
  ql/src/test/results/clientnegative/udtf_not_supported2.q.out c8987ea 
  ql/src/test/results/clientnegative/union.q.out 333230d 
  ql/src/test/results/clientnegative/union2.q.out 1e6c782 
  ql/src/test/results/clientnega

[jira] [Updated] (HIVE-2155) Improve error messages emitted during semantic analysis

2011-05-11 Thread Syed S. Albiz (JIRA)

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

Syed S. Albiz updated HIVE-2155:


Attachment: HIVE-2155.2.patch

Removed some trailing whitespace

> Improve error messages emitted during semantic analysis
> ---
>
> Key: HIVE-2155
> URL: https://issues.apache.org/jira/browse/HIVE-2155
> Project: Hive
>  Issue Type: Improvement
>Reporter: Syed S. Albiz
>Assignee: Syed S. Albiz
> Attachments: HIVE-2155.1.patch, HIVE-2155.2.patch
>
>
> Follow-up to HIVE-1731.
> A number of issues raised in HIVE-1731 were caused by SemanticAnalyzer not 
> reporting errors correctly.
> Specifically, the following issues need to be addressed:
> - Line numbers are not always provided and sometimes emitted as (0:-1), which 
> is useless
> - Insufficient or unclear context strings are provided
> Specific issues described in HIVE-1731:
> FAILED: Error in semantic analysis: Schema of both sides of union should 
> match: destinationid:_col1 _col2
> * No line/col numbers, context strings provide internal aliases instead of 
> actual column names
> FAILED: Error in semantic analysis: line 0:-1 Both Left and Right Aliases 
> Encountered in Join time
> * Incorrect line/col number info, no context strings to describe the aliases 
> encountered
> FAILED: Error in semantic analysis: AS clause has an invalid number of aliases
> * No line/col numbers, not context string to show the aliases encountered
> FAILED: Error in semantic analysis: line 1:94 Expression Not In Group By Key a
> * testcase: SELECT a.id, VAR(a.cnt) FROM mytable a
> * Context string is unhelpful, needs to provide the actual expression, not 
> just the table reference

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-2155) Improve error messages emitted during semantic analysis

2011-05-11 Thread jirapos...@reviews.apache.org (JIRA)

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

jirapos...@reviews.apache.org commented on HIVE-2155:
-


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/731/
---

Review request for hive and John Sichi.


Summary
---

Attaches line/column number to the vast majority of SemanticExceptions thrown. 
In addition, the context strings for the error messages relating to UNION ALLs 
and GROUP BY keys have been changed to provide more meaningful context.


This addresses bug HIVE-2155.
https://issues.apache.org/jira/browse/HIVE-2155


Diffs
-

  common/src/java/org/apache/hadoop/hive/conf/HiveConf.java dc96a1f 
  ql/src/java/org/apache/hadoop/hive/ql/parse/BaseSemanticAnalyzer.java 2fe37b6 
  ql/src/java/org/apache/hadoop/hive/ql/parse/ErrorMsg.java 4ddf5b9 
  ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java 9cb407c 
  ql/src/java/org/apache/hadoop/hive/ql/parse/TypeCheckProcFactory.java bca37fd 
  ql/src/test/queries/clientnegative/union3.q PRE-CREATION 
  ql/src/test/results/clientnegative/analyze_view.q.out ef76106 
  ql/src/test/results/clientnegative/clusterbydistributeby.q.out 4c1ebfb 
  ql/src/test/results/clientnegative/clusterbysortby.q.out f76d4a7 
  ql/src/test/results/clientnegative/clustern3.q.out da71016 
  ql/src/test/results/clientnegative/clustern4.q.out 1519e48 
  ql/src/test/results/clientnegative/create_view_failure3.q.out 70e365a 
  ql/src/test/results/clientnegative/ddltime.q.out 11d00c3 
  ql/src/test/results/clientnegative/drop_partition_failure.q.out 1a0ac10 
  ql/src/test/results/clientnegative/dyn_part2.q.out cc0cd3c 
  ql/src/test/results/clientnegative/fileformat_void_input.q.out 5a7a05a 
  ql/src/test/results/clientnegative/groupby_key.q.out c6218a4 
  ql/src/test/results/clientnegative/input1.q.out 73f1657 
  ql/src/test/results/clientnegative/input2.q.out 0c460a6 
  ql/src/test/results/clientnegative/invalidate_view1.q.out 9f61228 
  ql/src/test/results/clientnegative/joinneg.q.out d85d508 
  ql/src/test/results/clientnegative/line_terminator.q.out b672bd8 
  ql/src/test/results/clientnegative/load_wrong_noof_part.q.out 4d8c8d8 
  ql/src/test/results/clientnegative/nopart_insert.q.out 42bca76 
  ql/src/test/results/clientnegative/notable_alias3.q.out d48d5e1 
  ql/src/test/results/clientnegative/orderbysortby.q.out 73b83a4 
  ql/src/test/results/clientnegative/regex_col_1.q.out 7547858 
  ql/src/test/results/clientnegative/regex_col_2.q.out f570010 
  ql/src/test/results/clientnegative/regex_col_groupby.q.out 8497718 
  ql/src/test/results/clientnegative/semijoin1.q.out 739931f 
  ql/src/test/results/clientnegative/semijoin2.q.out 2b418de 
  ql/src/test/results/clientnegative/semijoin3.q.out a803b50 
  ql/src/test/results/clientnegative/semijoin4.q.out 86a834b 
  ql/src/test/results/clientnegative/split_sample_out_of_range.q.out 0761955 
  ql/src/test/results/clientnegative/split_sample_wrong_format.q.out 19b1417 
  ql/src/test/results/clientnegative/strict_orderby.q.out 2d3ba6b 
  ql/src/test/results/clientnegative/subq_insert.q.out 8c3ce79 
  ql/src/test/results/clientnegative/udf_array_contains_wrong1.q.out d6b98b4 
  ql/src/test/results/clientnegative/udf_array_contains_wrong2.q.out 7b8dca6 
  ql/src/test/results/clientnegative/udf_case_type_wrong.q.out 75b9638 
  ql/src/test/results/clientnegative/udf_case_type_wrong2.q.out 126fa4e 
  ql/src/test/results/clientnegative/udf_case_type_wrong3.q.out fd62771 
  ql/src/test/results/clientnegative/udf_coalesce.q.out a5279f5 
  ql/src/test/results/clientnegative/udf_elt_wrong_args_len.q.out 22a085a 
  ql/src/test/results/clientnegative/udf_elt_wrong_type.q.out fc83f23 
  ql/src/test/results/clientnegative/udf_field_wrong_args_len.q.out 3bf97d9 
  ql/src/test/results/clientnegative/udf_field_wrong_type.q.out 2a2e944 
  ql/src/test/results/clientnegative/udf_if_not_bool.q.out a3c8902 
  ql/src/test/results/clientnegative/udf_if_wrong_args_len.q.out 89b23c8 
  ql/src/test/results/clientnegative/udf_in.q.out 50a6b98 
  ql/src/test/results/clientnegative/udf_instr_wrong_args_len.q.out 7f66db7 
  ql/src/test/results/clientnegative/udf_instr_wrong_type.q.out 89d8542 
  ql/src/test/results/clientnegative/udf_locate_wrong_args_len.q.out 46613e8 
  ql/src/test/results/clientnegative/udf_locate_wrong_type.q.out 42cc4b6 
  ql/src/test/results/clientnegative/udf_size_wrong_args_len.q.out b05731e 
  ql/src/test/results/clientnegative/udf_size_wrong_type.q.out 0c91c8f 
  ql/src/test/results/clientnegative/udf_when_type_wrong.q.out bec3725 
  ql/src/test/results/clientnegative/udf_when_type_wrong2.q.out 5b06467 
  ql/src/test/results/clientnegative/udf_when_type_wrong3.q.out 6974dd7 
  ql/src/t

[jira] [Updated] (HIVE-1937) DDLSemanticAnalyzer won't take newly set Hive parameters

2011-05-11 Thread He Yongqiang (JIRA)

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

He Yongqiang updated HIVE-1937:
---

Resolution: Fixed
Status: Resolved  (was: Patch Available)

committed! thanks Ning

> DDLSemanticAnalyzer won't take newly set Hive parameters
> 
>
> Key: HIVE-1937
> URL: https://issues.apache.org/jira/browse/HIVE-1937
> Project: Hive
>  Issue Type: Bug
>Reporter: Ning Zhang
>Assignee: Ning Zhang
> Attachments: HIVE-1937.2.patch, HIVE-1937.3.patch, HIVE-1937.patch
>
>
> Hive DDLSemanticAnalyzer maintains a static reservedPartitionValue set whose 
> values come from several Hive parameters. However even if these parameters 
> are set to new values, the reservedPartitionValue are not changed. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-2056) Generate single MR job for multi groupby query if hive.multigroupby.singlemr is enabled.

2011-05-11 Thread Namit Jain (JIRA)

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

Namit Jain updated HIVE-2056:
-

  Resolution: Fixed
Hadoop Flags: [Reviewed]
  Status: Resolved  (was: Patch Available)

Committed. Thanks Amareshwari

> Generate single MR job for multi groupby query if hive.multigroupby.singlemr 
> is enabled.
> 
>
> Key: HIVE-2056
> URL: https://issues.apache.org/jira/browse/HIVE-2056
> Project: Hive
>  Issue Type: Improvement
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 0.8.0
>
> Attachments: patch-2056-1.txt, patch-2056-2.txt, patch-2056.txt
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (HIVE-2159) TableSample(percent ) uses one intermediate size to be int, which overflows for large sampled size, making the sampling never triggered.

2011-05-11 Thread He Yongqiang (JIRA)

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

He Yongqiang resolved HIVE-2159.


Resolution: Fixed

committed! thanks siying

> TableSample(percent ) uses one intermediate size to be int, which overflows 
> for large sampled size, making the sampling never triggered.
> 
>
> Key: HIVE-2159
> URL: https://issues.apache.org/jira/browse/HIVE-2159
> Project: Hive
>  Issue Type: Bug
>Reporter: Siying Dong
>Assignee: Siying Dong
> Attachments: HIVE-2159.1.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-2159) TableSample(percent ) uses one intermediate size to be int, which overflows for large sampled size, making the sampling never triggered.

2011-05-11 Thread He Yongqiang (JIRA)

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

He Yongqiang commented on HIVE-2159:


+1, will commit after test pass

> TableSample(percent ) uses one intermediate size to be int, which overflows 
> for large sampled size, making the sampling never triggered.
> 
>
> Key: HIVE-2159
> URL: https://issues.apache.org/jira/browse/HIVE-2159
> Project: Hive
>  Issue Type: Bug
>Reporter: Siying Dong
>Assignee: Siying Dong
> Attachments: HIVE-2159.1.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-2159) TableSample(percent ) uses one intermediate size to be int, which overflows for large sampled size, making the sampling never triggered.

2011-05-11 Thread Siying Dong (JIRA)

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

Siying Dong updated HIVE-2159:
--

Attachment: HIVE-2159.1.patch

> TableSample(percent ) uses one intermediate size to be int, which overflows 
> for large sampled size, making the sampling never triggered.
> 
>
> Key: HIVE-2159
> URL: https://issues.apache.org/jira/browse/HIVE-2159
> Project: Hive
>  Issue Type: Bug
>Reporter: Siying Dong
>Assignee: Siying Dong
> Attachments: HIVE-2159.1.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (HIVE-2159) TableSample(percent ) uses one intermediate size to be int, which overflows for large sampled size, making the sampling never triggered.

2011-05-11 Thread Siying Dong (JIRA)
TableSample(percent ) uses one intermediate size to be int, which overflows for 
large sampled size, making the sampling never triggered.


 Key: HIVE-2159
 URL: https://issues.apache.org/jira/browse/HIVE-2159
 Project: Hive
  Issue Type: Bug
Reporter: Siying Dong
Assignee: Siying Dong




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-2155) Improve error messages emitted during semantic analysis

2011-05-11 Thread Syed S. Albiz (JIRA)

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

Syed S. Albiz updated HIVE-2155:


Attachment: HIVE-2155.1.patch

This patch (review board still not accepting new registrations) attaches 
line/column number to the vast majority of SemanticExceptions thrown. In 
addition, the context strings for the error messages relating to UNION ALLs and 
GROUP BY keys have been changed to provide more meaningful context

> Improve error messages emitted during semantic analysis
> ---
>
> Key: HIVE-2155
> URL: https://issues.apache.org/jira/browse/HIVE-2155
> Project: Hive
>  Issue Type: Improvement
>Reporter: Syed S. Albiz
>Assignee: Syed S. Albiz
> Attachments: HIVE-2155.1.patch
>
>
> Follow-up to HIVE-1731.
> A number of issues raised in HIVE-1731 were caused by SemanticAnalyzer not 
> reporting errors correctly.
> Specifically, the following issues need to be addressed:
> - Line numbers are not always provided and sometimes emitted as (0:-1), which 
> is useless
> - Insufficient or unclear context strings are provided
> Specific issues described in HIVE-1731:
> FAILED: Error in semantic analysis: Schema of both sides of union should 
> match: destinationid:_col1 _col2
> * No line/col numbers, context strings provide internal aliases instead of 
> actual column names
> FAILED: Error in semantic analysis: line 0:-1 Both Left and Right Aliases 
> Encountered in Join time
> * Incorrect line/col number info, no context strings to describe the aliases 
> encountered
> FAILED: Error in semantic analysis: AS clause has an invalid number of aliases
> * No line/col numbers, not context string to show the aliases encountered
> FAILED: Error in semantic analysis: line 1:94 Expression Not In Group By Key a
> * testcase: SELECT a.id, VAR(a.cnt) FROM mytable a
> * Context string is unhelpful, needs to provide the actual expression, not 
> just the table reference

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-2134) Remove System.exit

2011-05-11 Thread Ashutosh Chauhan (JIRA)

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

Ashutosh Chauhan commented on HIVE-2134:


$ svn co  http://svn.apache.org/repos/asf/hive/trunk .
$ curl 
https://issues.apache.org/jira/secure/attachment/12477856/hive_2134.patch | 
patch -p0
$ ant package
BUILD SUCCESSFUL
Total time: 2 minutes 35 seconds

works for me. can you double check if you have clean upto date tree.

> Remove System.exit 
> ---
>
> Key: HIVE-2134
> URL: https://issues.apache.org/jira/browse/HIVE-2134
> Project: Hive
>  Issue Type: Improvement
>Reporter: Ashutosh Chauhan
>Assignee: Ashutosh Chauhan
> Fix For: 0.8.0
>
> Attachments: hive_2134.patch, no_sysexit.patch
>
>
> System.exit exists in various places in code. Its good to get rid of it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-1095) Hive in Maven

2011-05-11 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu commented on HIVE-1095:
---

bq. I'm making the changes that were flagged by Amareshwari, along with some 
others that I found, and will try running through the publication steps when I 
finish.
Carl, did you get chance to update the patch or to look at the patch i uploaded?

> Hive in Maven
> -
>
> Key: HIVE-1095
> URL: https://issues.apache.org/jira/browse/HIVE-1095
> Project: Hive
>  Issue Type: Task
>  Components: Build Infrastructure
>Affects Versions: 0.6.0
>Reporter: Gerrit Jansen van Vuuren
>Priority: Minor
> Fix For: 0.7.1
>
> Attachments: HIVE-1095-trunk.patch, HIVE-1095.v2.PATCH, 
> HIVE-1095.v3.PATCH, HIVE-1095.v4.PATCH, HIVE-1095.v5.PATCH, 
> HIVE-1095.v6.patch, hiveReleasedToMaven.tar.gz, make-maven.log
>
>
> Getting hive into maven main repositories
> Documentation on how to do this is on:
> http://maven.apache.org/guides/mini/guide-central-repository-upload.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Build failed in Jenkins: Hive-trunk-h0.20 #723

2011-05-11 Thread Apache Jenkins Server
See 

--
Started by timer
Building remotely on ubuntu1
hudson.util.IOException2: remote file operation failed: 
 at 
hudson.remoting.Channel@517864b9:ubuntu1
at hudson.FilePath.act(FilePath.java:752)
at hudson.FilePath.act(FilePath.java:738)
at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:684)
at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:633)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1181)
at 
hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:536)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:424)
at hudson.model.Run.run(Run.java:1374)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:145)
Caused by: java.io.IOException: Remote call on ubuntu1 failed
at hudson.remoting.Channel.call(Channel.java:652)
at hudson.FilePath.act(FilePath.java:745)
... 10 more
Caused by: java.lang.Error: Failed to deserialize the Callable object.
at hudson.remoting.UserRequest.perform(UserRequest.java:104)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:270)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.IllegalStateException: Unable to call fetch2. Invalid 
object ID 608
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:268)
at hudson.remoting.Request$2.run(Request.java:270)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Recording test results
Archiving artifacts
ERROR: Failed to archive artifacts: hive/build/hive*.tar.gz*
hudson.util.IOException2: hudson.util.IOException2: Failed to extract 

at hudson.FilePath.readFromTar(FilePath.java:1624)
at hudson.FilePath.copyRecursiveTo(FilePath.java:1542)
at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:117)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at 
hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:662)
at 
hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:638)
at 
hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:616)
at hudson.model.Build$RunnerImpl.post2(Build.java:161)
at 
hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:585)
at hudson.model.Run.run(Run.java:1398)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:145)
Caused by: java.util.zip.ZipException: invalid block type
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:147)
at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:92)
at org.apache.tools.tar.TarBuffer.readBlock(TarBuffer.java:257)
at org.apache.tools.tar.TarBuffer.readRecord(TarBuffer.java:223)
at 
hudson.org.apache.tools.tar.TarInputStream.read(TarInputStream.java:345)
at java.io.FilterInputStream.read(FilterInputStream.java:90)
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1025)
at org.apache.commons.io.IOUtils.copy(IOUtils.java:999)
at hudson.util.IOUtils.copy(IOUtils.java:38)
at hudson.FilePath.readFromTar(FilePath.java:1616)
... 12 more

at hudson.FilePath.copyRecursiveTo(FilePath.java:1549)
at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:117)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at 
hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:662)
at

Re: Review Request: HIVE-2056

2011-05-11 Thread Amareshwari Sriramadasu

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/700/
---

(Updated 2011-05-11 13:14:36.754720)


Review request for hive.


Changes
---

Updated the patch to do prefix matching and added a testcase.


Summary
---

Attached patch generates a single M/R job for multi group by query with 
non-null common group by key set. Added configuration 
hive.multigroupby.singlemr to turn on and off the optimization. 


This addresses bug HIVE-2056.
https://issues.apache.org/jira/browse/HIVE-2056


Diffs (updated)
-

  trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java 1100910 
  trunk/conf/hive-default.xml 1100910 
  trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java 
1100910 
  trunk/ql/src/test/queries/clientpositive/groupby10.q 1100910 
  trunk/ql/src/test/queries/clientpositive/groupby8.q 1100910 
  trunk/ql/src/test/queries/clientpositive/groupby8_noskew.q 1100910 
  trunk/ql/src/test/queries/clientpositive/groupby9.q 1100910 
  trunk/ql/src/test/queries/clientpositive/multigroupby_singlemr.q PRE-CREATION 
  trunk/ql/src/test/results/clientpositive/groupby10.q.out 1100910 
  trunk/ql/src/test/results/clientpositive/groupby8.q.out 1100910 
  trunk/ql/src/test/results/clientpositive/groupby9.q.out 1100910 
  trunk/ql/src/test/results/clientpositive/multigroupby_singlemr.q.out 
PRE-CREATION 

Diff: https://reviews.apache.org/r/700/diff


Testing (updated)
---

Updated jira with performance tests.

All unit tests passed with the patch


Thanks,

Amareshwari



Re: Review Request: HIVE-2056

2011-05-11 Thread Amareshwari Sriramadasu


> On 2011-05-09 17:07:16, namit jain wrote:
> > Change hive-default.xml with the new parameter.
> > Add the new parameter in the name of the jira.

Done


> On 2011-05-09 17:07:16, namit jain wrote:
> > trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java, 
> > line 5518
> > 
> >
> > Add a comment - this optimization is not enabled
> > if one of the sub-queries does not involve a 
> > aggregation

Done


> On 2011-05-09 17:07:16, namit jain wrote:
> > trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java, 
> > line 5524
> > 
> >
> > The code is not preforming a prefix match.
> > I mean,
> > 
> > if the query is:
> > 
> > from T
> > insert overwrite T1 select ... group by c1
> > insert overwrite T1 select ... group by c2, c1
> > 
> > 
> > c1 will still be returned.
> > 
> > Is that desirable ?
> > 
> > I dont think this will work - can you add a testcase
> > for this - I mean, with a explain which shows that
> > the parameter does not make a difference
> >

Agreed. I missed this.
Updated the patch with prefix matching


- Amareshwari


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/700/#review651
---


On 2011-05-11 13:14:36, Amareshwari Sriramadasu wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/700/
> ---
> 
> (Updated 2011-05-11 13:14:36)
> 
> 
> Review request for hive.
> 
> 
> Summary
> ---
> 
> Attached patch generates a single M/R job for multi group by query with 
> non-null common group by key set. Added configuration 
> hive.multigroupby.singlemr to turn on and off the optimization. 
> 
> 
> This addresses bug HIVE-2056.
> https://issues.apache.org/jira/browse/HIVE-2056
> 
> 
> Diffs
> -
> 
>   trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java 1100910 
>   trunk/conf/hive-default.xml 1100910 
>   trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java 
> 1100910 
>   trunk/ql/src/test/queries/clientpositive/groupby10.q 1100910 
>   trunk/ql/src/test/queries/clientpositive/groupby8.q 1100910 
>   trunk/ql/src/test/queries/clientpositive/groupby8_noskew.q 1100910 
>   trunk/ql/src/test/queries/clientpositive/groupby9.q 1100910 
>   trunk/ql/src/test/queries/clientpositive/multigroupby_singlemr.q 
> PRE-CREATION 
>   trunk/ql/src/test/results/clientpositive/groupby10.q.out 1100910 
>   trunk/ql/src/test/results/clientpositive/groupby8.q.out 1100910 
>   trunk/ql/src/test/results/clientpositive/groupby9.q.out 1100910 
>   trunk/ql/src/test/results/clientpositive/multigroupby_singlemr.q.out 
> PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/700/diff
> 
> 
> Testing
> ---
> 
> Updated jira with performance tests.
> 
> All unit tests passed with the patch
> 
> 
> Thanks,
> 
> Amareshwari
> 
>



[jira] [Commented] (HIVE-2056) Generate single MR job for multi groupby query if hive.multigroupby.singlemr is enabled.

2011-05-11 Thread Namit Jain (JIRA)

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

Namit Jain commented on HIVE-2056:
--

+1

> Generate single MR job for multi groupby query if hive.multigroupby.singlemr 
> is enabled.
> 
>
> Key: HIVE-2056
> URL: https://issues.apache.org/jira/browse/HIVE-2056
> Project: Hive
>  Issue Type: Improvement
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 0.8.0
>
> Attachments: patch-2056-1.txt, patch-2056-2.txt, patch-2056.txt
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-2147) Add api to send / receive message to metastore

2011-05-11 Thread Ashutosh Chauhan (JIRA)

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

Ashutosh Chauhan commented on HIVE-2147:


Looks like RB is down. Trying to create review request since yesterday. No luck.

> Add api to send / receive message to metastore
> --
>
> Key: HIVE-2147
> URL: https://issues.apache.org/jira/browse/HIVE-2147
> Project: Hive
>  Issue Type: Improvement
>  Components: Metastore
>Reporter: Ashutosh Chauhan
>Assignee: Ashutosh Chauhan
> Fix For: 0.8.0
>
> Attachments: api-without-thrift.patch
>
>
> This is follow-up work on HIVE-2038.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-2056) Generate single MR job for multi groupby query.

2011-05-11 Thread jirapos...@reviews.apache.org (JIRA)

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

jirapos...@reviews.apache.org commented on HIVE-2056:
-



bq.  On 2011-05-09 17:07:16, namit jain wrote:
bq.  > Change hive-default.xml with the new parameter.
bq.  > Add the new parameter in the name of the jira.

Done


bq.  On 2011-05-09 17:07:16, namit jain wrote:
bq.  > trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java, 
line 5518
bq.  > 
bq.  >
bq.  > Add a comment - this optimization is not enabled
bq.  > if one of the sub-queries does not involve a 
bq.  > aggregation

Done


bq.  On 2011-05-09 17:07:16, namit jain wrote:
bq.  > trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java, 
line 5524
bq.  > 
bq.  >
bq.  > The code is not preforming a prefix match.
bq.  > I mean,
bq.  > 
bq.  > if the query is:
bq.  > 
bq.  > from T
bq.  > insert overwrite T1 select ... group by c1
bq.  > insert overwrite T1 select ... group by c2, c1
bq.  > 
bq.  > 
bq.  > c1 will still be returned.
bq.  > 
bq.  > Is that desirable ?
bq.  > 
bq.  > I dont think this will work - can you add a testcase
bq.  > for this - I mean, with a explain which shows that
bq.  > the parameter does not make a difference
bq.  >

Agreed. I missed this.
Updated the patch with prefix matching


- Amareshwari


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/700/#review651
---


On 2011-05-11 13:14:36, Amareshwari Sriramadasu wrote:
bq.  
bq.  ---
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/700/
bq.  ---
bq.  
bq.  (Updated 2011-05-11 13:14:36)
bq.  
bq.  
bq.  Review request for hive.
bq.  
bq.  
bq.  Summary
bq.  ---
bq.  
bq.  Attached patch generates a single M/R job for multi group by query with 
non-null common group by key set. Added configuration 
hive.multigroupby.singlemr to turn on and off the optimization. 
bq.  
bq.  
bq.  This addresses bug HIVE-2056.
bq.  https://issues.apache.org/jira/browse/HIVE-2056
bq.  
bq.  
bq.  Diffs
bq.  -
bq.  
bq.trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java 1100910 
bq.trunk/conf/hive-default.xml 1100910 
bq.trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java 
1100910 
bq.trunk/ql/src/test/queries/clientpositive/groupby10.q 1100910 
bq.trunk/ql/src/test/queries/clientpositive/groupby8.q 1100910 
bq.trunk/ql/src/test/queries/clientpositive/groupby8_noskew.q 1100910 
bq.trunk/ql/src/test/queries/clientpositive/groupby9.q 1100910 
bq.trunk/ql/src/test/queries/clientpositive/multigroupby_singlemr.q 
PRE-CREATION 
bq.trunk/ql/src/test/results/clientpositive/groupby10.q.out 1100910 
bq.trunk/ql/src/test/results/clientpositive/groupby8.q.out 1100910 
bq.trunk/ql/src/test/results/clientpositive/groupby9.q.out 1100910 
bq.trunk/ql/src/test/results/clientpositive/multigroupby_singlemr.q.out 
PRE-CREATION 
bq.  
bq.  Diff: https://reviews.apache.org/r/700/diff
bq.  
bq.  
bq.  Testing
bq.  ---
bq.  
bq.  Updated jira with performance tests.
bq.  
bq.  All unit tests passed with the patch
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Amareshwari
bq.  
bq.



> Generate single MR job for multi groupby query.
> ---
>
> Key: HIVE-2056
> URL: https://issues.apache.org/jira/browse/HIVE-2056
> Project: Hive
>  Issue Type: Improvement
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 0.8.0
>
> Attachments: patch-2056-1.txt, patch-2056-2.txt, patch-2056.txt
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-2056) Generate single MR job for multi groupby query if hive.multigroupby.singlemr is enabled.

2011-05-11 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated HIVE-2056:
--

Summary: Generate single MR job for multi groupby query if 
hive.multigroupby.singlemr is enabled.  (was: Generate single MR job for multi 
groupby query.)

> Generate single MR job for multi groupby query if hive.multigroupby.singlemr 
> is enabled.
> 
>
> Key: HIVE-2056
> URL: https://issues.apache.org/jira/browse/HIVE-2056
> Project: Hive
>  Issue Type: Improvement
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 0.8.0
>
> Attachments: patch-2056-1.txt, patch-2056-2.txt, patch-2056.txt
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-2056) Generate single MR job for multi groupby query.

2011-05-11 Thread jirapos...@reviews.apache.org (JIRA)

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

jirapos...@reviews.apache.org commented on HIVE-2056:
-


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/700/
---

(Updated 2011-05-11 13:14:36.754720)


Review request for hive.


Changes
---

Updated the patch to do prefix matching and added a testcase.


Summary
---

Attached patch generates a single M/R job for multi group by query with 
non-null common group by key set. Added configuration 
hive.multigroupby.singlemr to turn on and off the optimization. 


This addresses bug HIVE-2056.
https://issues.apache.org/jira/browse/HIVE-2056


Diffs (updated)
-

  trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java 1100910 
  trunk/conf/hive-default.xml 1100910 
  trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java 
1100910 
  trunk/ql/src/test/queries/clientpositive/groupby10.q 1100910 
  trunk/ql/src/test/queries/clientpositive/groupby8.q 1100910 
  trunk/ql/src/test/queries/clientpositive/groupby8_noskew.q 1100910 
  trunk/ql/src/test/queries/clientpositive/groupby9.q 1100910 
  trunk/ql/src/test/queries/clientpositive/multigroupby_singlemr.q PRE-CREATION 
  trunk/ql/src/test/results/clientpositive/groupby10.q.out 1100910 
  trunk/ql/src/test/results/clientpositive/groupby8.q.out 1100910 
  trunk/ql/src/test/results/clientpositive/groupby9.q.out 1100910 
  trunk/ql/src/test/results/clientpositive/multigroupby_singlemr.q.out 
PRE-CREATION 

Diff: https://reviews.apache.org/r/700/diff


Testing (updated)
---

Updated jira with performance tests.

All unit tests passed with the patch


Thanks,

Amareshwari



> Generate single MR job for multi groupby query.
> ---
>
> Key: HIVE-2056
> URL: https://issues.apache.org/jira/browse/HIVE-2056
> Project: Hive
>  Issue Type: Improvement
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 0.8.0
>
> Attachments: patch-2056-1.txt, patch-2056-2.txt, patch-2056.txt
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-2056) Generate single MR job for multi groupby query if hive.multigroupby.singlemr is enabled.

2011-05-11 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated HIVE-2056:
--

Status: Patch Available  (was: Open)

> Generate single MR job for multi groupby query if hive.multigroupby.singlemr 
> is enabled.
> 
>
> Key: HIVE-2056
> URL: https://issues.apache.org/jira/browse/HIVE-2056
> Project: Hive
>  Issue Type: Improvement
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 0.8.0
>
> Attachments: patch-2056-1.txt, patch-2056-2.txt, patch-2056.txt
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-2056) Generate single MR job for multi groupby query.

2011-05-11 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated HIVE-2056:
--

Attachment: patch-2056-2.txt

Earlier patch missed a comment. Updated this diff on review board.

> Generate single MR job for multi groupby query.
> ---
>
> Key: HIVE-2056
> URL: https://issues.apache.org/jira/browse/HIVE-2056
> Project: Hive
>  Issue Type: Improvement
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 0.8.0
>
> Attachments: patch-2056-1.txt, patch-2056-2.txt, patch-2056.txt
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-2056) Generate single MR job for multi groupby query.

2011-05-11 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated HIVE-2056:
--

Attachment: patch-2056-1.txt

Thanks Namit for the review.

Updated the patch to do prefix matching and added a testcase.

> Generate single MR job for multi groupby query.
> ---
>
> Key: HIVE-2056
> URL: https://issues.apache.org/jira/browse/HIVE-2056
> Project: Hive
>  Issue Type: Improvement
>Reporter: Amareshwari Sriramadasu
>Assignee: Amareshwari Sriramadasu
> Fix For: 0.8.0
>
> Attachments: patch-2056-1.txt, patch-2056.txt
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Build failed in Jenkins: Hive-trunk-h0.20 #722

2011-05-11 Thread Apache Jenkins Server
See 

Changes:

[namit] HIVE-2157 NPE in MapJoinObjectKey
(Yongqiang He via namit)

--
[...truncated 30199 lines...]
[junit] OK
[junit] PREHOOK: query: select count(1) as cnt from testhivedrivertable
[junit] PREHOOK: type: QUERY
[junit] PREHOOK: Input: default@testhivedrivertable
[junit] PREHOOK: Output: 
file:/tmp/hudson/hive_2011-05-11_04-51-19_588_149617282990676/-mr-1
[junit] Total MapReduce jobs = 1
[junit] Launching Job 1 out of 1
[junit] Number of reduce tasks determined at compile time: 1
[junit] In order to change the average load for a reducer (in bytes):
[junit]   set hive.exec.reducers.bytes.per.reducer=
[junit] In order to limit the maximum number of reducers:
[junit]   set hive.exec.reducers.max=
[junit] In order to set a constant number of reducers:
[junit]   set mapred.reduce.tasks=
[junit] Job running in-process (local Hadoop)
[junit] Hadoop job information for null: number of mappers: 0; number of 
reducers: 0
[junit] 2011-05-11 04:51:22,673 null map = 100%,  reduce = 100%
[junit] Ended Job = job_local_0001
[junit] POSTHOOK: query: select count(1) as cnt from testhivedrivertable
[junit] POSTHOOK: type: QUERY
[junit] POSTHOOK: Input: default@testhivedrivertable
[junit] POSTHOOK: Output: 
file:/tmp/hudson/hive_2011-05-11_04-51-19_588_149617282990676/-mr-1
[junit] OK
[junit] PREHOOK: query: drop table testhivedrivertable
[junit] PREHOOK: type: DROPTABLE
[junit] PREHOOK: Input: default@testhivedrivertable
[junit] PREHOOK: Output: default@testhivedrivertable
[junit] POSTHOOK: query: drop table testhivedrivertable
[junit] POSTHOOK: type: DROPTABLE
[junit] POSTHOOK: Input: default@testhivedrivertable
[junit] POSTHOOK: Output: default@testhivedrivertable
[junit] OK
[junit] Hive history 
file=
[junit] PREHOOK: query: drop table testhivedrivertable
[junit] PREHOOK: type: DROPTABLE
[junit] POSTHOOK: query: drop table testhivedrivertable
[junit] POSTHOOK: type: DROPTABLE
[junit] OK
[junit] PREHOOK: query: create table testhivedrivertable (num int)
[junit] PREHOOK: type: CREATETABLE
[junit] POSTHOOK: query: create table testhivedrivertable (num int)
[junit] POSTHOOK: type: CREATETABLE
[junit] POSTHOOK: Output: default@testhivedrivertable
[junit] OK
[junit] PREHOOK: query: load data local inpath 
'
 into table testhivedrivertable
[junit] PREHOOK: type: LOAD
[junit] PREHOOK: Output: default@testhivedrivertable
[junit] Copying data from 

[junit] Loading data to table default.testhivedrivertable
[junit] POSTHOOK: query: load data local inpath 
'
 into table testhivedrivertable
[junit] POSTHOOK: type: LOAD
[junit] POSTHOOK: Output: default@testhivedrivertable
[junit] OK
[junit] PREHOOK: query: select * from testhivedrivertable limit 10
[junit] PREHOOK: type: QUERY
[junit] PREHOOK: Input: default@testhivedrivertable
[junit] PREHOOK: Output: 
file:/tmp/hudson/hive_2011-05-11_04-51-24_211_6259413374484721577/-mr-1
[junit] POSTHOOK: query: select * from testhivedrivertable limit 10
[junit] POSTHOOK: type: QUERY
[junit] POSTHOOK: Input: default@testhivedrivertable
[junit] POSTHOOK: Output: 
file:/tmp/hudson/hive_2011-05-11_04-51-24_211_6259413374484721577/-mr-1
[junit] OK
[junit] PREHOOK: query: drop table testhivedrivertable
[junit] PREHOOK: type: DROPTABLE
[junit] PREHOOK: Input: default@testhivedrivertable
[junit] PREHOOK: Output: default@testhivedrivertable
[junit] POSTHOOK: query: drop table testhivedrivertable
[junit] POSTHOOK: type: DROPTABLE
[junit] POSTHOOK: Input: default@testhivedrivertable
[junit] POSTHOOK: Output: default@testhivedrivertable
[junit] OK
[junit] Hive history 
file=
[junit] PREHOOK: query: drop table testhivedrivertable
[junit] PREHOOK: type: DROPTABLE
[junit] POSTHOOK: query: drop table testhivedrivertable
[junit] POSTHOOK: type: DROPTABLE
[junit] OK
[junit] PREHOOK: query: create table testhivedrivertable (num int)
[junit] PREHOOK: type: CREATETABLE
[junit] POSTHOOK: query: create table testhivedrivertable (num int)
[junit] POSTHOOK: type: CREATETABLE
[junit] POSTHOOK: Output: default@testhivedrivertable
[junit] OK
[junit] PREHO

[jira] [Updated] (HIVE-2158) add the HivePreparedStatement implementation based on current HIVE supported data-type

2011-05-11 Thread Yuanjun Li (JIRA)

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

Yuanjun Li updated HIVE-2158:
-

Attachment: HIVE-0.8-PreparedStatement.1.patch.txt

> add the HivePreparedStatement implementation based on current HIVE supported 
> data-type
> --
>
> Key: HIVE-2158
> URL: https://issues.apache.org/jira/browse/HIVE-2158
> Project: Hive
>  Issue Type: Sub-task
>  Components: JDBC
>Affects Versions: 0.6.0, 0.7.0, 0.8.0
>Reporter: Yuanjun Li
> Fix For: 0.7.1, 0.8.0
>
> Attachments: HIVE-0.7.1-PreparedStatement.1.patch.txt, 
> HIVE-0.8-PreparedStatement.1.patch.txt
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-2158) add the HivePreparedStatement implementation based on current HIVE supported data-type

2011-05-11 Thread Yuanjun Li (JIRA)

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

Yuanjun Li updated HIVE-2158:
-

Affects Version/s: 0.8.0
   0.6.0

> add the HivePreparedStatement implementation based on current HIVE supported 
> data-type
> --
>
> Key: HIVE-2158
> URL: https://issues.apache.org/jira/browse/HIVE-2158
> Project: Hive
>  Issue Type: Sub-task
>  Components: JDBC
>Affects Versions: 0.6.0, 0.7.0, 0.8.0
>Reporter: Yuanjun Li
> Fix For: 0.7.1, 0.8.0
>
> Attachments: HIVE-0.7.1-PreparedStatement.1.patch.txt
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-2158) add the HivePreparedStatement implementation based on current HIVE supported data-type

2011-05-11 Thread Yuanjun Li (JIRA)

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

Yuanjun Li updated HIVE-2158:
-

Summary: add the HivePreparedStatement implementation based on current HIVE 
supported data-type  (was: add the HivePreparedStatement implemention based on 
current HIVE supportted data-type)

> add the HivePreparedStatement implementation based on current HIVE supported 
> data-type
> --
>
> Key: HIVE-2158
> URL: https://issues.apache.org/jira/browse/HIVE-2158
> Project: Hive
>  Issue Type: Sub-task
>  Components: JDBC
>Affects Versions: 0.7.0
>Reporter: Yuanjun Li
> Fix For: 0.7.1, 0.8.0
>
> Attachments: HIVE-0.7.1-PreparedStatement.1.patch.txt
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-2158) add the HivePreparedStatement implementation based on current HIVE supported data-type

2011-05-11 Thread Yuanjun Li (JIRA)

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

Yuanjun Li updated HIVE-2158:
-

Affects Version/s: 0.7.0

> add the HivePreparedStatement implementation based on current HIVE supported 
> data-type
> --
>
> Key: HIVE-2158
> URL: https://issues.apache.org/jira/browse/HIVE-2158
> Project: Hive
>  Issue Type: Sub-task
>  Components: JDBC
>Affects Versions: 0.7.0
>Reporter: Yuanjun Li
> Fix For: 0.7.1, 0.8.0
>
> Attachments: HIVE-0.7.1-PreparedStatement.1.patch.txt
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-2158) add the HivePreparedStatement implemention based on current HIVE supportted data-type

2011-05-11 Thread Yuanjun Li (JIRA)

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

Yuanjun Li updated HIVE-2158:
-

Fix Version/s: 0.8.0
   0.7.1

> add the HivePreparedStatement implemention based on current HIVE supportted 
> data-type
> -
>
> Key: HIVE-2158
> URL: https://issues.apache.org/jira/browse/HIVE-2158
> Project: Hive
>  Issue Type: Sub-task
>  Components: JDBC
>Reporter: Yuanjun Li
> Fix For: 0.7.1, 0.8.0
>
> Attachments: HIVE-0.7.1-PreparedStatement.1.patch.txt
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-2158) add the HivePreparedStatement implemention based on current HIVE supportted data-type

2011-05-11 Thread Yuanjun Li (JIRA)

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

Yuanjun Li updated HIVE-2158:
-

Attachment: HIVE-0.7.1-PreparedStatement.1.patch.txt

> add the HivePreparedStatement implemention based on current HIVE supportted 
> data-type
> -
>
> Key: HIVE-2158
> URL: https://issues.apache.org/jira/browse/HIVE-2158
> Project: Hive
>  Issue Type: Sub-task
>  Components: JDBC
>Reporter: Yuanjun Li
> Fix For: 0.7.1, 0.8.0
>
> Attachments: HIVE-0.7.1-PreparedStatement.1.patch.txt
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (HIVE-2158) add the HivePreparedStatement implemention based on current HIVE supportted data-type

2011-05-11 Thread Yuanjun Li (JIRA)
add the HivePreparedStatement implemention based on current HIVE supportted 
data-type
-

 Key: HIVE-2158
 URL: https://issues.apache.org/jira/browse/HIVE-2158
 Project: Hive
  Issue Type: Sub-task
Reporter: Yuanjun Li




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-2096) throw a error if the input is larger than a threshold for index input format

2011-05-11 Thread Namit Jain (JIRA)

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

Namit Jain updated HIVE-2096:
-

Status: Open  (was: Patch Available)

> throw a error if the input is larger than a threshold for index input format
> 
>
> Key: HIVE-2096
> URL: https://issues.apache.org/jira/browse/HIVE-2096
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.8.0
>Reporter: Namit Jain
> Attachments: HIVE-2096.1.patch.txt
>
>
> This can hang for ever.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-2096) throw a error if the input is larger than a threshold for index input format

2011-05-11 Thread Namit Jain (JIRA)

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

Namit Jain commented on HIVE-2096:
--

Also, add the new parameters in the subject of the jira - this helps 
in searching for these parameters in future.

> throw a error if the input is larger than a threshold for index input format
> 
>
> Key: HIVE-2096
> URL: https://issues.apache.org/jira/browse/HIVE-2096
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.8.0
>Reporter: Namit Jain
> Attachments: HIVE-2096.1.patch.txt
>
>
> This can hang for ever.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-2157) NPE in MapJoinObjectKey

2011-05-11 Thread Namit Jain (JIRA)

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

Namit Jain updated HIVE-2157:
-

  Resolution: Fixed
Hadoop Flags: [Reviewed]
  Status: Resolved  (was: Patch Available)

Committed. Thanks Yongqiang

> NPE in MapJoinObjectKey
> ---
>
> Key: HIVE-2157
> URL: https://issues.apache.org/jira/browse/HIVE-2157
> Project: Hive
>  Issue Type: Bug
>Reporter: He Yongqiang
>Assignee: He Yongqiang
> Attachments: HIVE-2157.1.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira