[ https://issues.apache.org/jira/browse/YARN-6033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wangda Tan updated YARN-6033: ----------------------------- Attachment: YARN-6033.012.patch Attached ver.012 patch, should addressed all your comments. bq. I already commented on this but now I have the proof how it can go wrong. If populate_section_fields does not get any new entries, then cfg->sections is malloced but cfg->size=0. That means that is this code will not free the memory: Make sense, so the following fix should be enough, correct? {code} if (cfg->sections) { free(cfg->sections); cfg->sections = NULL; } {code} > Add support for sections in container-executor configuration file > ----------------------------------------------------------------- > > Key: YARN-6033 > URL: https://issues.apache.org/jira/browse/YARN-6033 > Project: Hadoop YARN > Issue Type: Sub-task > Components: nodemanager > Reporter: Varun Vasudev > Assignee: Varun Vasudev > Attachments: YARN-6033.003.patch, YARN-6033.004.patch, > YARN-6033.005.patch, YARN-6033.006.patch, YARN-6033.007.patch, > YARN-6033.008.patch, YARN-6033.009.patch, YARN-6033.010.patch, > YARN-6033.011.patch, YARN-6033.012.patch, YARN-6033-YARN-5673.001.patch, > YARN-6033-YARN-5673.002.patch > > -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org