Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-4362

GetDelegationTokenResponseProto does not handle null token

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0.2-alpha
    • 2.0.3-alpha
    • None
    • None
    • Incompatible change, Reviewed

    Description

      While working on HADOOP-9173, I notice that the GetDelegationTokenResponseProto declares the token field as required. However return of null token is to be expected both as defined in FileSystem#getDelegationToken() and also based on HDFS implementation. This jira intends to make the field as optional.

      Attachments

        1. HDFS-4362.patch
          5 kB
          Suresh Srinivas

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sureshms Suresh Srinivas
            sureshms Suresh Srinivas
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment