Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 2.6.0
    • Component/s: namenode, security
    • Labels:
      None

      Description

      FileStatus should have a 'boolean isEncrypted()' method. (it was in the context of discussing with AndreW about FileStatus being a Writable).

      Having this method would allow MR JobSubmitter do the following:


      BOOLEAN intermediateEncryption = false
      IF jobconf.contains("mr.intermidate.encryption") THEN
      intermediateEncryption = jobConf.getBoolean("mr.intermidate.encryption")
      ELSE
      IF (I/O)Format INSTANCEOF File(I/O)Format THEN
      intermediateEncryption = ANY File(I/O)Format HAS a Path with status isEncrypted()==TRUE
      FI
      jobConf.setBoolean("mr.intermidate.encryption", intermediateEncryption)
      FI

      1. HDFS-6843.010.patch
        25 kB
        Charles Lamb
      2. HDFS-6843.009.patch
        25 kB
        Charles Lamb
      3. HDFS-6843.008.patch
        25 kB
        Charles Lamb
      4. HDFS-6843.007.patch
        25 kB
        Charles Lamb
      5. HDFS-6843.006.patch
        23 kB
        Charles Lamb
      6. HDFS-6843.005.patch
        25 kB
        Charles Lamb
      7. HDFS-6843.005.patch
        25 kB
        Charles Lamb
      8. HDFS-6843.004.patch
        22 kB
        Charles Lamb
      9. HDFS-6843.003.patch
        10 kB
        Charles Lamb
      10. HDFS-6843.002.patch
        9 kB
        Charles Lamb
      11. HDFS-6843.001.patch
        11 kB
        Charles Lamb

        Issue Links

          Activity

          Charles Lamb created issue -
          Charles Lamb made changes -
          Field Original Value New Value
          Attachment HDFS-6843.001.patch [ 12661257 ]
          Charles Lamb made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Charles Lamb made changes -
          Attachment HDFS-6843.001.patch [ 12661257 ]
          Charles Lamb made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          Charles Lamb made changes -
          Summary Create FileStatus.isEncrypted() method Create FSDataInputStream & FSDataOutputStream isEncrypted() method
          Charles Lamb made changes -
          Attachment HDFS-6843.001.patch [ 12662753 ]
          Charles Lamb made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Andrew Wang made changes -
          Parent Issue HDFS-6134 [ HDFS-6134 ] HDFS-6891 [ HDFS-6891 ]
          Charles Lamb made changes -
          Status In Progress [ 3 ] Patch Available [ 10002 ]
          Charles Lamb made changes -
          Affects Version/s 3.0.0 [ 12320356 ]
          Affects Version/s fs-encryption (HADOOP-10150 and HDFS-6134) [ 12326852 ]
          Target Version/s fs-encryption (HADOOP-10150 and HDFS-6134) [ 12326852 ] 3.0.0 [ 12320356 ]
          Charles Lamb made changes -
          Attachment HDFS-6843.002.patch [ 12664773 ]
          Charles Lamb made changes -
          Link This issue is related to HADOOP-11026 [ HADOOP-11026 ]
          Charles Lamb made changes -
          Link This issue relates to HADOOP-11026 [ HADOOP-11026 ]
          Charles Lamb made changes -
          Attachment HDFS-6843.003.patch [ 12665387 ]
          Charles Lamb made changes -
          Link This issue relates to HADOOP-11026 [ HADOOP-11026 ]
          Charles Lamb made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Charles Lamb made changes -
          Attachment HDFS-6843.004.patch [ 12666310 ]
          Charles Lamb made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Charles Lamb made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          Charles Lamb made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Charles Lamb made changes -
          Summary Create FSDataInputStream & FSDataOutputStream isEncrypted() method Create FileStatus isEncrypted() method
          Charles Lamb made changes -
          Status In Progress [ 3 ] Patch Available [ 10002 ]
          Charles Lamb made changes -
          Attachment HDFS-6843.005.patch [ 12666797 ]
          Charles Lamb made changes -
          Status Patch Available [ 10002 ] In Progress [ 3 ]
          Charles Lamb made changes -
          Attachment HDFS-6843.005.patch [ 12666872 ]
          Charles Lamb made changes -
          Attachment HDFS-6843.006.patch [ 12667225 ]
          Charles Lamb made changes -
          Attachment HDFS-6843.007.patch [ 12668762 ]
          Charles Lamb made changes -
          Status In Progress [ 3 ] Patch Available [ 10002 ]
          Charles Lamb made changes -
          Attachment HDFS-6843.008.patch [ 12668862 ]
          Colin Patrick McCabe made changes -
          Link This issue is depended upon by HDFS-7047 [ HDFS-7047 ]
          Charles Lamb made changes -
          Attachment HDFS-6843.009.patch [ 12669407 ]
          Charles Lamb made changes -
          Attachment HDFS-6843.010.patch [ 12669453 ]
          Colin Patrick McCabe made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Target Version/s 3.0.0 [ 12320356 ] 3.0.0, 2.6.0 [ 12320356, 12327181 ]
          Fix Version/s 2.6.0 [ 12327181 ]
          Resolution Fixed [ 1 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Charles Lamb
              Reporter:
              Charles Lamb
            • Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development