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

Wei-Chiu Chuang updated HDDS-13409:
-----------------------------------
    Description: 
Unlike httpsfs user doc 
https://ozone.apache.org/docs/edge/interface/httpfs.html we don't list the 
supported operation for Ofs.

Add a table in the "Ofs (Hadoop compatible)" page for supported operations.

The table is to have columns "Operation", "Description", "Support" where 
"Operation" is the exact operation name in the audit log, "Description" is a 
few words of short description, and "Support" is either Supported or 
Unsupported. Add footnotes for any caveats.

To identify support status, check out the Hadoop FileSystem API source code 
(https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java).
 An API is unsupported by Ofs if the FileSystem API throws 
UnsupportedOperationException by default, and BasicRootedOzoneFileSystem and 
RootedOzoneFileSystem does not implement or throws 
UnsupportedOperationException.

add another table for HDFS specific operations that is not in Hadoop FileSystem 
API, and thus unsupported by Ofs. Use HDFS DistributedFileSystem.java as source 
of truth:
https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java

Write down your execution plan to confirm with me before proceeding further.

  was:
Unlike httpsfs user doc 
https://ozone.apache.org/docs/edge/interface/httpfs.html we don't list the 
supported operation for Ofs.

Add a table in the "Ofs (Hadoop compatible)" page for supported operations.

The table is to have columns "Operation", "Description", "Support" where 
"Operation" is the exact operation name in the audit log, "Description" is a 
few words of short description, and "Support" is either Supported or 
Unsupported. Add footnotes for any caveats.

To identify support status, check out the Hadoop FileSystem API source code 
(https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java).
 An API is unsupported by Ofs if the FileSystem API throws 
UnsupportedOperationException by default, and BasicRootedOzoneFileSystem and 
RootedOzoneFileSystem does not implement or throws 
UnsupportedOperationException.

Write down your execution plan to confirm with me before proceeding further.


> [Docs] List ofs supported operations
> ------------------------------------
>
>                 Key: HDDS-13409
>                 URL: https://issues.apache.org/jira/browse/HDDS-13409
>             Project: Apache Ozone
>          Issue Type: Task
>          Components: documentation
>            Reporter: Wei-Chiu Chuang
>            Priority: Major
>
> Unlike httpsfs user doc 
> https://ozone.apache.org/docs/edge/interface/httpfs.html we don't list the 
> supported operation for Ofs.
> Add a table in the "Ofs (Hadoop compatible)" page for supported operations.
> The table is to have columns "Operation", "Description", "Support" where 
> "Operation" is the exact operation name in the audit log, "Description" is a 
> few words of short description, and "Support" is either Supported or 
> Unsupported. Add footnotes for any caveats.
> To identify support status, check out the Hadoop FileSystem API source code 
> (https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java).
>  An API is unsupported by Ofs if the FileSystem API throws 
> UnsupportedOperationException by default, and BasicRootedOzoneFileSystem and 
> RootedOzoneFileSystem does not implement or throws 
> UnsupportedOperationException.
> add another table for HDFS specific operations that is not in Hadoop 
> FileSystem API, and thus unsupported by Ofs. Use HDFS 
> DistributedFileSystem.java as source of truth:
> https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java
> Write down your execution plan to confirm with me before proceeding further.



--
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