Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6891 Follow-on work for transparent data at rest encryption
  3. HDFS-7003

Add NFS Gateway support for reading and writing to encryption zones

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.6.0
    • Component/s: encryption, nfs
    • Labels:
      None
    • Target Version/s:

      Description

      Currently, reading and writing within encryption zones does not work through the NFS gateway.

      For example, we have an encryption zone /enc. Here's the difference of reading the file from hadoop fs and the NFS gateway:

      [hdfs@schu-enc2 ~]$ hadoop fs -cat /enc/hi
      hi
      [hdfs@schu-enc2 ~]$ cat /hdfs_nfs/enc/hi
      ??
      

      If we write a file using the NFS gateway, we'll see behavior like this:

      [hdfs@schu-enc2 ~]$ echo "hello" > /hdfs_nfs/enc/hello
      [hdfs@schu-enc2 ~]$ cat /hdfs_nfs/enc/hello
      hello
      [hdfs@schu-enc2 ~]$ hdfs dfs -cat /enc/hello
      ???tp[hdfs@schu-enc2 ~]$ 
      

        Attachments

        1. HDFS-7003.003.patch
          11 kB
          Charles Lamb
        2. HDFS-7003.002.patch
          11 kB
          Charles Lamb
        3. HDFS-7003.001.patch
          3 kB
          Charles Lamb

          Activity

            People

            • Assignee:
              clamb Charles Lamb
              Reporter:
              schu Stephen Chu
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: