[
https://issues.apache.org/jira/browse/HDDS-1301?focusedWorklogId=227667&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-227667
]
ASF GitHub Bot logged work on HDDS-1301:
----------------------------------------
Author: ASF GitHub Bot
Created on: 15/Apr/19 13:11
Start Date: 15/Apr/19 13:11
Worklog Time Spent: 10m
Work Description: mukul1987 commented on pull request #718: HDDS-1301.
Optimize recursive ozone filesystem apis
URL: https://github.com/apache/hadoop/pull/718#discussion_r275336240
##########
File path: hadoop-ozone/common/src/main/proto/OzoneManagerProtocol.proto
##########
@@ -599,6 +613,33 @@ message LookupFileResponse {
optional KeyInfo keyInfo = 1;
}
+message RenameFSEntryRequest {
+ required KeyArgs keyArgs = 1;
+ required string toKeyName = 2;
+}
+
+message RenameFSEntryResponse {
+}
+
+message DeleteFSEntryRequest {
+ required KeyArgs keyArgs = 1;
+ required bool recursive = 2;
+}
+
+message DeleteFSEntryResponse {
+}
+
+message ListStatusRequest {
+ required KeyArgs keyArgs = 1;
+ required bool recursive = 2;
+ required string startKey = 3;
+ required uint64 numEntries = 4;
+}
+
+message ListStatusResponse {
+ repeated hadoop.fs.FileStatusProto statuses = 1;
Review comment:
Lets change this to repeated GetFileStatusResponse or lets introduce a new
OzoneFileStatus proto and use that both in GetFileStatus as well as List Status
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 227667)
Time Spent: 50m (was: 40m)
> Optimize recursive ozone filesystem apis
> ----------------------------------------
>
> Key: HDDS-1301
> URL: https://issues.apache.org/jira/browse/HDDS-1301
> Project: Hadoop Distributed Data Store
> Issue Type: Sub-task
> Reporter: Lokesh Jain
> Assignee: Lokesh Jain
> Priority: Major
> Labels: pull-request-available
> Attachments: HDDS-1301.001.patch
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> This Jira aims to optimise recursive apis in ozone file system. These are the
> apis which have a recursive flag which requires an operation to be performed
> on all the children of the directory. The Jira would add support forĀ
> recursive apis in Ozone manager in order to reduce the number of rpc calls to
> Ozone Manager. Also currently these operations are not atomic. This Jira
> would make all the operations in ozone filesystem atomic.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]