hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lavkesh Lahngir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5123) SQL based RM state store
Date Sat, 21 May 2016 18:03:12 GMT

    [ https://issues.apache.org/jira/browse/YARN-5123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15295166#comment-15295166

Lavkesh Lahngir commented on YARN-5123:

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

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message