Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15149

CryptoOutputStream should implement StreamCapabilities

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.1.0, 2.10.0, 2.9.1, 3.0.1
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Running some tests with HBase on HDFS with encryption, we noticed that CryptoOutputStream doesn't implement StreamCapabilities.

      Specifically, we have a HdfsDataOutputStream wrapping a CryptoOutputStream. The calls to hasCapability on the HDOS will always return false, even though the COS could be wrapping something that supports it, as evidenced by the implementation of hsync and hflush here.

        Attachments

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment