hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Work logged] (HDDS-1301) Optimize recursive ozone filesystem apis
Date Mon, 15 Apr 2019 13:12:01 GMT

     [ https://issues.apache.org/jira/browse/HDDS-1301?focusedWorklogId=227669&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-227669
]

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_r275340555
 
 

 ##########
 File path: hadoop-hdds/common/src/main/java/org/apache/hadoop/utils/db/DBStore.java
 ##########
 @@ -120,6 +120,48 @@
                          Table<KEY, VALUE> source, Table<KEY, VALUE> dest)
       throws IOException;
 
+  /**
+   * Moves a key from the Source Table to the destination Table.
+   *
+   * @param key - Key to move.
+   * @param source - Source Table.
+   * @param dest - Destination Table.
+   * @throws IOException on Failure
+   */
+  <KEY, VALUE> void moveWithBatch(KEY key, Table<KEY, VALUE> source,
+      Table<KEY, VALUE> dest, BatchOperation batch) throws IOException;
+
+  /**
+   * Moves a key from the Source Table to the destination Table and updates the
+   * destination to the new value.
+   *
+   * @param key - Key to move.
+   * @param value - new value to write to the destination table.
+   * @param source - Source Table.
+   * @param dest - Destination Table.
+   * @throws IOException on Failure
+   */
+  <KEY, VALUE> void moveWithBatch(KEY key, VALUE value, Table<KEY, VALUE> source,
 
 Review comment:
   There are no users of this function, can this be deleted.
 
----------------------------------------------------------------
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:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 227669)
    Time Spent: 1h 10m  (was: 1h)

> 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: 1h 10m
>  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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message