[ https://issues.apache.org/jira/browse/YARN-6169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17610925#comment-17610925 ]
ASF GitHub Bot commented on YARN-6169: -------------------------------------- riyakhdl opened a new pull request, #4952: URL: https://github.com/apache/hadoop/pull/4952 JIRA: YARN-6169 ### Description of PR container-executor message on empty configuration file can be improved If the configuration file is empty, we get the following error message: Invalid configuration provided in /root/etc/hadoop/container-executor.cfg This is does not provide enough details to figure out what is the issue at the first glance. We should use something like 'Empty configuration file provided...' > container-executor message on empty configuration file can be improved > ---------------------------------------------------------------------- > > Key: YARN-6169 > URL: https://issues.apache.org/jira/browse/YARN-6169 > Project: Hadoop YARN > Issue Type: Improvement > Reporter: Miklos Szegedi > Assignee: Riya Khandelwal > Priority: Trivial > Labels: newbie, trivial > > If the configuration file is empty, we get the following error message: > {{Invalid configuration provided in /root/etc/hadoop/container-executor.cfg}} > This is does not provide enough details to figure out what is the issue at > the first glance. We should use something like 'Empty configuration file > provided...' > {code} > if (cfg->size == 0) { > fprintf(ERRORFILE, "Invalid configuration provided in %s\n", file_name); > exit(INVALID_CONFIG_FILE); > } > {code} -- 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