Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-7135

ofs file input stream should support StreamCapabilities interface

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0
    • None

    Description

      To open a file in ofs, a file input stream is created. This file input stream does not inherit from CapableOzoneFSInputStream which supports StreamCapabilities interface where applications can query the capability supported.

      This is found by setting Impala front end log level "org.apache.hadoop" to ALL through the impalad's /log_level endpoint, and then run queries that access files in ofs.

      The following log message will be seen:

      I0817 20:16:26.688478 539204 StreamCapabilitiesPolicy.java:50] 6e4772418ce76c65:3e172d7000000005] org.apache.hadoop.fs.ozone.OzoneFSInputStream:
       does not implement StreamCapabilities and the unbuffer capability
      

      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: