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 "Szilard Nemeth (Jira)" <ji...@apache.org> on 2019/11/28 12:21:00 UTC

[jira] [Created] (YARN-9998) Code cleanup in LeveldbConfigurationStore

Szilard Nemeth created YARN-9998:
------------------------------------

             Summary: Code cleanup in LeveldbConfigurationStore
                 Key: YARN-9998
                 URL: https://issues.apache.org/jira/browse/YARN-9998
             Project: Hadoop YARN
          Issue Type: Improvement
            Reporter: Szilard Nemeth
            Assignee: Szilard Nemeth


Many thins can be improved:
* znodeParentPath could be a local variable
* zkManager could be private, VisibleForTesting annotation is not needed anymore
* Do something with unchecked casts
* zkManager.safeSetData calls are almost having the same set of parameters: Simplify this
* Extract zkManager calls to their own methods: They are repeated
* Remove TODOs



--
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