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

Hanisha Koneru updated HDDS-819:
--------------------------------
    Description: 
To match the behavior of o3fs with that of the S3AFileSystem, following changes 
need to be made to OzoneFileSystem.
 # When creating files, we should add only 1 key. Keys corresponding to the 
parent directories should not be created.
 # {{GetFileStatus}} should return the status for fake directories (directories 
which do not actually exist as a key but there exists a key which is a child of 
this directory). For example, if there exists a key _/dir1/dir2/file2_, 
{{GetFileStatus("/dir1/")}} should return _/dir1/_ as a directory.
 # {{ListStatus}} on a directory should list fake sub-directories also along 
with files.
 # {\{ListStatus}} on a directory should also files and sub-directories with 
the same name.

  was:
To match the behavior of o3fs with that of the S3AFileSystem, following changes 
need to be made to OzoneFileSystem.
 # When creating files, we should add only 1 key. Keys corresponding to the 
parent directories should not be created.
 # {{GetFileStatus}} should return the status for fake directories (directories 
which do not actually exist as a key but there exists a key which is a child of 
this directory). For example, if there exists a key _/dir1/dir2/file2_, 
{{GetFileStatus("/dir1/")}} should return _/dir1/_ as a directory.
 # {{ListStatus}} on a directory should list fake sub-directories also along 
with files.


> Match OzoneFileSystem behavior with S3AFileSystem
> -------------------------------------------------
>
>                 Key: HDDS-819
>                 URL: https://issues.apache.org/jira/browse/HDDS-819
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Hanisha Koneru
>            Assignee: Hanisha Koneru
>            Priority: Major
>         Attachments: HDDS-819.001.patch, HDDS-819.002.patch
>
>
> To match the behavior of o3fs with that of the S3AFileSystem, following 
> changes need to be made to OzoneFileSystem.
>  # When creating files, we should add only 1 key. Keys corresponding to the 
> parent directories should not be created.
>  # {{GetFileStatus}} should return the status for fake directories 
> (directories which do not actually exist as a key but there exists a key 
> which is a child of this directory). For example, if there exists a key 
> _/dir1/dir2/file2_, {{GetFileStatus("/dir1/")}} should return _/dir1/_ as a 
> directory.
>  # {{ListStatus}} on a directory should list fake sub-directories also along 
> with files.
>  # {\{ListStatus}} on a directory should also files and sub-directories with 
> the same name.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to