-
Notifications
You must be signed in to change notification settings - Fork 594
HDDS-13409. Add supported operations for Ofs. #8763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Unlike httpsfs user doc https://ozone.apache.org/docs/edge/interface/httpfs.html we don't list the supported operation for Ofs. This patch adds a table in the 'Ofs (Hadoop compatible)' page for supported operations. The table has 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. Change-Id: I6613f5f13f23394c30da83ce41e22b28f6d04732
Adds a table for HDFS-specific operations that are not part of the general Hadoop FileSystem API and are therefore not supported by Ofs. Change-Id: Ibfc51daf614aa5cf0d56e1037b64856c4980c4e5
The "Supported Operations" table in the OFS documentation was missing several methods that are part of the public FileSystem API and are implemented in `RootedOzoneFileSystem`. This commit updates the table to include these methods, providing a more complete and accurate reference for developers. Change-Id: Iace6c9dd21bf6cae3701b0d5a620882c1976899e
| | `setXAttr` | Sets an extended attribute. | Unsupported | | ||
| | `getXAttr` | Gets an extended attribute. | Unsupported | | ||
| | `listXAttrs` | Lists extended attributes. | Unsupported | | ||
| | `removeXAttr` | Removes an extended attribute. | Unsupported | | ||
| | `setAcl` | Sets an ACL. | Unsupported | | ||
| | `getAclStatus` | Gets an ACL status. | Unsupported | | ||
| | `modifyAclEntries` | Modifies ACL entries. | Unsupported | | ||
| | `removeAclEntries` | Removes ACL entries. | Unsupported | | ||
| | `removeDefaultAcl` | Removes the default ACL. | Unsupported | | ||
| | `removeAcl` | Removes an ACL. | Unsupported | | ||
| | `truncate` | Truncates a file. | Unsupported | | ||
| | `concat` | Concatenates files. | Unsupported | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the above heading says
## Supported Operations
The following table lists the supported operations for Ofs.
But we mention unsupported methods as well in this table
Change-Id: I41bdbc9b347a474bb3abb6e80b73b5914f02ad87
|
@ayushtkn let me know how you think about this revision. thx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes LGTM, just double check the highlight change
| <value>org.apache.hadoop.fs.ozone.OzoneTrashPolicy</value> | ||
| </property> | ||
| {{< /highlight >}} | ||
| {{< highlight >}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems accidental, it gives error
Error: error building site: assemble: "/Users/ayushsaxena/code/ozone/hadoop-hdds/docs/content/interface/Ofs.md:233:1": failed to extract shortcode: shortcode "highlight" must be closed or self-closed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for catching it! fixed.
Change-Id: Ic095bbbc604d90a79235d321365f6ca4bd94af32
|
Merged. Thanks @ayushtkn |
Generated-by: Google Gemini 2.5 Pro, Gemini Cli
What changes were proposed in this pull request?
Provide a one-liner summary of the changes in the PR Title field above.
It should be in the form of
HDDS-1234. Short summary of the change.Please describe your PR in detail:
Unlike httpsfs user doc https://ozone.apache.org/docs/edge/interface/httpfs.html we don't list the supported operation for Ofs.
This patch adds a table in the 'Ofs (Hadoop compatible)' page for supported operations.
The table has 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.
Adds a table for HDFS-specific operations that are not part of the general Hadoop FileSystem API and are therefore not supported by Ofs.
Generated-by: Google Gemini 2.5 Pro + Gemini Cli.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-13409
How was this patch tested?
Documentation only change.