Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-6127

WebHDFS tokens cannot be renewed in HA setup

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.4.0
    • Component/s: ha
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      TokenAspect class assumes that the service name of the token is alway a host-ip pair. In HA setup, however, the service name becomes the name service id, which breaks the assumption. As a result, WebHDFS tokens cannot be renewed in HA setup.

      1. HDFS-6127.000.patch
        13 kB
        Haohui Mai
      2. HDFS-6127.001.patch
        15 kB
        Haohui Mai

        Activity

        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Haohui Mai made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 2.4.0 [ 12326143 ]
        Resolution Fixed [ 1 ]
        Haohui Mai made changes -
        Attachment HDFS-6127.001.patch [ 12635684 ]
        Haohui Mai made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Haohui Mai made changes -
        Attachment HDFS-6127.000.patch [ 12635628 ]
        Haohui Mai made changes -
        Description {{TokenAspect}} class assumes that the service name of the token is alway a host-ip pair. In HA setup, however, the service name becomes the name service id, which breaks the assumption. As a result, WebHDFS tokens cannot be renewed in HA setup.
        Haohui Mai made changes -
        Field Original Value New Value
        Summary sLive with webhdfs fails on secure HA cluster with does not contain valid host port authority error WebHDFS tokens cannot be renewed in HA setup
        Arpit Gupta created issue -

          People

          • Assignee:
            Haohui Mai
            Reporter:
            Arpit Gupta
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development