Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-6169

container-executor message on empty configuration file can be improved

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      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...'

        if (cfg->size == 0) {
          fprintf(ERRORFILE, "Invalid configuration provided in %s\n", file_name);
          exit(INVALID_CONFIG_FILE);
        }
      

      Attachments

        Issue Links

          Activity

            People

              rkhandelwal Riya Khandelwal
              miklos.szegedi@cloudera.com Miklos Szegedi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: