Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
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