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

container-executor message on empty configuration file can be improved

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersStop watchingWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment