[ 
https://issues.apache.org/jira/browse/HDDS-10781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chung En Lee updated HDDS-10781:
--------------------------------
    Description: 
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]

 

 

  was:
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.

[https://github.com/apache/ozone/blob/HDDS-7593/hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/BasicOzoneClientAdapterImpl.java#L774]

 

 


> [hsync] BasicOzoneClientAdapterImpl#isFileClosed using OFSPath which is an 
> Utility class for OFS not O3FS
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HDDS-10781
>                 URL: https://issues.apache.org/jira/browse/HDDS-10781
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Chung En Lee
>            Assignee: Chung En Lee
>            Priority: Major
>
> 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]

Reply via email to