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

DFSClient probe for encryption testing interprets empty URI property for "enabled"

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.7.1
    • Fix Version/s: 2.8.0, 2.7.1, 3.0.0-alpha1
    • Component/s: encryption
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      HDFS-7931 added a check in DFSClient for encryption isHDFSEncryptionEnabled(), looking for the property {{"dfs.encryption.key.provider.uri"}.

      This probe returns true even if the property is empty.

      If there is an empty provider.uri property, you get an NPE when a YARN client tries to set up the tokens to deploy an AM.

        Attachments

        1. HDFS-8451-001.patch
          6 kB
          Steve Loughran

        Issue Links

          Activity

            People

            • Assignee:
              stevel@apache.org Steve Loughran
              Reporter:
              stevel@apache.org Steve Loughran

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Time Spent - 0.5h Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - 0.5h Remaining Estimate - 0.5h
                0.5h

                  Issue deployment