[
https://issues.apache.org/jira/browse/HDDS-10781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-10781:
------------------------------------
Summary: Do not use OFSPath in O3FS BasicOzoneClientAdapterImpl (was:
[hsync] BasicOzoneClientAdapterImpl#isFileClosed using OFSPath which is an
Utility class for OFS not O3FS)
> Do not use OFSPath in O3FS BasicOzoneClientAdapterImpl
> ------------------------------------------------------
>
> Key: HDDS-10781
> URL: https://issues.apache.org/jira/browse/HDDS-10781
> Project: Apache Ozone
> Issue Type: Bug
> Affects Versions: 1.4.0
> Reporter: Chung En Lee
> Assignee: Chung En Lee
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.5.0
>
>
> In BasicOzoneClientAdapterImpl#isFileClosed we use OFSPath to check if the
> path was a key, but it Utility class for OFS not O3FS. That is to say, the
> pathStr doen't include volume and bucket but the OFSPath still setting the
> first two levels of directories or key as volume and bucket. If the path was
> less than two level it comes out an error.
> [https://github.com/apache/ozone/blob/HDDS-7593/hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/BasicOzoneClientAdapterImpl.java#L774]
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]