You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Benjamin Teke (Jira)" <ji...@apache.org> on 2020/03/09 15:29:00 UTC

[jira] [Created] (YARN-10189) Code cleanup in LeveldbRMStateStore

Benjamin Teke created YARN-10189:
------------------------------------

             Summary: Code cleanup in LeveldbRMStateStore
                 Key: YARN-10189
                 URL: https://issues.apache.org/jira/browse/YARN-10189
             Project: Hadoop YARN
          Issue Type: Improvement
            Reporter: Benjamin Teke
            Assignee: Benjamin Teke


Many things can be improved:
* Field compactionTimer could be a local variable
* Field versiondb should be camelcase
* initDatabase is a very long method: Initialize db / versionDb should be in separate methods, split this method into smaller chunks
* Remove TODOs
* Remove duplicated code block in LeveldbConfigurationStore.CompactionTimerTask
* Any other cleanup



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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