Shilun Fan created HDDS-15172:
---------------------------------

             Summary: Add validation tests and logging cleanup for Ozone 
Iceberg RewriteTablePath action
                 Key: HDDS-15172
                 URL: https://issues.apache.org/jira/browse/HDDS-15172
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: iceberg
            Reporter: Shilun Fan
            Assignee: Shilun Fan


The Ozone Iceberg RewriteTablePath action currently has limited test coverage 
for input validation paths. Some invalid usages, such as executing the action 
without configuring source/target prefixes, are not explicitly covered by unit 
tests.

This task adds validation-focused unit tests for RewriteTablePathOzoneAction, 
including:
- missing source/target location prefix
- identical source and target prefixes
- unknown start version
- unknown end version

It also replaces a direct System.out.println call in 
RewriteTablePathOzoneAction with SLF4J logging, which is more consistent with 
the rest of the codebase.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to