Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-662 [Umbrella] Enforce required parameters for all the protocols
  3. YARN-644

Basic null check is not performed on passed in arguments before using them in ContainerManagerImpl.startContainer

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: nodemanager
    • Labels:
      None
    • Target Version/s:

      Description

      I see that validation/ null check is not performed on passed in parameters.

      Ex. tokenId.getContainerID().getApplicationAttemptId() inside ContainerManagerImpl.authorizeRequest()

      I guess we should add these checks.

        Attachments

        1. YARN-644.05.patch
          10 kB
          Varun Saxena
        2. YARN-644.04.patch
          10 kB
          Varun Saxena
        3. YARN-644.03.patch
          10 kB
          Varun Saxena
        4. YARN-644.002.patch
          5 kB
          Varun Saxena
        5. YARN-644.001.patch
          4 kB
          Varun Saxena

          Activity

            People

            • Assignee:
              varun_saxena Varun Saxena
              Reporter:
              ojoshi Omkar Vinit Joshi
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: