[
https://issues.apache.org/jira/browse/HIVE-1829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carl Steinbach updated HIVE-1829:
---------------------------------
Attachment: HIVE-1829.1.patch.txt
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.
> Fix intermittent failures in TestRemoteMetaStore
> ------------------------------------------------
>
> Key: HIVE-1829
> URL: https://issues.apache.org/jira/browse/HIVE-1829
> Project: Hive
> Issue Type: Bug
> Components: Metastore
> Affects Versions: 0.6.0
> Reporter: Edward Capriolo
> Assignee: Carl Steinbach
> Attachments: HIVE-1829.1.patch.txt
>
>
> Notice how Running metastore! appears twice.
> {noformat}
> test:
> [junit] Running org.apache.hadoop.hive.metastore.TestEmbeddedHiveMetaStore
> [junit] BR.recoverFromMismatchedToken
> [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 36.697 sec
> [junit] Running org.apache.hadoop.hive.metastore.TestRemoteHiveMetaStore
> [junit] Running metastore!
> [junit] Running metastore!
> [junit] org.apache.thrift.transport.TTransportException: Could not create
> ServerSocket on address 0.0.0.0/0.0.0.0:29083.
> [junit] at
> org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:98)
> [junit] at
> org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:79)
> [junit] at
> org.apache.hadoop.hive.metastore.TServerSocketKeepAlive.<init>(TServerSocketKeepAlive.java:34)
> [junit] at
> org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:2189)
> [junit] at
> org.apache.hadoop.hive.metastore.TestRemoteHiveMetaStore$RunMS.run(TestRemoteHiveMetaStore.java:35)
> [junit] at java.lang.Thread.run(Thread.java:619)
> [junit] Running org.apache.hadoop.hive.metastore.TestRemoteHiveMetaStore
> [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
> [junit] Test org.apache.hadoop.hive.metastore.TestRemoteHiveMetaStore
> FAILED (crashed)
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.