Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.6.0
    • namenode, security
    • 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

      Attachments

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

        Issue Links

          Activity

            People

              clamb Charles Lamb
              clamb Charles Lamb
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: