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

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.6.0
    • encryption, nfs
    • None

    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.001.patch
          3 kB
          Charles Lamb
        2. HDFS-7003.002.patch
          11 kB
          Charles Lamb
        3. HDFS-7003.003.patch
          11 kB
          Charles Lamb

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: