Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E99B82009D9 for ; Tue, 17 May 2016 20:00:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E83921609F5; Tue, 17 May 2016 18:00:17 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6D39D160A20 for ; Tue, 17 May 2016 20:00:17 +0200 (CEST) Received: (qmail 82784 invoked by uid 500); 17 May 2016 18:00:16 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 82571 invoked by uid 99); 17 May 2016 18:00:16 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 May 2016 18:00:16 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E97DD2C1F6E for ; Tue, 17 May 2016 18:00:15 +0000 (UTC) Date: Tue, 17 May 2016 18:00:15 +0000 (UTC) From: "Sergey Shelukhin (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-10815) Let HiveMetaStoreClient Choose MetaStore Randomly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 17 May 2016 18:00:18 -0000 [ https://issues.apache.org/jira/browse/HIVE-10815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15287121#comment-15287121 ] Sergey Shelukhin commented on HIVE-10815: ----------------------------------------- [~thejas] any comments? This will also result in some load balancing :) Should it be done once per process though, to minimize the number of connections? > Let HiveMetaStoreClient Choose MetaStore Randomly > ------------------------------------------------- > > Key: HIVE-10815 > URL: https://issues.apache.org/jira/browse/HIVE-10815 > Project: Hive > Issue Type: Improvement > Components: HiveServer2, Metastore > Affects Versions: 1.2.0 > Reporter: Nemon Lou > Assignee: Nemon Lou > Attachments: HIVE-10815.1.patch, HIVE-10815.patch > > > Currently HiveMetaStoreClient using a fixed order to choose MetaStore URIs when multiple metastores configured. > Choosing MetaStore Randomly will be good for load balance. -- This message was sent by Atlassian JIRA (v6.3.4#6332)