You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2022/08/17 21:08:00 UTC

[jira] [Created] (HDDS-7135) ofs file input stream should support StreamCapabilities interface

Wei-Chiu Chuang created HDDS-7135:
-------------------------------------

             Summary: ofs file input stream should support StreamCapabilities interface
                 Key: HDDS-7135
                 URL: https://issues.apache.org/jira/browse/HDDS-7135
             Project: Apache Ozone
          Issue Type: Bug
            Reporter: Wei-Chiu Chuang


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:

{noformat}
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
{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org