[jira] [Commented] (HIVE-3400) Add Retries to Hive MetaStore Connections
[ https://issues.apache.org/jira/browse/HIVE-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13548008#comment-13548008 ] Hudson commented on HIVE-3400: -- Integrated in Hive-trunk-hadoop2 #54 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/54/]) HIVE-3400 : Add Retries to Hive MetaStore Connections (Bhushan Mandhani via Ashutosh Chauhan) (Revision 1418190) Result = ABORTED hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1418190 Files : * /hive/trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java * /hive/trunk/conf/hive-default.xml.template * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreUtils.java * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingHMSHandler.java * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingRawStore.java * /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestMarkPartitionRemote.java * /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestMetaStoreAuthorization.java * /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestMetaStoreEndFunctionListener.java * /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestMetaStoreEventListener.java * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java > Add Retries to Hive MetaStore Connections > - > > Key: HIVE-3400 > URL: https://issues.apache.org/jira/browse/HIVE-3400 > Project: Hive > Issue Type: Improvement > Components: Metastore >Reporter: Bhushan Mandhani >Assignee: Bhushan Mandhani >Priority: Minor > Labels: metastore > Fix For: 0.10.0 > > Attachments: HIVE-3400.1.patch.txt, HIVE-3400.2.patch.txt, > HIVE-3400.3.patch.txt > > > Currently, when using Thrift to access the MetaStore, if the Thrift host > dies, there is no mechanism to reconnect to some other host even if the > MetaStore URIs variable in the Conf contains multiple hosts. Hive should > retry and reconnect rather than throwing a communication link error. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-3400) Add Retries to Hive MetaStore Connections
[ https://issues.apache.org/jira/browse/HIVE-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13526396#comment-13526396 ] Hudson commented on HIVE-3400: -- Integrated in Hive-trunk-h0.21 #1840 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1840/]) HIVE-3400 : Add Retries to Hive MetaStore Connections (Bhushan Mandhani via Ashutosh Chauhan) (Revision 1418190) Result = FAILURE hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1418190 Files : * /hive/trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java * /hive/trunk/conf/hive-default.xml.template * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreUtils.java * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingHMSHandler.java * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingMetaStoreClient.java * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingRawStore.java * /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestMarkPartitionRemote.java * /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestMetaStoreAuthorization.java * /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestMetaStoreEndFunctionListener.java * /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestMetaStoreEventListener.java * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java > Add Retries to Hive MetaStore Connections > - > > Key: HIVE-3400 > URL: https://issues.apache.org/jira/browse/HIVE-3400 > Project: Hive > Issue Type: Improvement > Components: Metastore >Reporter: Bhushan Mandhani >Assignee: Bhushan Mandhani >Priority: Minor > Labels: metastore > Fix For: 0.10.0 > > Attachments: HIVE-3400.1.patch.txt, HIVE-3400.2.patch.txt, > HIVE-3400.3.patch.txt > > > Currently, when using Thrift to access the MetaStore, if the Thrift host > dies, there is no mechanism to reconnect to some other host even if the > MetaStore URIs variable in the Conf contains multiple hosts. Hive should > retry and reconnect rather than throwing a communication link error. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-3400) Add Retries to Hive MetaStore Connections
[ https://issues.apache.org/jira/browse/HIVE-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509955#comment-13509955 ] Ashutosh Chauhan commented on HIVE-3400: Bhushan, Patch wasn't applying cleanly on trunk, so I had to resolve some conflicts. I did that and ran tests and all the test cases passed. Great progress! But, I have few minor comments which I left on phabricator. If you can take care of those and generate a patch against trunk and attach here, I will take care of committing and closing this issue. > Add Retries to Hive MetaStore Connections > - > > Key: HIVE-3400 > URL: https://issues.apache.org/jira/browse/HIVE-3400 > Project: Hive > Issue Type: Improvement > Components: Metastore >Reporter: Bhushan Mandhani >Assignee: Bhushan Mandhani >Priority: Minor > Labels: metastore > Attachments: HIVE-3400.1.patch.txt, HIVE-3400.2.patch.txt > > > Currently, when using Thrift to access the MetaStore, if the Thrift host > dies, there is no mechanism to reconnect to some other host even if the > MetaStore URIs variable in the Conf contains multiple hosts. Hive should > retry and reconnect rather than throwing a communication link error. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-3400) Add Retries to Hive MetaStore Connections
[ https://issues.apache.org/jira/browse/HIVE-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509055#comment-13509055 ] Ashutosh Chauhan commented on HIVE-3400: +1 Running tests now. > Add Retries to Hive MetaStore Connections > - > > Key: HIVE-3400 > URL: https://issues.apache.org/jira/browse/HIVE-3400 > Project: Hive > Issue Type: Improvement > Components: Metastore >Reporter: Bhushan Mandhani >Assignee: Bhushan Mandhani >Priority: Minor > Labels: metastore > Attachments: HIVE-3400.1.patch.txt, HIVE-3400.2.patch.txt > > > Currently, when using Thrift to access the MetaStore, if the Thrift host > dies, there is no mechanism to reconnect to some other host even if the > MetaStore URIs variable in the Conf contains multiple hosts. Hive should > retry and reconnect rather than throwing a communication link error. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-3400) Add Retries to Hive MetaStore Connections
[ https://issues.apache.org/jira/browse/HIVE-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507768#comment-13507768 ] Bhushan Mandhani commented on HIVE-3400: Ashutosh, we no longer need HIVE-3612. Jean is about to abandon that diff. I think we should keep these RetryingRawStore changes here since RetryingHMSHandler already catches JDOExceptions. But I can take it out if you prefer that. > Add Retries to Hive MetaStore Connections > - > > Key: HIVE-3400 > URL: https://issues.apache.org/jira/browse/HIVE-3400 > Project: Hive > Issue Type: Improvement > Components: Metastore >Reporter: Bhushan Mandhani >Assignee: Bhushan Mandhani >Priority: Minor > Labels: metastore > Attachments: HIVE-3400.1.patch.txt, HIVE-3400.2.patch.txt > > > Currently, when using Thrift to access the MetaStore, if the Thrift host > dies, there is no mechanism to reconnect to some other host even if the > MetaStore URIs variable in the Conf contains multiple hosts. Hive should > retry and reconnect rather than throwing a communication link error. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-3400) Add Retries to Hive MetaStore Connections
[ https://issues.apache.org/jira/browse/HIVE-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507722#comment-13507722 ] Ashutosh Chauhan commented on HIVE-3400: Bhushan, You have some changes in RetryingRawStore.java which looks like are unrelated to this patch. It seems like HIVE-3612 is tracking similar enhancements. Will you mind taking those changes out and put on in HIVE-3612? > Add Retries to Hive MetaStore Connections > - > > Key: HIVE-3400 > URL: https://issues.apache.org/jira/browse/HIVE-3400 > Project: Hive > Issue Type: Improvement > Components: Metastore >Reporter: Bhushan Mandhani >Assignee: Bhushan Mandhani >Priority: Minor > Labels: metastore > Attachments: HIVE-3400.1.patch.txt, HIVE-3400.2.patch.txt > > > Currently, when using Thrift to access the MetaStore, if the Thrift host > dies, there is no mechanism to reconnect to some other host even if the > MetaStore URIs variable in the Conf contains multiple hosts. Hive should > retry and reconnect rather than throwing a communication link error. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-3400) Add Retries to Hive MetaStore Connections
[ https://issues.apache.org/jira/browse/HIVE-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507626#comment-13507626 ] Bhushan Mandhani commented on HIVE-3400: Ashutosh, I've uploaded and submitted the latest patch. Thanks. > Add Retries to Hive MetaStore Connections > - > > Key: HIVE-3400 > URL: https://issues.apache.org/jira/browse/HIVE-3400 > Project: Hive > Issue Type: Improvement > Components: Metastore >Reporter: Bhushan Mandhani >Assignee: Bhushan Mandhani >Priority: Minor > Labels: metastore > Attachments: HIVE-3400.1.patch.txt, HIVE-3400.2.patch.txt > > > Currently, when using Thrift to access the MetaStore, if the Thrift host > dies, there is no mechanism to reconnect to some other host even if the > MetaStore URIs variable in the Conf contains multiple hosts. Hive should > retry and reconnect rather than throwing a communication link error. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-3400) Add Retries to Hive MetaStore Connections
[ https://issues.apache.org/jira/browse/HIVE-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13505175#comment-13505175 ] Bhushan Mandhani commented on HIVE-3400: Yes, I'll do "Submit Patch" after making one key change that Carl pointed out. Working on that now. > Add Retries to Hive MetaStore Connections > - > > Key: HIVE-3400 > URL: https://issues.apache.org/jira/browse/HIVE-3400 > Project: Hive > Issue Type: Improvement > Components: Metastore >Reporter: Bhushan Mandhani >Assignee: Bhushan Mandhani >Priority: Minor > Attachments: HIVE-3400.1.patch.txt > > > Currently, when using Thrift to access the MetaStore, if the Thrift host > dies, there is no mechanism to reconnect to some other host even if the > MetaStore URIs variable in the Conf contains multiple hosts. Hive should > retry and reconnect rather than throwing a communication link error. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-3400) Add Retries to Hive MetaStore Connections
[ https://issues.apache.org/jira/browse/HIVE-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13505174#comment-13505174 ] Ashutosh Chauhan commented on HIVE-3400: Bhushan, Can you upload the latest patch on the jira too ? > Add Retries to Hive MetaStore Connections > - > > Key: HIVE-3400 > URL: https://issues.apache.org/jira/browse/HIVE-3400 > Project: Hive > Issue Type: Improvement > Components: Metastore >Reporter: Bhushan Mandhani >Assignee: Bhushan Mandhani >Priority: Minor > Attachments: HIVE-3400.1.patch.txt > > > Currently, when using Thrift to access the MetaStore, if the Thrift host > dies, there is no mechanism to reconnect to some other host even if the > MetaStore URIs variable in the Conf contains multiple hosts. Hive should > retry and reconnect rather than throwing a communication link error. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-3400) Add Retries to Hive MetaStore Connections
[ https://issues.apache.org/jira/browse/HIVE-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493001#comment-13493001 ] Ashutosh Chauhan commented on HIVE-3400: Bhushan, are you still working on this one ? > Add Retries to Hive MetaStore Connections > - > > Key: HIVE-3400 > URL: https://issues.apache.org/jira/browse/HIVE-3400 > Project: Hive > Issue Type: Improvement > Components: Metastore >Reporter: Bhushan Mandhani >Assignee: Bhushan Mandhani >Priority: Minor > Attachments: HIVE-3400.1.patch.txt > > > Currently, when using Thrift to access the MetaStore, if the Thrift host > dies, there is no mechanism to reconnect to some other host even if the > MetaStore URIs variable in the Conf contains multiple hosts. Hive should > retry and reconnect rather than throwing a communication link error. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-3400) Add Retries to Hive MetaStore Connections
[ https://issues.apache.org/jira/browse/HIVE-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446422#comment-13446422 ] Ashutosh Chauhan commented on HIVE-3400: Thanks Bhushan for considering the suggestion. I will take a look at your patch early next week. > Add Retries to Hive MetaStore Connections > - > > Key: HIVE-3400 > URL: https://issues.apache.org/jira/browse/HIVE-3400 > Project: Hive > Issue Type: Improvement > Components: Metastore >Reporter: Bhushan Mandhani >Assignee: Bhushan Mandhani >Priority: Minor > Attachments: HIVE-3400.1.patch.txt > > > Currently, when using Thrift to access the MetaStore, if the Thrift host > dies, there is no mechanism to reconnect to some other host even if the > MetaStore URIs variable in the Conf contains multiple hosts. Hive should > retry and reconnect rather than throwing a communication link error. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-3400) Add Retries to Hive MetaStore Connections
[ https://issues.apache.org/jira/browse/HIVE-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446419#comment-13446419 ] Bhushan Mandhani commented on HIVE-3400: Thanks Ashutosh. I've updated per your suggestion. > Add Retries to Hive MetaStore Connections > - > > Key: HIVE-3400 > URL: https://issues.apache.org/jira/browse/HIVE-3400 > Project: Hive > Issue Type: Improvement > Components: Metastore >Reporter: Bhushan Mandhani >Assignee: Bhushan Mandhani >Priority: Minor > Attachments: HIVE-3400.1.patch.txt > > > Currently, when using Thrift to access the MetaStore, if the Thrift host > dies, there is no mechanism to reconnect to some other host even if the > MetaStore URIs variable in the Conf contains multiple hosts. Hive should > retry and reconnect rather than throwing a communication link error. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-3400) Add Retries to Hive MetaStore Connections
[ https://issues.apache.org/jira/browse/HIVE-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13439275#comment-13439275 ] Ashutosh Chauhan commented on HIVE-3400: @Bhushan, It will be nice if this retrying logic is hidden from the users of {{HiveMetaStoreClient}}, otherwise they have to do {code} else if (!metaStoreClient.isConnected()) { metaStoreClient.connect(); } {code} (as you have done in Hive.java) before every rpc call they make on a created HMSC, i.e., test whether client is connected and reconnect if its not. Best solution for this to proxy all calls on HMSC. You can find an example of how this is done in RetryingRawStore.java which proxies all calls to {{RawStore}} from {{HiveMetaStore}} precisely for this reason. > Add Retries to Hive MetaStore Connections > - > > Key: HIVE-3400 > URL: https://issues.apache.org/jira/browse/HIVE-3400 > Project: Hive > Issue Type: Improvement > Components: Metastore >Reporter: Bhushan Mandhani >Assignee: Bhushan Mandhani >Priority: Minor > > Currently, when using Thrift to access the MetaStore, if the Thrift host > dies, there is no mechanism to reconnect to some other host even if the > MetaStore URIs variable in the Conf contains multiple hosts. Hive should > retry and reconnect rather than throwing a communication link error. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-3400) Add Retries to Hive MetaStore Connections
[ https://issues.apache.org/jira/browse/HIVE-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13439067#comment-13439067 ] Carl Steinbach commented on HIVE-3400: -- https://cwiki.apache.org/confluence/display/Hive/HowToContribute#HowToContribute-Contributingyourwork > Add Retries to Hive MetaStore Connections > - > > Key: HIVE-3400 > URL: https://issues.apache.org/jira/browse/HIVE-3400 > Project: Hive > Issue Type: Improvement > Components: Metastore >Reporter: Bhushan Mandhani >Assignee: Bhushan Mandhani >Priority: Minor > > Currently, when using Thrift to access the MetaStore, if the Thrift host > dies, there is no mechanism to reconnect to some other host even if the > MetaStore URIs variable in the Conf contains multiple hosts. Hive should > retry and reconnect rather than throwing a communication link error. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-3400) Add Retries to Hive MetaStore Connections
[ https://issues.apache.org/jira/browse/HIVE-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13439064#comment-13439064 ] Carl Steinbach commented on HIVE-3400: -- Are you going to submit it for review? > Add Retries to Hive MetaStore Connections > - > > Key: HIVE-3400 > URL: https://issues.apache.org/jira/browse/HIVE-3400 > Project: Hive > Issue Type: Improvement > Components: Metastore >Reporter: Bhushan Mandhani >Assignee: Bhushan Mandhani >Priority: Minor > > Currently, when using Thrift to access the MetaStore, if the Thrift host > dies, there is no mechanism to reconnect to some other host even if the > MetaStore URIs variable in the Conf contains multiple hosts. Hive should > retry and reconnect rather than throwing a communication link error. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-3400) Add Retries to Hive MetaStore Connections
[ https://issues.apache.org/jira/browse/HIVE-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13439023#comment-13439023 ] Bhushan Mandhani commented on HIVE-3400: Yes, it is. > Add Retries to Hive MetaStore Connections > - > > Key: HIVE-3400 > URL: https://issues.apache.org/jira/browse/HIVE-3400 > Project: Hive > Issue Type: Improvement > Components: Metastore >Reporter: Bhushan Mandhani >Assignee: Bhushan Mandhani >Priority: Minor > > Currently, when using Thrift to access the MetaStore, if the Thrift host > dies, there is no mechanism to reconnect to some other host even if the > MetaStore URIs variable in the Conf contains multiple hosts. Hive should > retry and reconnect rather than throwing a communication link error. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-3400) Add Retries to Hive MetaStore Connections
[ https://issues.apache.org/jira/browse/HIVE-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13439008#comment-13439008 ] Carl Steinbach commented on HIVE-3400: -- Is this ready for review? > Add Retries to Hive MetaStore Connections > - > > Key: HIVE-3400 > URL: https://issues.apache.org/jira/browse/HIVE-3400 > Project: Hive > Issue Type: Improvement > Components: Metastore >Reporter: Bhushan Mandhani >Assignee: Bhushan Mandhani >Priority: Minor > > Currently, when using Thrift to access the MetaStore, if the Thrift host > dies, there is no mechanism to reconnect to some other host even if the > MetaStore URIs variable in the Conf contains multiple hosts. Hive should > retry and reconnect rather than throwing a communication link error. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-3400) Add Retries to Hive MetaStore Connections
[ https://issues.apache.org/jira/browse/HIVE-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13438983#comment-13438983 ] Bhushan Mandhani commented on HIVE-3400: Diff at https://reviews.facebook.net/D4791 > Add Retries to Hive MetaStore Connections > - > > Key: HIVE-3400 > URL: https://issues.apache.org/jira/browse/HIVE-3400 > Project: Hive > Issue Type: Improvement > Components: Metastore >Reporter: Bhushan Mandhani >Assignee: Bhushan Mandhani >Priority: Minor > > Currently, when using Thrift to access the MetaStore, if the Thrift host > dies, there is no mechanism to reconnect to some other host even if the > MetaStore URIs variable in the Conf contains multiple hosts. Hive should > retry and reconnect rather than throwing a communication link error. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira