hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szilard Nemeth (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-9362) Code cleanup in TestNMLeveldbStateStoreService
Date Thu, 07 Mar 2019 17:13:00 GMT
Szilard Nemeth created YARN-9362:
------------------------------------

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


There are many ways to improve TestNMLeveldbStateStoreService: 
1. RecoveredContainerState fields are asserted many times repeatedly. Some simple method extractions
would definitely make this more readable.
2. The tests are very long and hard to read in general: Again, finding how methods could be
extracted to avoid code repetition could help. 
3. You name it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message