Review Request 40055: HIVE-12017

2015-11-08 Thread Jesús Camacho Rodríguez

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

Review request for hive, Ashutosh Chauhan and John Pullokkaran.


Bugs: HIVE-12017
https://issues.apache.org/jira/browse/HIVE-12017


Repository: hive-git


Description
---

Do not disable CBO by default when number of joins in a query is equal or less 
than 1


Diffs
-

  hbase-handler/src/test/results/positive/hbase_queries.q.out 
d887566be6c72ac8d0097da4df3c7701b5c69017 
  ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/HiveRelOptUtil.java 
b4e7d47134357bc1e25af8642373ffb9babc015b 
  
ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveAggregateProjectMergeRule.java
 53f04ee72d8a614a602ada688f89d1febd467689 
  
ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/translator/SqlFunctionConverter.java
 a17fb9498557fc95f273240c1484d69f514fcad0 
  ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java 
e13356ce16626bda1d9b6553ac5f191a65243394 
  ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java 
f7e20399f52ca7619899a1dd79d191e0e97cb01f 
  ql/src/test/results/clientnegative/bucket_mapjoin_mismatch1.q.out 
623c2e85a84919b41735913c3da32514f5d3ff22 
  ql/src/test/results/clientnegative/join_nonexistent_part.q.out 
391dd0592611d7af8484c52efde3a50fb7dfa44d 
  ql/src/test/results/clientpositive/annotate_stats_join_pkfk.q.out 
c864c042406d0426022c89b6b1f9e45ac8db5aa5 
  ql/src/test/results/clientpositive/archive_excludeHadoop20.q.out 
c2b98727d21f4990ae7496a0a8fa9ac16598f4c0 
  ql/src/test/results/clientpositive/archive_multi.q.out 
0ad29d122153bd4adf4d19064188b0c4f94e05ab 
  ql/src/test/results/clientpositive/auto_join1.q.out 
48ad641788a6adfad5f7e4fcdfef3d67eac70a4e 
  ql/src/test/results/clientpositive/auto_join10.q.out 
fa6f62d18abbf517c4e49ac3fa9da190c23a119f 
  ql/src/test/results/clientpositive/auto_join11.q.out 
851920b9dce7d9fb8d105ef81404f3f67166ad15 
  ql/src/test/results/clientpositive/auto_join14.q.out 
47e1724ab18ac322a83f687fab37ea44c4fdf78a 
  ql/src/test/results/clientpositive/auto_join24.q.out 
5b573033d317e3e7dbf70f9b6ef253b35ac7c140 
  ql/src/test/results/clientpositive/auto_join26.q.out 
94ab76f750a2ce51a645012dcd5beb43b560445a 
  ql/src/test/results/clientpositive/auto_join32.q.out 
161ab6b377a644e62a94d69aa9d3bba02b8045e6 
  ql/src/test/results/clientpositive/auto_join_filters.q.out 
a6720d908f4c5a354cb4f3234f8c288249d35d2d 
  ql/src/test/results/clientpositive/auto_join_nulls.q.out 
4416f3e921a3590223658eb6b0e15c317733a7e2 
  ql/src/test/results/clientpositive/auto_smb_mapjoin_14.q.out 
1dc9cd07cddb5bce3b2369c1776b690bb239e050 
  ql/src/test/results/clientpositive/auto_sortmerge_join_1.q.out 
f1aadef724d6f10ca4a710a3d11382e2f01ca1e5 
  ql/src/test/results/clientpositive/auto_sortmerge_join_10.q.out 
e7f6de36483216a5388dba79d8d4550ca642332a 
  ql/src/test/results/clientpositive/auto_sortmerge_join_11.q.out 
5dad0fb366d4e1fc21a9a7ba034d60c942e8664e 
  ql/src/test/results/clientpositive/auto_sortmerge_join_14.q.out 
33c56fdc6d6f01377dd78e77b99c229ff437d802 
  ql/src/test/results/clientpositive/auto_sortmerge_join_15.q.out 
460e5b1b0f60c213f3a14172482a9a8f8e85454d 
  ql/src/test/results/clientpositive/auto_sortmerge_join_2.q.out 
a7a5faa8f8cc29ff53328e6db598cc0acf4cb68e 
  ql/src/test/results/clientpositive/auto_sortmerge_join_3.q.out 
dfb1a16529bb09de8eb154976386ae39b76420c8 
  ql/src/test/results/clientpositive/auto_sortmerge_join_4.q.out 
