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

container-executor error should include effective user id

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • yarn
    • None

    Description

      When container-executor fails to access it's config file, the following message will be thrown:

      org.apache.hadoop.yarn.server.nodemanager.LinuxContainerExecutor: Exit code from container executor initialization is : 24
      ExitCodeException exitCode=24: Invalid conf file provided : /etc/hadoop/conf/container-executor.cfg
      

      The real problem may be a change in the container-executor not running as set uid root.

      From:
      https://hadoop.apache.org/docs/r2.6.0/hadoop-yarn/hadoop-yarn-site/SecureContainer.html

      The container-executor program must be owned by root and have the permission set --sr-s--.

      The error message could be improved by printing out the effective user id with the error message, and possibly the executable trying to access the config file.

      Attachments

        Issue Links

          Activity

            People

              caseyjbrotherton Casey Brotherton
              caseyjbrotherton Casey Brotherton
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: