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 B7775200B28 for ; Sat, 21 May 2016 20:03:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B4EE7160A04; Sat, 21 May 2016 18:03:14 +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 174C6160A26 for ; Sat, 21 May 2016 20:03:13 +0200 (CEST) Received: (qmail 59782 invoked by uid 500); 21 May 2016 18:03:13 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 59564 invoked by uid 99); 21 May 2016 18:03:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 May 2016 18:03:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D7AD92C1F60 for ; Sat, 21 May 2016 18:03:12 +0000 (UTC) Date: Sat, 21 May 2016 18:03:12 +0000 (UTC) From: "Lavkesh Lahngir (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (YARN-5123) SQL based RM state store MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 21 May 2016 18:03:14 -0000 [ https://issues.apache.org/jira/browse/YARN-5123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15295166#comment-15295166 ] Lavkesh Lahngir edited comment on YARN-5123 at 5/21/16 6:02 PM: ---------------------------------------------------------------- Config definitions. RM_DB_TYPE -> it's the name of jdbc driver, in our case it would be "postgresql". RM_DB_HOST -> DB host name. RM_DB_DBNAME -> Database name. RM_DB_USERNAME -> Database user. RM_DB_PASSWORD -> Database password. RM_DB_PASSWORD_FILE -> Password file from which the state store will read the password. In our setup we have password file with special permission. If the password file is not provided, the value of RM_DB_PASSWORD will be used. RM_DB_RETRIES -> number of retries before any DB operation is given up. If these retries are exhausted RM will go on stand by. DEFAULT_RM_DB_RETRIES -> Default retries RM_DB_RETRIES_INTERVAL -> Fixed interval between retries DEFAULT_RM_DB_RETRIES_INTERVAL -> Default interval for retries in seconds. RM_DB_VERIFICATION_TIMEOUT -> A timeout interval in milliseconds for the verification thread which keeps checking the status of active RM. DEFAULT_RM_DB_VERIFICATION_TIMEOUT -> Default verification timeout was (Author: lavkesh): RM_DB_TYPE -> it's the name of jdbc driver, in our case it would be "postgresql". RM_DB_HOST -> DB host name. RM_DB_DBNAME -> Database name. RM_DB_USERNAME -> Database user. RM_DB_PASSWORD -> Database password. RM_DB_PASSWORD_FILE -> Password file from which the state store will read the password. In our setup we have password file with special permission. If the password file is not provided, the value of RM_DB_PASSWORD will be used. RM_DB_RETRIES -> number of retries before any DB operation is given up. If these retries are exhausted RM will go on stand by. DEFAULT_RM_DB_RETRIES -> Default retries RM_DB_RETRIES_INTERVAL -> Fixed interval between retries DEFAULT_RM_DB_RETRIES_INTERVAL -> Default interval for retries in seconds. RM_DB_VERIFICATION_TIMEOUT -> A timeout interval in milliseconds for the verification thread which keeps checking the status of active RM. DEFAULT_RM_DB_VERIFICATION_TIMEOUT -> Default verification timeout > SQL based RM state store > ------------------------ > > Key: YARN-5123 > URL: https://issues.apache.org/jira/browse/YARN-5123 > Project: Hadoop YARN > Issue Type: New Feature > Affects Versions: 2.6.0 > Reporter: Lavkesh Lahngir > Attachments: sqlstatestore.patch > > > In our setup, zookeeper based RM state store didn't work. We ended up implementing our own SQL based state store. Here is a patch, if anybody else wants to use it. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org