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

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

    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

          Issue Links

            Activity

              People

              • Assignee:
                stevel@apache.org Steve Loughran
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                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