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

Tsuyoshi OZAWA commented on YARN-2765:
--------------------------------------

Currently we can assume that LeveldbRMStateStore is access from single process, 
thus failure detection itself is done by EmbeddedElector which depends on 
ZooKeeper in addition to no support of fencing on LevelDBRMStateStore. It means 
we need to launch ZooKeeper and it's normal decision to use ZKRMStateStore in 
this case. Please correct me if I'm wrong.

On another front, if we use RockDB as a backend db of timeline server, we don't 
need to use leveldb and it's good decision to switch the dependency.

> Add leveldb-based implementation for RMStateStore
> -------------------------------------------------
>
>                 Key: YARN-2765
>                 URL: https://issues.apache.org/jira/browse/YARN-2765
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>            Reporter: Jason Lowe
>            Assignee: Jason Lowe
>         Attachments: YARN-2765.patch, YARN-2765v2.patch
>
>
> It would be nice to have a leveldb option to the resourcemanager recovery 
> store. Leveldb would provide some benefits over the existing filesystem store 
> such as better support for atomic operations, fewer I/O ops per state update, 
> and far fewer total files on the filesystem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to