ayushtkn commented on code in PR #8763:
URL: https://github.com/apache/ozone/pull/8763#discussion_r2195460281


##########
hadoop-hdds/docs/content/interface/Ofs.md:
##########
@@ -273,3 +273,114 @@ This feature wouldn't degrade server performance as the 
loop is on the client.
 Think it as a client is issuing multiple requests to the server to get all the
 information.
 
+## Supported Operations
+
+The following table lists the supported operations for Ofs.
+
+| Operation              | Description                               | Support 
       |
+|------------------------|-------------------------------------------|----------------|
+| `create`               | Creates a new file.                       | 
Supported      |
+| `open`                 | Opens a file for reading.                 | 
Supported      |
+| `append`               | Appends to an existing file.              | 
Unsupported    |
+| `rename`               | Renames a file or directory.              | 
Supported [1]  |
+| `delete`               | Deletes a file or directory.              | 
Supported [2]  |
+| `listStatus`           | Lists the status of files in a directory. | 
Supported [3]  |
+| `mkdirs`               | Creates a directory and its parents.      | 
Supported      |
+| `getFileStatus`        | Gets the status of a file.                | 
Supported      |
+| `setPermission`        | Sets the permission of a file.            | 
Unsupported    |
+| `setOwner`             | Sets the owner of a file.                 | 
Unsupported    |
+| `setTimes`             | Sets the modification and access times.   | 
Supported      |
+| `setReplication`       | Sets the replication factor of a file.    | 
Unsupported    |
+| `createSymlink`        | Creates a symbolic link.                  | 
Unsupported    |
+| `getLinkTarget`        | Gets the target of a symbolic link.       | 
Supported [4]  |
+| `resolveLink`          | Resolves a symbolic link.                 | 
Unsupported    |
+| `getFileChecksum`      | Gets the checksum of a file.              | 
Supported      |
+| `setSafeMode`          | Enters or leaves safe mode.               | 
Supported      |
+| `recoverLease`         | Recovers a file lease.                    | 
Supported      |
+| `isFileClosed`         | Checks if a file is closed.               | 
Supported      |
+| `createSnapshot`       | Creates a snapshot.                       | 
Supported [5]  |
+| `deleteSnapshot`       | Deletes a snapshot.                       | 
Supported [5]  |
+| `renameSnapshot`       | Renames a snapshot.                       | 
Supported [5]  |
+| `getSnapshotDiffReport`| Gets a snapshot diff report.              | 
Supported [5]  |
+| `copyFromLocalFile`    | Copies a file from the local filesystem.  | 
Supported      |
+| `exists`               | Checks if a path exists.                  | 
Supported      |
+| `getContentSummary`    | Gets the content summary of a path.       | 
Supported      |
+| `getDefaultBlockSize`  | Gets the default block size.              | 
Supported      |
+| `getDefaultReplication`| Gets the default replication factor.      | 
Supported      |
+| `getDelegationToken`   | Gets a delegation token.                  | 
Supported      |
+| `getFileBlockLocations`| Gets file block locations.                | 
Supported      |
+| `getHomeDirectory`     | Gets the user's home directory.           | 
Supported      |
+| `getServerDefaults`    | Gets the server default values.           | 
Supported      |
+| `getTrashRoot`         | Gets the trash root for a path.           | 
Supported      |
+| `getTrashRoots`        | Gets all trash roots.                     | 
Supported      |
+| `getWorkingDirectory`  | Gets the current working directory.       | 
Supported      |
+| `globStatus`           | Finds files matching a pattern.           | 
Supported      |
+| `hasPathCapability`    | Queries for a path capability.            | 
Supported      |
+| `isDirectory`          | Checks if a path is a directory.          | 
Supported      |
+| `isFile`               | Checks if a path is a file.               | 
Supported      |
+| `listFiles`            | Returns a remote iterator for files.      | 
Supported      |
+| `listLocatedStatus`    | Returns a remote iterator for located file 
statuses. | Supported |
+| `listStatusIterator`   | Returns a remote iterator for file statuses. | 
Supported |
+| `setWorkingDirectory`  | Sets the current working directory.       | 
Supported      |
+| `supportsSymlinks`     | Checks if symbolic links are supported.   | 
Supported      |
+| `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    |

Review Comment:
   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



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to