Review Board 1.7.22


implement a udf to keep hive session alive for certain amount of time

Review Request #7848 - Created Nov. 3, 2012 and updated

Johnny Zhang
trunk
HIVE-3666
Reviewers
hive
hive
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.
have tested it with Hive CLI and Hive Server session, and it can keep them alive by the given seconds
Total:
15
Open:
1
Resolved:
14
Dropped:
0
Status:
From:
Description From Last Updated Status
This might be confusing to some users. The method may call Thread.sleep but the UDF's argument is in seconds. So ... Mark Grover Nov. 10, 2012, 4:18 a.m. Open
Review request changed
Updated (Nov. 9, 2012, 11:10 p.m.)
I update the diff to address Mark's comments. Thanks, Mark.
Posted (Nov. 10, 2012, 4:18 a.m.)

   

  
This might be confusing to some users. The method may call Thread.sleep but the UDF's argument is in seconds. So perhaps get rid "long millis" and mention that the UDF argument is in seconds