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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.4.0, 3.3.1
    • Component/s: nodemanager
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: