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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.7.0
    • 2.8.0, 3.0.0-alpha1
    • nodemanager
    • None

    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.001.patch
          4 kB
          Varun Saxena
        2. YARN-644.002.patch
          5 kB
          Varun Saxena
        3. YARN-644.03.patch
          10 kB
          Varun Saxena
        4. YARN-644.04.patch
          10 kB
          Varun Saxena
        5. YARN-644.05.patch
          10 kB
          Varun Saxena

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: