Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-7593 Supporting HSync and lease recovery
  3. HDDS-8029

[hsync] Outputstream in encrypted buckets do not return the correct stream capabilities

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 1.4.0
    • None

    Description

      HBase Master cannot start from an encrypted Ozone bucket even though Ozone file system supports hsync API and StreamCapabilities API.

      2023-02-24 21:33:07,632 WARN org.apache.hadoop.hbase.regionserver.wal.AbstractProtobufLogWriter: Init output failed, path=ofs://ozone1/vol1/bucket1/hbase/MasterData/WA
      Ls/weichiu-1.weichiu.root.hwx.site,22001,1677270655016/weichiu-1.weichiu.root.hwx.site%2C22001%2C1677270655016.1677270663233
      org.apache.hadoop.hbase.util.CommonFSUtils$StreamLacksCapabilityException: hflush
              at org.apache.hadoop.hbase.io.asyncfs.AsyncFSOutputHelper.createOutput(AsyncFSOutputHelper.java:71)
              at org.apache.hadoop.hbase.regionserver.wal.AsyncProtobufLogWriter.initOutput(AsyncProtobufLogWriter.java:190)
              at org.apache.hadoop.hbase.regionserver.wal.AbstractProtobufLogWriter.init(AbstractProtobufLogWriter.java:160)
              at org.apache.hadoop.hbase.wal.AsyncFSWALProvider.createAsyncWriter(AsyncFSWALProvider.java:116)
              at org.apache.hadoop.hbase.regionserver.wal.AsyncFSWAL.createWriterInstance(AsyncFSWAL.java:730)
      

      Attachments

        Issue Links

          Activity

            People

              weichiu Wei-Chiu Chuang
              weichiu Wei-Chiu Chuang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: