Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive, mail # dev - Review Request: implement a udf to keep hive session alive for certain amount of time


+
Johnny Zhang 2012-11-03, 02:56
+
Mark Grover 2012-11-04, 04:59
+
Johnny Zhang 2012-11-09, 23:08
Copy link to this message
-
Re: Review Request: implement a udf to keep hive session alive for certain amount of time
Johnny Zhang 2012-11-09, 23:10

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

(Updated Nov. 9, 2012, 11:10 p.m.)
Review request for hive.
Changes
-------

I update the diff to address Mark's comments. Thanks, Mark.
Description
-------

To make testing issues like HIVE-3590 convenient, we can implement a UDF to keep hive session alive for a given time. The patch introduce a new UDF sleep() which does this without introducing any data/load to cluster.
This addresses bug HIVE-3666.
    https://issues.apache.org/jira/browse/HIVE-3666
Diffs (updated)
-----

  http://svn.apache.org/repos/asf/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java 1405251
  http://svn.apache.org/repos/asf/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFSleep.java PRE-CREATION

Diff: https://reviews.apache.org/r/7848/diff/
Testing
-------

have tested it with Hive CLI and Hive Server session, and it can keep them alive by the given seconds
Thanks,

Johnny Zhang

+
Mark Grover 2012-11-10, 04:18