[ 
https://issues.apache.org/jira/browse/HDDS-6479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17510972#comment-17510972
 ] 

Rakesh Radhakrishnan commented on HDDS-6479:
--------------------------------------------

Thanks [~erose] [~ghuangups] for reporting this issue.

{quote}
It looks like OMKeyRenameRequestWithFSO is querying the fileTable with a key 
format intended for the keyTable.
{quote}
Could you please upload the audit log, because the log what you have mentioned 
contains the original {{keyArgs}} values. Audit log will have the exception 
stacktrace and message. I believe that would help us to find out the root cause.

{code}
    String fromKeyName = keyArgs.getKeyName();
    String toKeyName = renameKeyRequest.getToKeyName();
    .....
   case FAILURE:
      ozoneManager.getMetrics().incNumKeyRenameFails();
      LOG.error("Rename key failed for volume:{} bucket:{} fromKey:{} " +
                      "toKey:{}. Key: {} not found.", volumeName, bucketName,
              fromKeyName, toKeyName, fromKeyName);
      break;
{code}

> [FSO] KeyRenameRequestWithFSO fails with "version not found"
> ------------------------------------------------------------
>
>                 Key: HDDS-6479
>                 URL: https://issues.apache.org/jira/browse/HDDS-6479
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: OM
>            Reporter: Ethan Rose
>            Priority: Major
>
> This log message was noticed in Ozone Manager:
> {code}
> 2:42:14.616 AM        ERROR   OMKeyRenameRequestWithFSO 
> Rename key failed for volume:vol1 bucket:tera-suite 
> fromKey:managed_table_path/.hive-staging_hive_2022-03-21_02-41-59_577_1330070922938100938-14/-ext-10002/000000_0/delta_0000001_0000001_0000/_orc_acid_version
>  
> toKey:managed_table_path/lu_custstatus_sv/delta_0000001_0000001_0000/_orc_acid_version.
>  Key: 
> managed_table_path/.hive-staging_hive_2022-03-21_02-41-59_577_1330070922938100938-14/-ext-10002/000000_0/delta_0000001_0000001_0000/_orc_acid_version
>  not found.
> {code}
> It looks like OMKeyRenameRequestWithFSO is querying the fileTable with a key 
> format intended for the keyTable.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to