Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 75C00CAAA for ; Fri, 14 Nov 2014 13:08:15 +0000 (UTC) Received: (qmail 69370 invoked by uid 500); 14 Nov 2014 13:08:15 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 69341 invoked by uid 500); 14 Nov 2014 13:08:15 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 69327 invoked by uid 99); 14 Nov 2014 13:08:15 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Nov 2014 13:08:15 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id CC8291115DA; Fri, 14 Nov 2014 13:08:14 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============7037956270092290849==" MIME-Version: 1.0 Subject: Re: Review Request 28036: Configs: Hive client retry settings are not adequate From: "Vitalyi Brodetskyi" To: "Dmitro Lisnichenko" , "Vitalyi Brodetskyi" Cc: "Dmytro Sen" , "Ambari" Date: Fri, 14 Nov 2014 13:08:14 -0000 Message-ID: <20141114130814.1250.18209@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Vitalyi Brodetskyi" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/28036/ X-Sender: "Vitalyi Brodetskyi" References: <20141114122759.1251.14176@reviews.apache.org> In-Reply-To: <20141114122759.1251.14176@reviews.apache.org> Reply-To: "Vitalyi Brodetskyi" X-ReviewRequest-Repository: ambari --===============7037956270092290849== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/28036/#review61434 ----------------------------------------------------------- Ship it! Ship It! - Vitalyi Brodetskyi On Лис. 14, 2014, 12:27 після полудня, Dmytro Sen wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/28036/ > ----------------------------------------------------------- > > (Updated Лис. 14, 2014, 12:27 після полудня) > > > Review request for Ambari, Dmitro Lisnichenko and Vitalyi Brodetskyi. > > > Bugs: AMBARI-8332 > https://issues.apache.org/jira/browse/AMBARI-8332 > > > Repository: ambari > > > Description > ------- > > Currently hive client retry settings are recommended to be: > hive.metastore.failure.retries=5 > hive.metastore.client.connect.retry.delay=5 > So we have overall time of 25 seconds to restart Hive. This doesn't seem reasonable in a rolling upgrade scenario where we accomplish three things: > - Stop the Hive metastore > - Upgrade the schema (run the schemaTool upgrade) > - Start the Hive metastore > For now I think we should raise it to 2 minutes. We could do the following: > hive.metastore.failure.retries=24 > hive.metastore.connect.retries=24 > hive.metastore.client.connect.retry.delay=5s > > > Diffs > ----- > > ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/configuration/hive-site.xml 12b4612 > > Diff: https://reviews.apache.org/r/28036/diff/ > > > Testing > ------- > > ---------------------------------------------------------------------- > Ran 242 tests in 3.192s > > OK > ---------------------------------------------------------------------- > Total run:684 > Total errors:0 > Total failures:0 > OK > > > Thanks, > > Dmytro Sen > > --===============7037956270092290849==--