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

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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.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

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              varun_saxena Varun Saxena Assign to me
              Reporter:
              ojoshi Omkar Vinit Joshi

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment