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

---

For every row in the Supported Operations table, make sure it is a public 
method in BasicRootedOzoneFileSystem or
RootedOzoneFileSystem. Are there any public method in 
BasicRootedOzoneFileSystem or RootedOzoneFileSystem that is not listed?

Check if these public methods asicRootedOzoneFileSystem or 
RootedOzoneFileSystem also exist in FileSystem API. If so, add them to the 
table.

  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.

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.


> [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
>            Assignee: Wei-Chiu Chuang
>            Priority: Major
>              Labels: pull-request-available
>
> 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.
> ---
> For every row in the Supported Operations table, make sure it is a public 
> method in BasicRootedOzoneFileSystem or
> RootedOzoneFileSystem. Are there any public method in 
> BasicRootedOzoneFileSystem or RootedOzoneFileSystem that is not listed?
> Check if these public methods asicRootedOzoneFileSystem or 
> RootedOzoneFileSystem also exist in FileSystem API. If so, add them to the 
> table.



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