[ https://issues.apache.org/jira/browse/YARN-10355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shilun Fan updated YARN-10355: ------------------------------ Affects Version/s: 3.4.0 > Refactor NM ContainerLaunch.java#orderEnvByDependencies > ------------------------------------------------------- > > Key: YARN-10355 > URL: https://issues.apache.org/jira/browse/YARN-10355 > Project: Hadoop YARN > Issue Type: Improvement > Components: yarn > Affects Versions: 3.4.0 > Reporter: Benjamin Teke > Assignee: Tamas Domok > Priority: Minor > Labels: pull-request-available > Fix For: 3.4.0 > > Time Spent: 6h > Remaining Estimate: 0h > > TheĀ > {{org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch#orderEnvByDependencies}} > and it's helper methodĀ \{{getEnvDependencies }}(together with the overrides) > is hard to read. Some improvements could be made: > * use Pattern matching in the overrides of getEnvDependencies instead of > iterating through the environmental variable strings char by char > * the unit tests contains a lot of repeated code and generally the test > methods are long - they could be separated into different setup/helper and > assertion methods -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org