mirror of
https://github.com/apache/impala.git
synced 2025-12-25 02:03:09 -05:00
Increase wait times for startup of Hive and its Metastore
On Ubuntu 14.04 on AWS EC2 m4.4x, instances, these components frequently take more than 30 seconds to start. I have seen the HMS take more than 90 seconds; this patch sets a more conservative timeout default. Change-Id: I43eb8646cca495578c8f9730faa04812957d2917 Reviewed-on: http://gerrit.cloudera.org:8080/5068 Reviewed-by: Jim Apple <jbapple@cloudera.com> Tested-by: Internal Jenkins
This commit is contained in:
committed by
Internal Jenkins
parent
b3cbc960a7
commit
4b774880c9
2
testdata/bin/wait-for-hiveserver2.py
vendored
2
testdata/bin/wait-for-hiveserver2.py
vendored
@@ -60,7 +60,7 @@ hs2_client = TCLIService.Client(protocol)
|
||||
|
||||
# Try to connect to the HiveServer2 service and create a session
|
||||
now = time.time()
|
||||
TIMEOUT_SECONDS = 30.0
|
||||
TIMEOUT_SECONDS = 300.0
|
||||
while time.time() - now < TIMEOUT_SECONDS:
|
||||
try:
|
||||
hs2_transport.open()
|
||||
|
||||
Reference in New Issue
Block a user