013bc07b6ef804d57632ab2840628e7903f3cb47 
  ql/src/test/results/clientpositive/auto_sortmerge_join_5.q.out 
d751e7052a14f2ca308699c3a52beb30f989d0a0 
  ql/src/test/results/clientpositive/auto_sortmerge_join_7.q.out 
e2d797ba8d5083c2400df86aacaa94e22f71d809 
  ql/src/test/results/clientpositive/auto_sortmerge_join_8.q.out 
e3bb51d6ef8d69112acb75688c5eabefc628cab7 
  ql/src/test/results/clientpositive/auto_sortmerge_join_9.q.out 
bbfa75608deef0a72df8104b6836105b296f7d29 
  ql/src/test/results/clientpositive/bucket_map_join_spark1.q.out 
870ecdd37c3e4833dc1b182e98e6e4018f719fbe 
  ql/src/test/results/clientpositive/bucket_map_join_spark2.q.out 
33f5c46c2adf43a1e13f8af305da6c585998141a 
  ql/src/test/results/clientpositive/bucket_map_join_spark3.q.out 
067d12875a762d98126994f05090d4c4e4cd 
  ql/src/test/results/clientpositive/bucketsortoptimize_insert_2.q.out 
0e446313c0a21f5fd784b9d5fb3d8f4184f1335e 
  ql/src/test/results/clientpositive/bucketsortoptimize_insert_4.q.out 
594dc55754f3d4360a4714357f36c4664d57972e 
  ql/src/test/results/clientpositive/bucketsortoptimize_insert_5.q.out 
5626efde36600fe735756ded1c43940193318a4e 
  ql/src/test/results/clientpositive/bucketsortoptimize_insert_6.q.out 
a937fb4ec66f988822344e38adcd751dee406b50 
  ql/src/test/results/clientpositive/bucketsortoptimize_insert_7.q.out 
9f530e8b08e88c7bda345e6e343de5e09c0e4898 
  

[jira] [Created] (HIVE-12366) Refactor Heartbeater logic for transaction

2015-11-08 Thread Wei Zheng (JIRA)
Wei Zheng created HIVE-12366:


 Summary: Refactor Heartbeater logic for transaction
 Key: HIVE-12366
 URL: https://issues.apache.org/jira/browse/HIVE-12366
 Project: Hive
  Issue Type: Bug
  Components: Hive
Reporter: Wei Zheng
Assignee: Wei Zheng


Currently there is a gap between the time locks acquisition and the first 
heartbeat being sent out. Normally the gap is negligible, but when it's big it 
will cause query fail since the locks are timed out by the time the heartbeat 
is sent.

Need to remove this gap.



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


[jira] [Created] (HIVE-12367) Lock/unlock database should add current database to inputs and outputs of authz hook

2015-11-08 Thread Dapeng Sun (JIRA)
Dapeng Sun created HIVE-12367:
-

 Summary: Lock/unlock database should add current database to 
inputs and outputs of authz hook
 Key: HIVE-12367
 URL: https://issues.apache.org/jira/browse/HIVE-12367
 Project: Hive
  Issue Type: Bug
Reporter: Dapeng Sun
Assignee: Dapeng Sun






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


[jira] [Created] (HIVE-12368) Provide support for different versions of same JAR files for loading UDFs

2015-11-08 Thread Eric Lin (JIRA)
Eric Lin created HIVE-12368:
---

 Summary: Provide support for different versions of same JAR files 
for loading UDFs
 Key: HIVE-12368
 URL: https://issues.apache.org/jira/browse/HIVE-12368
 Project: Hive
  Issue Type: New Feature
  Components: HiveServer2
Reporter: Eric Lin
Assignee: Vaibhav Gumashta


If we want to setup one cluster to support multiple environments, namely DEV, 
QA, PRE-PROD etc, this is done in the way that data from different environment 
will be generated into different locations in the HDFS and Hive Databases.

This works fine, however, when need to deploy UDF classes for different 
environments, it becomes tricky, as each class has the same namespace, even 
though we have created udf-dev.jar, udf-qa.jar etc.

Creating each HS2 per environment is another option, however, with LB setup, it 
becomes harder.

The request is to have HS2 support loading UDFs in such environment, the 
implementation is open to discussion.

I know that this setup is no ideal, as the better approach is to have one 
cluster per environment, however, in the case that you have limited number of 
nodes in the setup, this might be the only option and I believe many people can 
benefit from it.

Thanks



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