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

Hdfs Federation: Authentication using BlockToken in RPC to datanode fails.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Federation Branch
    • None
    • None
    • Reviewed

    Description

      Several issues are causing this problem
      1. The last LocatedBlock returned by getBlockLocations doesn't have BlockToken.
      2. The blockPoolTokenSecretManager is not initialized before created rpc server in datanode.
      3. The getReplicaVisibleLength API in datanode expects WRITE permission in the block token, but the block tokens are generated with read permission only in getBlockLocations at namenode.

      Attachments

        1. HDFS-1813.4.patch
          6 kB
          Jitendra Nath Pandey
        2. HDFS-1813.3.patch
          6 kB
          Jitendra Nath Pandey
        3. HDFS-1813.2.patch
          6 kB
          Jitendra Nath Pandey
        4. HDFS-1813.1.patch
          3 kB
          Jitendra Nath Pandey

        Issue Links

          Activity

            People

              jnp Jitendra Nath Pandey
              jnp Jitendra Nath Pandey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: