hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetna Chaudhari (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (YARN-6169) container-executor message on empty configuration file can be improved
Date Tue, 19 Sep 2017 23:21:00 GMT

     [ https://issues.apache.org/jira/browse/YARN-6169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chetna Chaudhari reassigned YARN-6169:
--------------------------------------

    Assignee: Chetna Chaudhari

> 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: Chetna Chaudhari
>            Priority: Trivial
>              Labels: newbie
>
> 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
(v6.4.14#64029)

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


Mime
View raw message