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

Linux native container executor segfaults if default banned user detected

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0, 2.4.1, 2.6.0
    • Fix Version/s: 2.7.0
    • Component/s: nodemanager
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      The check_user function in container-executor.c can cause a segmentation fault if banned.users is not provided but the user is detected as one of the default users. In that scenario it will call free_values on a NULL pointer.

        Attachments

        1. YARN-2487.04.trunk.patch
          6 kB
          Olaf Flebbe
        2. YARN-2487.05.trunk.patch
          6 kB
          Olaf Flebbe
        3. YARN-2487.06.trunk.patch
          3 kB
          Olaf Flebbe
        4. yarn2847.patch
          4 kB
          Chang Li
        5. yarn2847.patch
          4 kB
          Chang Li
        6. yarn2847notest.patch
          1 kB
          Chang Li

          Issue Links

            Activity

              People

              • Assignee:
                oflebbe Olaf Flebbe
                Reporter:
                jlowe Jason Darrell Lowe
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: