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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to