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

CryptoOutputStream should implement StreamCapabilities

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.1.0, 2.10.0, 2.9.1, 3.0.1
    • fs
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            xiaochen Xiao Chen Assign to me
            mdrob Mike Drob
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment