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

--module-gpu functionality is broken in container-executor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.4.0, 3.3.1
    • nodemanager
    • None

    Description

      --module-gpu doesn't set the operation variable, and so the main() function's switch statement on operation falls through to the default case. This causes it to report a failure, even though it succeeded.

        default:
          fprintf(ERRORFILE, "Unexpected operation code: %d\n", operation);
          exit_code = INVALID_COMMAND_PROVIDED;
          break;
      

      Attachments

        1. YARN-10391.001.patch
          1 kB
          Eric Badger

        Issue Links

          Activity

            People

              ebadger Eric Badger
              ebadger Eric Badger
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: