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

Review request for hive.


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


Repository: hive-git


Description
-------

HIVE-12431: Support timeout for global compile lock

When global (HS2-wide) compile lock is configured, a long-compiling request 
will block remaining sessions indefinitely. 

This patch allows the user to configure the maximum time a request will wait
to acquire the compile lock. Note that this configuration does not apply when
session scoped compile locking is configured.


Diffs
-----

  common/src/java/org/apache/hadoop/hive/conf/HiveConf.java 
7f9607129eb1f5f43e8a728cf7d2a56c1ed5af49 
  ql/src/java/org/apache/hadoop/hive/ql/Driver.java 
62b608cbf53c371d1743df40988daf85f76a0867 
  ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java 
8a47605630066e39272f506c6e309b108b8455dd 
  service/src/test/org/apache/hive/service/cli/CLIServiceTest.java 
d90002bd16e46b5ce970d4c6c544a9c7605328d1 

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


Testing
-------

TestEmbeddedThriftBinaryCLIService#testGlobalCompileLockTimeout


Thanks,

Mohit Sabharwal

Reply via email to