[ https://issues.apache.org/jira/browse/HDDS-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16468505#comment-16468505 ]
Mukul Kumar Singh commented on HDDS-20: --------------------------------------- Thanks for the updated patch [~ljain]. For TestKeySpaceManager#testRenameKey and TestOzoneRpcClient#testRenameKey once an exception is asserted using {code} thrown.expect(IOException.class); thrown.expectMessage("Rename key failed, error"); bucket.renameKey(fromKeyName, toKeyName); {code} The code following these lines is never executed as the control terminates after the exception. > Ozone: Add support for rename key within a bucket for rpc client > ---------------------------------------------------------------- > > Key: HDDS-20 > URL: https://issues.apache.org/jira/browse/HDDS-20 > Project: Hadoop Distributed Data Store > Issue Type: Improvement > Reporter: Lokesh Jain > Assignee: Lokesh Jain > Priority: Major > Attachments: HDDS-20.001.patch, HDDS-20.002.patch, HDDS-20.003.patch, > HDFS-13228-HDFS-7240.001.patch > > > This jira aims to implement rename operation on a key within a bucket for rpc > client. OzoneFilesystem currently rewrites a key on rename. Addition of this > operation would simplify renames in OzoneFilesystem as renames would just be > a db update in ksm. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org