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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.7.1
    • 2.8.0, 2.7.1, 3.0.0-alpha1
    • encryption
    • None
    • 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

              stevel@apache.org Steve Loughran
              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