You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Carl Steinbach <ca...@cloudera.com> on 2011/01/08 03:07:54 UTC

Review Request: HIVE-1829: Fix intermittent failures in TestRemoteMetaStore

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

Review request for hive.


Summary
-------

This patch attempts to fix the intermittent failures in TestRemoteHiveMetaStore by instituting a 60 second
wait between consecutive connection attempts in HiveMetaStoreClient. This wait period is configurable
via the new configuration property hive.metastore.client.connect.retry.delay. The patch also defines the
new configuration property hive.metastore.client.socket.timeout that is used to set the timeout value on
Thrift socket wrapped by HiveMetaStoreClient.


This addresses bug HIVE-1829.
    https://issues.apache.org/jira/browse/HIVE-1829


Diffs
-----

  common/src/java/org/apache/hadoop/hive/conf/HiveConf.java c19d29f 
  conf/hive-default.xml 7662f11 
  metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java 720c1d0 
  metastore/src/test/org/apache/hadoop/hive/metastore/TestRemoteHiveMetaStore.java 57648b6 

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


Testing
-------


Thanks,

Carl