Zita Dombi created HDDS-8242:
--------------------------------
Summary: Rename operation not working with FSO bucket destination
Key: HDDS-8242
URL: https://issues.apache.org/jira/browse/HDDS-8242
Project: Apache Ozone
Issue Type: Bug
Reporter: Zita Dombi
Assignee: Zita Dombi
when we want to move a key to bucket level inside an FSO bucket it will fail
with
{code:java}
INVALID_KEY_NAME org.apache.hadoop.ozone.om.exceptions.OMException: Invalid
KeyPath, empty keyName
{code}
if we concat the key name to the destination path it is working fine. the
problem is that in {{BasicRootedOzoneFileSystem}} if the bucket is FSO it'll
call {{renameFSO()}} which doesn't check if the destination is not a key, so
it'll assume that the key name is empty. in that case in the original
{{rename()}} method it concats the key name to the destination path, which
should happen here as well.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]