You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ethan Rose (Jira)" <ji...@apache.org> on 2024/01/06 01:20:00 UTC
[jira] [Commented] (HDDS-10078) Parameterize TestOmMetrics#testKeyOps across bucket layouts
[ https://issues.apache.org/jira/browse/HDDS-10078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17803736#comment-17803736 ]
Ethan Rose commented on HDDS-10078:
-----------------------------------
As part of this change, we should also update [this line|https://github.com/apache/ozone/blob/71d4f25053314bdd86324701eb1cfdb61a94eedf/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestDataUtil.java#L55C11-L55C11] to use the default bucket layout instead of legacy.
> Parameterize TestOmMetrics#testKeyOps across bucket layouts
> -----------------------------------------------------------
>
> Key: HDDS-10078
> URL: https://issues.apache.org/jira/browse/HDDS-10078
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: OM
> Reporter: Ethan Rose
> Priority: Major
>
> Currently {{TestOmMetrics#testKeyOps}} is only tested against the default bucket layout. We should test it against FSO, OBS, and LEGACY. I was planning to add this in HDDS-10063, but ran into an issue with running the test on an FSO bucket and decided to move it to a different jira.
> The issue with the FSO bucket is due to the fault injection that happens partway through the test. This causes the {{NumKeyDeletes}} counter to not get incremented on the fourth key delete, because a KEY_NOT_FOUND OMException is raised when this line in [OmFileRequest|https://github.com/apache/ozone/blob/71d4f25053314bdd86324701eb1cfdb61a94eedf/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/file/OMFileRequest.java#L611] returns null while trying to get the key to check its ACLs in pre-execute. Other bucket layouts do not have this problem.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org