This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 3a609e6c3e5 HDDS-17375. Create new submodule
ozone-integration-test-tools (#11754)
3a609e6c3e5 is described below
commit 3a609e6c3e5dcf9fbc5f6ca8a66b996e798dfe4e
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Mon Oct 26 21:43:48 2026 +0100
HDDS-17375. Create new submodule ozone-integration-test-tools (#11754)
---
hadoop-hdds/framework/pom.xml | 2 +-
.../dev-support/findbugsExcludeFile.xml | 0
hadoop-ozone/{tools => cli-other}/pom.xml | 6 +-
.../org/apache/hadoop/fs/ozone/OzoneFsDelete.java | 0
.../org/apache/hadoop/fs/ozone/OzoneFsShell.java | 0
.../org/apache/hadoop/fs/ozone/package-info.java | 0
.../org/apache/hadoop/ozone/conf/OzoneGetConf.java | 0
.../ozone/conf/OzoneManagersCommandHandler.java | 0
.../ozone/conf/PrintConfKeyCommandHandler.java | 0
.../StorageContainerManagersCommandHandler.java | 0
.../org/apache/hadoop/ozone/conf/package-info.java | 0
.../GenerateOzoneRequiredConfigurations.java | 0
.../apache/hadoop/ozone/genconf/package-info.java | 0
.../org/apache/hadoop/ozone/shell/OzoneRatis.java | 0
.../apache/hadoop/ozone/shell/package-info.java | 0
.../ozone/utils/AsyncRollingFileAppender.java | 0
.../apache/hadoop/ozone/utils/AutoCompletion.java | 0
.../apache/hadoop/ozone/utils/package-info.java | 0
.../services/org.apache.hadoop.fs.FileSystem | 0
.../apache/hadoop/fs/ozone/TestOzoneFsShell.java | 0
.../hadoop/ozone/conf/TestGetConfOptions.java | 0
.../TestGenerateOzoneRequiredConfigurations.java | 0
.../apache/hadoop/ozone/genconf/package-info.java | 0
.../apache/hadoop/ozone/shell/TestOzoneRatis.java | 0
hadoop-ozone/dist/pom.xml | 10 +-
hadoop-ozone/dist/src/main/license/jar-report.txt | 2 +-
hadoop-ozone/dist/src/shell/ozone/ozone | 13 +-
.../dev-support/findbugsExcludeFile.xml | 0
.../pom.xml | 4 +-
.../hadoop/conf/ConfigurationFieldsTests.java | 0
.../hadoop/ozone/TestOzoneConfigurationFields.java | 0
.../java/org/apache/hadoop/ozone/package-info.java | 0
.../dev-support/findbugsExcludeFile.xml | 0
hadoop-ozone/integration-test-tools/pom.xml | 220 +++++++++++++++++++++
.../org/apache/hadoop/ozone/debug/TestLDBCli.java | 0
...estDuplicateContainerDirScannerIntegration.java | 4 +-
.../debug/om}/TestOzoneFileSystemPrefixParser.java | 3 +-
.../apache/hadoop/ozone/debug/package-info.java | 0
.../debug/ratis/parse}/TestDnRatisLogParser.java | 3 +-
.../ratis/parse}/TestOzoneHARatisLogParser.java | 3 +-
.../hadoop/ozone/fsck/TestContainerMapper.java | 0
.../shell/TestOzoneContainerUpgradeShell.java | 0
.../ozone/shell/TestOzoneDebugReplicasVerify.java | 0
.../hadoop/ozone/shell/TestOzoneDebugShell.java | 0
.../hadoop/ozone/shell/TestOzoneRepairShell.java | 0
.../hadoop}/repair/om/TestDownloadOMDBTool.java | 0
.../hadoop}/repair/om/TestFSORepairTool.java | 0
.../java/org/apache/ozone/test/DebugTests.java | 51 +++++
hadoop-ozone/integration-test/pom.xml | 12 +-
.../apache/hadoop/fs/ozone/TestOzoneFsHAURLs.java | 3 -
.../apache/hadoop/hdds/scm/TestCommitInRatis.java | 1 -
.../scm/TestDatanodeSCMNodesReconfiguration.java | 1 -
.../apache/hadoop/hdds/scm/TestWatchForCommit.java | 1 -
.../hadoop/hdds/scm/storage/TestCommitWatcher.java | 1 -
.../apache/hadoop/ozone/client/rpc/TestBCSID.java | 1 -
.../client/rpc/TestBlockDataStreamOutput.java | 1 -
.../ozone/client/rpc/TestBlockOutputStream.java | 1 -
...stClientRetryContainerStateMachineFailures.java | 1 -
.../rpc/TestContainerReplicationEndToEnd.java | 1 -
.../client/rpc/TestContainerStateMachine.java | 1 -
.../TestContainerStateMachineFailureOnRead.java | 1 -
.../rpc/TestContainerStateMachineFailures.java | 1 -
.../rpc/TestContainerStateMachineFlushDelay.java | 1 -
.../client/rpc/TestDeleteWithInAdequateDN.java | 1 -
.../ozone/client/rpc/TestECKeyOutputStream.java | 1 -
.../client/rpc/TestFailureHandlingByClient.java | 1 -
.../rpc/TestFailureHandlingByClientFlushDelay.java | 1 -
.../rpc/TestMultiBlockWritesWithDnFailures.java | 1 -
...estOzoneClientRetriesOnExceptionFlushDelay.java | 1 -
.../rpc/TestOzoneClientRetriesOnExceptions.java | 1 -
.../ozone/client/rpc/read/InputStreamTests.java | 1 -
.../ozone/container/TestECContainerRecovery.java | 1 -
.../commandhandler/TestBlockDeletion.java | 1 -
.../org/apache/hadoop/ozone/om/TestKeyPurging.java | 1 -
.../java/org/apache/ozone/test/NonHATests.java | 18 --
hadoop-ozone/pom.xml | 5 +-
.../src/main/resources/webapps/freon/.gitkeep | 17 --
pom.xml | 10 +-
78 files changed, 302 insertions(+), 108 deletions(-)
diff --git a/hadoop-hdds/framework/pom.xml b/hadoop-hdds/framework/pom.xml
index e4663c86ba4..355645d1106 100644
--- a/hadoop-hdds/framework/pom.xml
+++ b/hadoop-hdds/framework/pom.xml
@@ -27,7 +27,7 @@
<properties>
<classpath.skip>false</classpath.skip>
- <!-- hdds-server-framework is used by ozone-tools -->
+ <!-- hdds-server-framework is used by ozone-cli-other -->
<maven.compiler.release>${ozone.java.version.client}</maven.compiler.release>
</properties>
diff --git a/hadoop-ozone/tools/dev-support/findbugsExcludeFile.xml
b/hadoop-ozone/cli-other/dev-support/findbugsExcludeFile.xml
similarity index 100%
rename from hadoop-ozone/tools/dev-support/findbugsExcludeFile.xml
rename to hadoop-ozone/cli-other/dev-support/findbugsExcludeFile.xml
diff --git a/hadoop-ozone/tools/pom.xml b/hadoop-ozone/cli-other/pom.xml
similarity index 97%
rename from hadoop-ozone/tools/pom.xml
rename to hadoop-ozone/cli-other/pom.xml
index 533839297cf..6cf50f0ff80 100644
--- a/hadoop-ozone/tools/pom.xml
+++ b/hadoop-ozone/cli-other/pom.xml
@@ -19,11 +19,11 @@
<artifactId>ozone</artifactId>
<version>2.3.0-SNAPSHOT</version>
</parent>
- <artifactId>ozone-tools</artifactId>
+ <artifactId>ozone-cli-other</artifactId>
<version>2.3.0-SNAPSHOT</version>
<packaging>jar</packaging>
- <name>Apache Ozone Tools</name>
- <description>Apache Ozone Tools</description>
+ <name>Apache Ozone CLI Other</name>
+ <description>Apache Ozone CLI commands not fitting any dedicated
module</description>
<properties>
<classpath.skip>false</classpath.skip>
diff --git
a/hadoop-ozone/tools/src/main/java/org/apache/hadoop/fs/ozone/OzoneFsDelete.java
b/hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/fs/ozone/OzoneFsDelete.java
similarity index 100%
rename from
hadoop-ozone/tools/src/main/java/org/apache/hadoop/fs/ozone/OzoneFsDelete.java
rename to
hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/fs/ozone/OzoneFsDelete.java
diff --git
a/hadoop-ozone/tools/src/main/java/org/apache/hadoop/fs/ozone/OzoneFsShell.java
b/hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/fs/ozone/OzoneFsShell.java
similarity index 100%
rename from
hadoop-ozone/tools/src/main/java/org/apache/hadoop/fs/ozone/OzoneFsShell.java
rename to
hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/fs/ozone/OzoneFsShell.java
diff --git
a/hadoop-ozone/tools/src/main/java/org/apache/hadoop/fs/ozone/package-info.java
b/hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/fs/ozone/package-info.java
similarity index 100%
rename from
hadoop-ozone/tools/src/main/java/org/apache/hadoop/fs/ozone/package-info.java
rename to
hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/fs/ozone/package-info.java
diff --git
a/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/conf/OzoneGetConf.java
b/hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/ozone/conf/OzoneGetConf.java
similarity index 100%
rename from
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/conf/OzoneGetConf.java
rename to
hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/ozone/conf/OzoneGetConf.java
diff --git
a/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/conf/OzoneManagersCommandHandler.java
b/hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/ozone/conf/OzoneManagersCommandHandler.java
similarity index 100%
rename from
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/conf/OzoneManagersCommandHandler.java
rename to
hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/ozone/conf/OzoneManagersCommandHandler.java
diff --git
a/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/conf/PrintConfKeyCommandHandler.java
b/hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/ozone/conf/PrintConfKeyCommandHandler.java
similarity index 100%
rename from
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/conf/PrintConfKeyCommandHandler.java
rename to
hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/ozone/conf/PrintConfKeyCommandHandler.java
diff --git
a/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/conf/StorageContainerManagersCommandHandler.java
b/hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/ozone/conf/StorageContainerManagersCommandHandler.java
similarity index 100%
rename from
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/conf/StorageContainerManagersCommandHandler.java
rename to
hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/ozone/conf/StorageContainerManagersCommandHandler.java
diff --git
a/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/conf/package-info.java
b/hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/ozone/conf/package-info.java
similarity index 100%
rename from
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/conf/package-info.java
rename to
hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/ozone/conf/package-info.java
diff --git
a/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/genconf/GenerateOzoneRequiredConfigurations.java
b/hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/ozone/genconf/GenerateOzoneRequiredConfigurations.java
similarity index 100%
rename from
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/genconf/GenerateOzoneRequiredConfigurations.java
rename to
hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/ozone/genconf/GenerateOzoneRequiredConfigurations.java
diff --git
a/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/genconf/package-info.java
b/hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/ozone/genconf/package-info.java
similarity index 100%
rename from
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/genconf/package-info.java
rename to
hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/ozone/genconf/package-info.java
diff --git
a/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/shell/OzoneRatis.java
b/hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/ozone/shell/OzoneRatis.java
similarity index 100%
rename from
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/shell/OzoneRatis.java
rename to
hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/ozone/shell/OzoneRatis.java
diff --git
a/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/shell/package-info.java
b/hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/ozone/shell/package-info.java
similarity index 100%
rename from
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/shell/package-info.java
rename to
hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/ozone/shell/package-info.java
diff --git
a/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/utils/AsyncRollingFileAppender.java
b/hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/ozone/utils/AsyncRollingFileAppender.java
similarity index 100%
rename from
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/utils/AsyncRollingFileAppender.java
rename to
hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/ozone/utils/AsyncRollingFileAppender.java
diff --git
a/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/utils/AutoCompletion.java
b/hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/ozone/utils/AutoCompletion.java
similarity index 100%
rename from
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/utils/AutoCompletion.java
rename to
hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/ozone/utils/AutoCompletion.java
diff --git
a/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/utils/package-info.java
b/hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/ozone/utils/package-info.java
similarity index 100%
rename from
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/utils/package-info.java
rename to
hadoop-ozone/cli-other/src/main/java/org/apache/hadoop/ozone/utils/package-info.java
diff --git
a/hadoop-ozone/tools/src/main/resources/META-INF/services/org.apache.hadoop.fs.FileSystem
b/hadoop-ozone/cli-other/src/main/resources/META-INF/services/org.apache.hadoop.fs.FileSystem
similarity index 100%
rename from
hadoop-ozone/tools/src/main/resources/META-INF/services/org.apache.hadoop.fs.FileSystem
rename to
hadoop-ozone/cli-other/src/main/resources/META-INF/services/org.apache.hadoop.fs.FileSystem
diff --git
a/hadoop-ozone/tools/src/test/java/java/org/apache/hadoop/fs/ozone/TestOzoneFsShell.java
b/hadoop-ozone/cli-other/src/test/java/java/org/apache/hadoop/fs/ozone/TestOzoneFsShell.java
similarity index 100%
rename from
hadoop-ozone/tools/src/test/java/java/org/apache/hadoop/fs/ozone/TestOzoneFsShell.java
rename to
hadoop-ozone/cli-other/src/test/java/java/org/apache/hadoop/fs/ozone/TestOzoneFsShell.java
diff --git
a/hadoop-ozone/tools/src/test/java/org/apache/hadoop/ozone/conf/TestGetConfOptions.java
b/hadoop-ozone/cli-other/src/test/java/org/apache/hadoop/ozone/conf/TestGetConfOptions.java
similarity index 100%
rename from
hadoop-ozone/tools/src/test/java/org/apache/hadoop/ozone/conf/TestGetConfOptions.java
rename to
hadoop-ozone/cli-other/src/test/java/org/apache/hadoop/ozone/conf/TestGetConfOptions.java
diff --git
a/hadoop-ozone/tools/src/test/java/org/apache/hadoop/ozone/genconf/TestGenerateOzoneRequiredConfigurations.java
b/hadoop-ozone/cli-other/src/test/java/org/apache/hadoop/ozone/genconf/TestGenerateOzoneRequiredConfigurations.java
similarity index 100%
rename from
hadoop-ozone/tools/src/test/java/org/apache/hadoop/ozone/genconf/TestGenerateOzoneRequiredConfigurations.java
rename to
hadoop-ozone/cli-other/src/test/java/org/apache/hadoop/ozone/genconf/TestGenerateOzoneRequiredConfigurations.java
diff --git
a/hadoop-ozone/tools/src/test/java/org/apache/hadoop/ozone/genconf/package-info.java
b/hadoop-ozone/cli-other/src/test/java/org/apache/hadoop/ozone/genconf/package-info.java
similarity index 100%
rename from
hadoop-ozone/tools/src/test/java/org/apache/hadoop/ozone/genconf/package-info.java
rename to
hadoop-ozone/cli-other/src/test/java/org/apache/hadoop/ozone/genconf/package-info.java
diff --git
a/hadoop-ozone/tools/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneRatis.java
b/hadoop-ozone/cli-other/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneRatis.java
similarity index 100%
rename from
hadoop-ozone/tools/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneRatis.java
rename to
hadoop-ozone/cli-other/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneRatis.java
diff --git a/hadoop-ozone/dist/pom.xml b/hadoop-ozone/dist/pom.xml
index 7cdf560c273..c7d383a2173 100644
--- a/hadoop-ozone/dist/pom.xml
+++ b/hadoop-ozone/dist/pom.xml
@@ -92,6 +92,11 @@
<artifactId>ozone-cli-local</artifactId>
<scope>runtime</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.ozone</groupId>
+ <artifactId>ozone-cli-other</artifactId>
+ <scope>runtime</scope>
+ </dependency>
<dependency>
<groupId>org.apache.ozone</groupId>
<artifactId>ozone-cli-repair</artifactId>
@@ -157,11 +162,6 @@
<artifactId>ozone-s3gateway</artifactId>
<scope>runtime</scope>
</dependency>
- <dependency>
- <groupId>org.apache.ozone</groupId>
- <artifactId>ozone-tools</artifactId>
- <scope>runtime</scope>
- </dependency>
<dependency>
<groupId>org.apache.ozone</groupId>
<artifactId>ozone-vapor</artifactId>
diff --git a/hadoop-ozone/dist/src/main/license/jar-report.txt
b/hadoop-ozone/dist/src/main/license/jar-report.txt
index 4510d52bdfa..d9883f877f5 100644
--- a/hadoop-ozone/dist/src/main/license/jar-report.txt
+++ b/hadoop-ozone/dist/src/main/license/jar-report.txt
@@ -243,6 +243,7 @@ share/ozone/lib/ozone-cli-admin.jar
share/ozone/lib/ozone-cli-debug.jar
share/ozone/lib/ozone-cli-interactive.jar
share/ozone/lib/ozone-cli-local.jar
+share/ozone/lib/ozone-cli-other.jar
share/ozone/lib/ozone-cli-repair.jar
share/ozone/lib/ozone-cli-shell.jar
share/ozone/lib/ozone-client.jar
@@ -264,7 +265,6 @@ share/ozone/lib/ozone-recon.jar
share/ozone/lib/ozone-reconcodegen.jar
share/ozone/lib/ozone-s3-secret-store.jar
share/ozone/lib/ozone-s3gateway.jar
-share/ozone/lib/ozone-tools.jar
share/ozone/lib/ozone-vapor.jar
share/ozone/lib/parquet-avro.jar
share/ozone/lib/parquet-column.jar
diff --git a/hadoop-ozone/dist/src/shell/ozone/ozone
b/hadoop-ozone/dist/src/shell/ozone/ozone
index 88811258f8c..8f2acebb869 100755
--- a/hadoop-ozone/dist/src/shell/ozone/ozone
+++ b/hadoop-ozone/dist/src/shell/ozone/ozone
@@ -150,7 +150,7 @@ function ozonecmd_case
;;
getconf)
OZONE_CLASSNAME=org.apache.hadoop.ozone.conf.OzoneGetConf;
- OZONE_RUN_ARTIFACT_NAME="ozone-tools"
+ OZONE_RUN_ARTIFACT_NAME="ozone-cli-other"
;;
om)
OZONE_SUBCMD_SUPPORTDAEMONIZATION="true"
@@ -199,7 +199,7 @@ function ozonecmd_case
;;
fs)
OZONE_CLASSNAME=org.apache.hadoop.fs.ozone.OzoneFsShell
- OZONE_RUN_ARTIFACT_NAME="ozone-tools"
+ OZONE_RUN_ARTIFACT_NAME="ozone-cli-other"
;;
daemonlog)
OZONE_CLASSNAME=org.apache.hadoop.hdds.utils.LogLevel
@@ -215,15 +215,15 @@ function ozonecmd_case
;;
version)
OZONE_CLASSNAME=org.apache.hadoop.ozone.util.OzoneVersionInfo
- OZONE_RUN_ARTIFACT_NAME="ozone-tools"
+ OZONE_RUN_ARTIFACT_NAME="ozone-cli-other"
;;
genconf)
OZONE_CLASSNAME=org.apache.hadoop.ozone.genconf.GenerateOzoneRequiredConfigurations
- OZONE_RUN_ARTIFACT_NAME="ozone-tools"
+ OZONE_RUN_ARTIFACT_NAME="ozone-cli-other"
;;
dtutil)
OZONE_CLASSNAME=org.apache.hadoop.security.token.DtUtilShell
- OZONE_RUN_ARTIFACT_NAME="ozone-tools"
+ OZONE_RUN_ARTIFACT_NAME="ozone-cli-other"
;;
interactive)
OZONE_CLASSNAME=org.apache.hadoop.ozone.shell.OzoneInteractiveShell
@@ -244,7 +244,7 @@ function ozonecmd_case
;;
ratis)
OZONE_CLASSNAME=org.apache.hadoop.ozone.shell.OzoneRatis
- OZONE_RUN_ARTIFACT_NAME="ozone-tools"
+ OZONE_RUN_ARTIFACT_NAME="ozone-cli-other"
;;
vapor)
OZONE_CLASSNAME=org.apache.hadoop.ozone.freon.Vapor
@@ -295,7 +295,6 @@ function ozone_suppress_shell_log
{
if [[ "${OZONE_RUN_ARTIFACT_NAME}" =~ ozone-cli-.* ]] \
|| [[ "${OZONE_RUN_ARTIFACT_NAME}" == "ozone-dist" ]] \
- || [[ "${OZONE_RUN_ARTIFACT_NAME}" == "ozone-tools" ]] \
|| [[ "${OZONE_RUN_ARTIFACT_NAME}" == "ozone-iceberg" ]]; then
if [[ -z "${OZONE_ORIGINAL_LOGLEVEL}" ]] \
&& [[ -z "${OZONE_ORIGINAL_ROOT_LOGGER}" ]]; then
diff --git
a/hadoop-ozone/integration-test-all/dev-support/findbugsExcludeFile.xml
b/hadoop-ozone/integration-test-full-deps/dev-support/findbugsExcludeFile.xml
similarity index 100%
copy from hadoop-ozone/integration-test-all/dev-support/findbugsExcludeFile.xml
copy to
hadoop-ozone/integration-test-full-deps/dev-support/findbugsExcludeFile.xml
diff --git a/hadoop-ozone/integration-test-all/pom.xml
b/hadoop-ozone/integration-test-full-deps/pom.xml
similarity index 97%
rename from hadoop-ozone/integration-test-all/pom.xml
rename to hadoop-ozone/integration-test-full-deps/pom.xml
index 149abfb1301..f0173f35d1c 100644
--- a/hadoop-ozone/integration-test-all/pom.xml
+++ b/hadoop-ozone/integration-test-full-deps/pom.xml
@@ -19,10 +19,10 @@
<artifactId>ozone</artifactId>
<version>2.3.0-SNAPSHOT</version>
</parent>
- <artifactId>ozone-integration-test-all</artifactId>
+ <artifactId>ozone-integration-test-full-deps</artifactId>
<version>2.3.0-SNAPSHOT</version>
<packaging>jar</packaging>
- <name>Apache Ozone Integration Tests All</name>
+ <name>Apache Ozone Integration Tests Full Deps</name>
<description>Apache Ozone Integration Tests which may depend on any Ozone
module</description>
<!-- Please keep tests in this module to the minimum. -->
diff --git
a/hadoop-ozone/integration-test-all/src/test/java/org/apache/hadoop/conf/ConfigurationFieldsTests.java
b/hadoop-ozone/integration-test-full-deps/src/test/java/org/apache/hadoop/conf/ConfigurationFieldsTests.java
similarity index 100%
rename from
hadoop-ozone/integration-test-all/src/test/java/org/apache/hadoop/conf/ConfigurationFieldsTests.java
rename to
hadoop-ozone/integration-test-full-deps/src/test/java/org/apache/hadoop/conf/ConfigurationFieldsTests.java
diff --git
a/hadoop-ozone/integration-test-all/src/test/java/org/apache/hadoop/ozone/TestOzoneConfigurationFields.java
b/hadoop-ozone/integration-test-full-deps/src/test/java/org/apache/hadoop/ozone/TestOzoneConfigurationFields.java
similarity index 100%
rename from
hadoop-ozone/integration-test-all/src/test/java/org/apache/hadoop/ozone/TestOzoneConfigurationFields.java
rename to
hadoop-ozone/integration-test-full-deps/src/test/java/org/apache/hadoop/ozone/TestOzoneConfigurationFields.java
diff --git
a/hadoop-ozone/integration-test-all/src/test/java/org/apache/hadoop/ozone/package-info.java
b/hadoop-ozone/integration-test-full-deps/src/test/java/org/apache/hadoop/ozone/package-info.java
similarity index 100%
rename from
hadoop-ozone/integration-test-all/src/test/java/org/apache/hadoop/ozone/package-info.java
rename to
hadoop-ozone/integration-test-full-deps/src/test/java/org/apache/hadoop/ozone/package-info.java
diff --git
a/hadoop-ozone/integration-test-all/dev-support/findbugsExcludeFile.xml
b/hadoop-ozone/integration-test-tools/dev-support/findbugsExcludeFile.xml
similarity index 100%
rename from
hadoop-ozone/integration-test-all/dev-support/findbugsExcludeFile.xml
rename to
hadoop-ozone/integration-test-tools/dev-support/findbugsExcludeFile.xml
diff --git a/hadoop-ozone/integration-test-tools/pom.xml
b/hadoop-ozone/integration-test-tools/pom.xml
new file mode 100644
index 00000000000..305107f2a6e
--- /dev/null
+++ b/hadoop-ozone/integration-test-tools/pom.xml
@@ -0,0 +1,220 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License. See accompanying LICENSE file.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
https://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.ozone</groupId>
+ <artifactId>ozone</artifactId>
+ <version>2.3.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>ozone-integration-test-tools</artifactId>
+ <version>2.3.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+ <name>Apache Ozone Tools Integration Tests</name>
+ <description>Apache Ozone Integration Tests for Tools</description>
+
+ <dependencies>
+ <dependency>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-core</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>info.picocli</groupId>
+ <artifactId>picocli</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>jakarta.annotation</groupId>
+ <artifactId>jakarta.annotation-api</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-lang3</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-common</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ozone</groupId>
+ <artifactId>hdds-client</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ozone</groupId>
+ <artifactId>hdds-common</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ozone</groupId>
+ <artifactId>hdds-common</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ozone</groupId>
+ <artifactId>hdds-config</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ozone</groupId>
+ <artifactId>hdds-container-service</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ozone</groupId>
+ <artifactId>hdds-interface-client</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ozone</groupId>
+ <artifactId>hdds-managed-rocksdb</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ozone</groupId>
+ <artifactId>hdds-server-framework</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ozone</groupId>
+ <artifactId>hdds-server-scm</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ozone</groupId>
+ <artifactId>hdds-test-utils</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ozone</groupId>
+ <artifactId>ozone-cli-debug</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ozone</groupId>
+ <artifactId>ozone-cli-repair</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ozone</groupId>
+ <artifactId>ozone-client</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ozone</groupId>
+ <artifactId>ozone-client</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ozone</groupId>
+ <artifactId>ozone-common</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ozone</groupId>
+ <artifactId>ozone-integration-test</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ozone</groupId>
+ <artifactId>ozone-interface-client</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ozone</groupId>
+ <artifactId>ozone-interface-storage</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ozone</groupId>
+ <artifactId>ozone-manager</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ozone</groupId>
+ <artifactId>ozone-manager</artifactId>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ozone</groupId>
+ <artifactId>ozone-mini-cluster</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ratis</groupId>
+ <artifactId>ratis-common</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ratis</groupId>
+ <artifactId>ratis-proto</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-maven-plugin</artifactId>
+ <configuration>
+
<excludeFilterFile>${basedir}/dev-support/findbugsExcludeFile.xml</excludeFilterFile>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <proc>none</proc>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>${maven-surefire-plugin.argLine}
${maven-surefire-plugin.argLineAccessArgs} @{argLine}
-Djava.library.path=${project.basedir}/../../target/native-lib</argLine>
+ <environmentVariables>
+
<LD_LIBRARY_PATH>${project.basedir}/../../target/native-lib</LD_LIBRARY_PATH>
+
<DYLD_LIBRARY_PATH>${project.basedir}/../../target/native-lib</DYLD_LIBRARY_PATH>
+ </environmentVariables>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/debug/TestLDBCli.java
b/hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/debug/TestLDBCli.java
similarity index 100%
rename from
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/debug/TestLDBCli.java
rename to
hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/debug/TestLDBCli.java
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/dn/container/TestDuplicateContainerDirScannerIntegration.java
b/hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/debug/datanode/container/analyze/TestDuplicateContainerDirScannerIntegration.java
similarity index 97%
rename from
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/dn/container/TestDuplicateContainerDirScannerIntegration.java
rename to
hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/debug/datanode/container/analyze/TestDuplicateContainerDirScannerIntegration.java
index 5f435b567ea..06cc25d5a04 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/dn/container/TestDuplicateContainerDirScannerIntegration.java
+++
b/hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/debug/datanode/container/analyze/TestDuplicateContainerDirScannerIntegration.java
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-package org.apache.hadoop.ozone.dn.container;
+package org.apache.hadoop.ozone.debug.datanode.container.analyze;
import static java.nio.charset.StandardCharsets.UTF_8;
import static org.apache.hadoop.hdds.client.ReplicationFactor.ONE;
@@ -59,8 +59,6 @@
import org.apache.hadoop.ozone.container.keyvalue.KeyValueContainerData;
import
org.apache.hadoop.ozone.container.keyvalue.helpers.KeyValueContainerLocationUtil;
import org.apache.hadoop.ozone.container.ozoneimpl.OzoneContainer;
-import
org.apache.hadoop.ozone.debug.datanode.container.analyze.ContainerDirectoryScanner;
-import
org.apache.hadoop.ozone.debug.datanode.container.analyze.ContainerDiskOccurrence;
import org.apache.ozone.test.GenericTestUtils;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/fs/ozone/TestOzoneFileSystemPrefixParser.java
b/hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/debug/om/TestOzoneFileSystemPrefixParser.java
similarity index 98%
rename from
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/fs/ozone/TestOzoneFileSystemPrefixParser.java
rename to
hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/debug/om/TestOzoneFileSystemPrefixParser.java
index 7401e4b9f90..744bfd6c330 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/fs/ozone/TestOzoneFileSystemPrefixParser.java
+++
b/hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/debug/om/TestOzoneFileSystemPrefixParser.java
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-package org.apache.hadoop.fs.ozone;
+package org.apache.hadoop.ozone.debug.om;
import static org.junit.jupiter.api.Assertions.assertEquals;
@@ -31,7 +31,6 @@
import org.apache.hadoop.ozone.MiniOzoneCluster;
import org.apache.hadoop.ozone.OzoneConsts;
import org.apache.hadoop.ozone.client.OzoneClient;
-import org.apache.hadoop.ozone.debug.om.PrefixParser;
import org.apache.hadoop.ozone.om.OMStorage;
import org.apache.hadoop.ozone.om.helpers.BucketLayout;
import org.junit.jupiter.api.AfterAll;
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/debug/package-info.java
b/hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/debug/package-info.java
similarity index 100%
rename from
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/debug/package-info.java
rename to
hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/debug/package-info.java
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/dn/ratis/TestDnRatisLogParser.java
b/hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/debug/ratis/parse/TestDnRatisLogParser.java
similarity index 96%
rename from
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/dn/ratis/TestDnRatisLogParser.java
rename to
hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/debug/ratis/parse/TestDnRatisLogParser.java
index 825bc6eaca7..3f8afe07d46 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/dn/ratis/TestDnRatisLogParser.java
+++
b/hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/debug/ratis/parse/TestDnRatisLogParser.java
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-package org.apache.hadoop.ozone.dn.ratis;
+package org.apache.hadoop.ozone.debug.ratis.parse;
import static java.nio.charset.StandardCharsets.UTF_8;
import static
org.apache.hadoop.hdds.scm.ScmConfigKeys.OZONE_SCM_RATIS_PIPELINE_LIMIT;
@@ -29,7 +29,6 @@
import org.apache.hadoop.hdds.conf.OzoneConfiguration;
import org.apache.hadoop.ozone.MiniOzoneCluster;
import org.apache.hadoop.ozone.OzoneConfigKeys;
-import org.apache.hadoop.ozone.debug.ratis.parse.RatisLogParser;
import org.apache.ozone.test.GenericTestUtils;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/parser/TestOzoneHARatisLogParser.java
b/hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/debug/ratis/parse/TestOzoneHARatisLogParser.java
similarity index 98%
rename from
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/parser/TestOzoneHARatisLogParser.java
rename to
hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/debug/ratis/parse/TestOzoneHARatisLogParser.java
index 02f518c65e8..b083a08d2e3 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/parser/TestOzoneHARatisLogParser.java
+++
b/hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/debug/ratis/parse/TestOzoneHARatisLogParser.java
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-package org.apache.hadoop.ozone.parser;
+package org.apache.hadoop.ozone.debug.ratis.parse;
import static java.nio.charset.StandardCharsets.UTF_8;
import static org.assertj.core.api.Assertions.assertThat;
@@ -37,7 +37,6 @@
import org.apache.hadoop.ozone.client.ObjectStore;
import org.apache.hadoop.ozone.client.OzoneClient;
import org.apache.hadoop.ozone.client.OzoneClientFactory;
-import org.apache.hadoop.ozone.debug.ratis.parse.RatisLogParser;
import org.apache.hadoop.ozone.om.helpers.OMRatisHelper;
import org.apache.hadoop.ozone.om.ratis.utils.OzoneManagerRatisUtils;
import org.apache.ozone.test.GenericTestUtils;
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/fsck/TestContainerMapper.java
b/hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/fsck/TestContainerMapper.java
similarity index 100%
rename from
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/fsck/TestContainerMapper.java
rename to
hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/fsck/TestContainerMapper.java
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneContainerUpgradeShell.java
b/hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneContainerUpgradeShell.java
similarity index 100%
rename from
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneContainerUpgradeShell.java
rename to
hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneContainerUpgradeShell.java
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneDebugReplicasVerify.java
b/hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneDebugReplicasVerify.java
similarity index 100%
rename from
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneDebugReplicasVerify.java
rename to
hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneDebugReplicasVerify.java
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneDebugShell.java
b/hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneDebugShell.java
similarity index 100%
rename from
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneDebugShell.java
rename to
hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneDebugShell.java
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneRepairShell.java
b/hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneRepairShell.java
similarity index 100%
rename from
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneRepairShell.java
rename to
hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneRepairShell.java
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/repair/om/TestDownloadOMDBTool.java
b/hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/repair/om/TestDownloadOMDBTool.java
similarity index 100%
rename from
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/repair/om/TestDownloadOMDBTool.java
rename to
hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/repair/om/TestDownloadOMDBTool.java
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/repair/om/TestFSORepairTool.java
b/hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/repair/om/TestFSORepairTool.java
similarity index 100%
rename from
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/repair/om/TestFSORepairTool.java
rename to
hadoop-ozone/integration-test-tools/src/test/java/org/apache/hadoop/repair/om/TestFSORepairTool.java
diff --git
a/hadoop-ozone/integration-test-tools/src/test/java/org/apache/ozone/test/DebugTests.java
b/hadoop-ozone/integration-test-tools/src/test/java/org/apache/ozone/test/DebugTests.java
new file mode 100644
index 00000000000..761503a8a47
--- /dev/null
+++
b/hadoop-ozone/integration-test-tools/src/test/java/org/apache/ozone/test/DebugTests.java
@@ -0,0 +1,51 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.ozone.test;
+
+import org.apache.hadoop.ozone.MiniOzoneCluster;
+import org.apache.hadoop.ozone.shell.TestOzoneDebugReplicasVerify;
+import org.apache.hadoop.ozone.shell.TestOzoneDebugShell;
+import org.junit.jupiter.api.Nested;
+import org.junit.jupiter.api.TestInstance;
+
+/**
+ * Debug tests to be run with a single non-HA cluster.
+ * <p/>
+ * Specific tests are implemented in separate classes, and they are subclasses
+ * here as {@link Nested} inner classes. This allows running all tests in the
+ * same cluster.
+ */
+@TestInstance(TestInstance.Lifecycle.PER_CLASS)
+public abstract class DebugTests extends ClusterForTests<MiniOzoneCluster> {
+
+ @Nested
+ class OzoneDebugShell extends TestOzoneDebugShell {
+ @Override
+ public MiniOzoneCluster cluster() {
+ return getCluster();
+ }
+ }
+
+ @Nested
+ class OzoneDebugReplicasVerify extends TestOzoneDebugReplicasVerify {
+ @Override
+ public MiniOzoneCluster cluster() {
+ return getCluster();
+ }
+ }
+}
diff --git a/hadoop-ozone/integration-test/pom.xml
b/hadoop-ozone/integration-test/pom.xml
index 0b5c6666b4d..907f3106d6f 100644
--- a/hadoop-ozone/integration-test/pom.xml
+++ b/hadoop-ozone/integration-test/pom.xml
@@ -333,12 +333,7 @@
</dependency>
<dependency>
<groupId>org.apache.ozone</groupId>
- <artifactId>ozone-cli-debug</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.ozone</groupId>
- <artifactId>ozone-cli-repair</artifactId>
+ <artifactId>ozone-cli-other</artifactId>
<scope>test</scope>
</dependency>
<dependency>
@@ -408,11 +403,6 @@
<artifactId>ozone-multitenancy-ranger</artifactId>
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>org.apache.ozone</groupId>
- <artifactId>ozone-tools</artifactId>
- <scope>test</scope>
- </dependency>
<dependency>
<groupId>org.apache.ozone</groupId>
<artifactId>rocksdb-checkpoint-differ</artifactId>
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/fs/ozone/TestOzoneFsHAURLs.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/fs/ozone/TestOzoneFsHAURLs.java
index 3c0615c41c6..ad527718401 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/fs/ozone/TestOzoneFsHAURLs.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/fs/ozone/TestOzoneFsHAURLs.java
@@ -174,7 +174,6 @@ private int getPortFromAddress(String addr) {
@Test
public void testWithQualifiedDefaultFS() throws Exception {
OzoneConfiguration clientConf = new OzoneConfiguration(conf);
- clientConf.setQuietMode(false);
clientConf.set(O3FS_IMPL_KEY, O3FS_IMPL_VALUE);
// fs.defaultFS = o3fs://bucketName.volumeName.omServiceId/
clientConf.set(CommonConfigurationKeysPublic.FS_DEFAULT_NAME_KEY,
rootPath);
@@ -269,7 +268,6 @@ public void testWithQualifiedDefaultFS() throws Exception {
*/
private void testWithDefaultFS(String defaultFS) throws Exception {
OzoneConfiguration clientConf = new OzoneConfiguration(conf);
- clientConf.setQuietMode(false);
clientConf.set(O3FS_IMPL_KEY, O3FS_IMPL_VALUE);
// fs.defaultFS = file:///
clientConf.set(CommonConfigurationKeysPublic.FS_DEFAULT_NAME_KEY,
@@ -314,7 +312,6 @@ public void testOtherDefaultFS() throws Exception {
@Test
public void testIncorrectAuthorityInURI() throws Exception {
OzoneConfiguration clientConf = new OzoneConfiguration(conf);
- clientConf.setQuietMode(false);
clientConf.set(O3FS_IMPL_KEY, O3FS_IMPL_VALUE);
clientConf.set(OFS_IMPL_KEY, OFS_IMPL_VALUE);
FsShell shell = new FsShell(clientConf);
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/TestCommitInRatis.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/TestCommitInRatis.java
index 3a6183cea1f..2186f4dc681 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/TestCommitInRatis.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/TestCommitInRatis.java
@@ -84,7 +84,6 @@ private void startCluster(OzoneConfiguration conf) throws
Exception {
.setStreamBufferMaxSize(MAX_FLUSH_SIZE)
.applyTo(conf);
- conf.setQuietMode(false);
cluster = MiniOzoneCluster.newBuilder(conf)
.setNumDatanodes(3)
.build();
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/TestDatanodeSCMNodesReconfiguration.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/TestDatanodeSCMNodesReconfiguration.java
index eb30586ec1e..a602006edc8 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/TestDatanodeSCMNodesReconfiguration.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/TestDatanodeSCMNodesReconfiguration.java
@@ -79,7 +79,6 @@ public void init() throws Exception {
conf.setTimeDuration(HDDS_HEARTBEAT_INTERVAL, 1, SECONDS);
conf.setTimeDuration(OZONE_SCM_STALENODE_INTERVAL, 3, SECONDS);
conf.setTimeDuration(OZONE_SCM_DEADNODE_INTERVAL, 6, SECONDS);
- conf.setQuietMode(false);
scmServiceId = "scm-service-test1";
cluster = MiniOzoneCluster.newHABuilder(conf)
.setOMServiceId("om-service-test1")
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/TestWatchForCommit.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/TestWatchForCommit.java
index 3cc59712642..c5164b3d580 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/TestWatchForCommit.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/TestWatchForCommit.java
@@ -103,7 +103,6 @@ public void init() throws Exception {
conf.set(OzoneConfigKeys.OZONE_SCM_CLOSE_CONTAINER_WAIT_DURATION, "2s");
conf.set(ScmConfigKeys.OZONE_SCM_PIPELINE_SCRUB_INTERVAL, "2s");
conf.set(ScmConfigKeys.OZONE_SCM_PIPELINE_DESTROY_TIMEOUT, "5s");
- conf.setQuietMode(false);
conf.setInt(ScmConfigKeys.OZONE_DATANODE_PIPELINE_LIMIT, 1);
RatisClientConfig ratisClientConfig =
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/storage/TestCommitWatcher.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/storage/TestCommitWatcher.java
index 656a3940edf..6b7cca4b471 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/storage/TestCommitWatcher.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/storage/TestCommitWatcher.java
@@ -115,7 +115,6 @@ public void init() throws Exception {
.setStreamBufferMaxSize(MAX_FLUSH_SIZE)
.applyTo(conf);
- conf.setQuietMode(false);
conf.setStorageSize(OzoneConfigKeys.OZONE_SCM_BLOCK_SIZE, 4,
StorageUnit.MB);
cluster = MiniOzoneCluster.newBuilder(conf)
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestBCSID.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestBCSID.java
index feed906807f..0c1292d3a70 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestBCSID.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestBCSID.java
@@ -67,7 +67,6 @@ public static void init() throws Exception {
TimeUnit.MILLISECONDS);
conf.setTimeDuration(OZONE_SCM_STALENODE_INTERVAL, 3, TimeUnit.SECONDS);
conf.setTimeDuration(HDDS_HEARTBEAT_INTERVAL, 200, TimeUnit.MILLISECONDS);
- conf.setQuietMode(false);
conf.setBoolean(HDDS_SCM_SAFEMODE_PIPELINE_CREATION, false);
cluster =
MiniOzoneCluster.newBuilder(conf).setNumDatanodes(1)
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestBlockDataStreamOutput.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestBlockDataStreamOutput.java
index 95ef5ebe8b2..ea03014c6bf 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestBlockDataStreamOutput.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestBlockDataStreamOutput.java
@@ -97,7 +97,6 @@ static MiniOzoneCluster createCluster() throws IOException,
conf.setTimeDuration(OZONE_SCM_STALENODE_INTERVAL, 3, TimeUnit.SECONDS);
conf.setTimeDuration(OZONE_SCM_DEADNODE_INTERVAL, 6, TimeUnit.SECONDS);
- conf.setQuietMode(false);
conf.setStorageSize(OZONE_SCM_BLOCK_SIZE, 4, StorageUnit.MB);
conf.setInt(OZONE_DATANODE_PIPELINE_LIMIT, 3);
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestBlockOutputStream.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestBlockOutputStream.java
index a525573a5cb..7feac1307eb 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestBlockOutputStream.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestBlockOutputStream.java
@@ -94,7 +94,6 @@ static MiniOzoneCluster createCluster(int datanodes) throws
IOException,
conf.setTimeDuration(OZONE_SCM_STALENODE_INTERVAL, 3, TimeUnit.SECONDS);
conf.setTimeDuration(OZONE_SCM_DEADNODE_INTERVAL, 6, TimeUnit.SECONDS);
- conf.setQuietMode(false);
conf.setStorageSize(OZONE_SCM_BLOCK_SIZE, 4, StorageUnit.MB);
conf.setInt(OZONE_DATANODE_PIPELINE_LIMIT, 3);
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestClientRetryContainerStateMachineFailures.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestClientRetryContainerStateMachineFailures.java
index 0b2d38e341f..49dd04cfbfd 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestClientRetryContainerStateMachineFailures.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestClientRetryContainerStateMachineFailures.java
@@ -96,7 +96,6 @@ public void init() throws Exception {
conf.setFromObject(raftClientConfig);
conf.setLong(OzoneConfigKeys.HDDS_RATIS_SNAPSHOT_THRESHOLD_KEY, 1);
- conf.setQuietMode(false);
cluster = MiniOzoneCluster.newBuilder(conf).setNumDatanodes(3).build();
cluster.waitForClusterToBeReady();
cluster.waitForPipelineTobeReady(HddsProtos.ReplicationFactor.ONE, 60000);
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestContainerReplicationEndToEnd.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestContainerReplicationEndToEnd.java
index a1f7a02a1c0..3c1a5b33cd6 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestContainerReplicationEndToEnd.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestContainerReplicationEndToEnd.java
@@ -105,7 +105,6 @@ public static void init() throws Exception {
conf.setInt(ScmConfigKeys.OZONE_SCM_RATIS_PIPELINE_LIMIT, 6);
conf.setTimeDuration(HDDS_HEARTBEAT_INTERVAL, 200, TimeUnit.MILLISECONDS);
- conf.setQuietMode(false);
cluster =
MiniOzoneCluster.newBuilder(conf).setNumDatanodes(4)
.build();
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestContainerStateMachine.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestContainerStateMachine.java
index 95bf599bde8..a9e81392d2a 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestContainerStateMachine.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestContainerStateMachine.java
@@ -87,7 +87,6 @@ public void setup() throws Exception {
conf.setTimeDuration(HDDS_COMMAND_STATUS_REPORT_INTERVAL, 200,
TimeUnit.MILLISECONDS);
conf.setTimeDuration(OZONE_SCM_STALENODE_INTERVAL, 3, TimeUnit.SECONDS);
- conf.setQuietMode(false);
OzoneManager.setTestSecureOmFlag(true);
conf.setLong(OzoneConfigKeys.HDDS_RATIS_SNAPSHOT_THRESHOLD_KEY, 1);
conf.set(OzoneConfigKeys.OZONE_SCM_CLOSE_CONTAINER_WAIT_DURATION, "2s");
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestContainerStateMachineFailureOnRead.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestContainerStateMachineFailureOnRead.java
index 63fa06df861..43684d2b5e9 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestContainerStateMachineFailureOnRead.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestContainerStateMachineFailureOnRead.java
@@ -112,7 +112,6 @@ public void setup() throws Exception {
ratisClientConfig.setWatchRequestTimeout(Duration.ofSeconds(30));
conf.setFromObject(ratisClientConfig);
- conf.setQuietMode(false);
cluster = MiniOzoneCluster.newBuilder(conf)
.setNumDatanodes(3)
.build();
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestContainerStateMachineFailures.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestContainerStateMachineFailures.java
index 0fa6dcfc0ed..33e0e846613 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestContainerStateMachineFailures.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestContainerStateMachineFailures.java
@@ -166,7 +166,6 @@ public static void init() throws Exception {
conf.setFromObject(raftClientConfig);
conf.setLong(OzoneConfigKeys.HDDS_RATIS_SNAPSHOT_THRESHOLD_KEY, 1);
- conf.setQuietMode(false);
cluster =
MiniOzoneCluster.newBuilder(conf).setNumDatanodes(10)
.build();
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestContainerStateMachineFlushDelay.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestContainerStateMachineFlushDelay.java
index fb22f37e82c..24f48d90913 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestContainerStateMachineFlushDelay.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestContainerStateMachineFlushDelay.java
@@ -86,7 +86,6 @@ public void setup() throws Exception {
TimeUnit.MILLISECONDS);
conf.setTimeDuration(HDDS_HEARTBEAT_INTERVAL, 200, TimeUnit.MILLISECONDS);
conf.setTimeDuration(OZONE_SCM_STALENODE_INTERVAL, 3, TimeUnit.SECONDS);
- conf.setQuietMode(false);
OzoneManager.setTestSecureOmFlag(true);
conf.setLong(OzoneConfigKeys.HDDS_RATIS_SNAPSHOT_THRESHOLD_KEY, 1);
// conf.set(HADOOP_SECURITY_AUTHENTICATION, KERBEROS.toString());
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestDeleteWithInAdequateDN.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestDeleteWithInAdequateDN.java
index 0a1718bb426..b9e6e8aa02d 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestDeleteWithInAdequateDN.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestDeleteWithInAdequateDN.java
@@ -147,7 +147,6 @@ public static void init() throws Exception {
ratisClientConfig.setWatchRequestTimeout(Duration.ofSeconds(30));
conf.setFromObject(ratisClientConfig);
- conf.setQuietMode(false);
cluster = MiniOzoneCluster.newBuilder(conf)
.setNumDatanodes(numOfDatanodes)
.build();
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestECKeyOutputStream.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestECKeyOutputStream.java
index d8ddc20931c..108a026c760 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestECKeyOutputStream.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestECKeyOutputStream.java
@@ -123,7 +123,6 @@ private static void initConf(OzoneConfiguration
configuration) {
configuration.setTimeDuration(
"hdds.ratis.raft.server.notification.no-leader.timeout", 300,
TimeUnit.SECONDS);
- configuration.setQuietMode(false);
configuration.setStorageSize(OzoneConfigKeys.OZONE_SCM_BLOCK_SIZE, 4,
StorageUnit.MB);
configuration.setTimeDuration(HddsConfigKeys.HDDS_HEARTBEAT_INTERVAL, 500,
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestFailureHandlingByClient.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestFailureHandlingByClient.java
index 4cc79a04cad..8484bd114b7 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestFailureHandlingByClient.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestFailureHandlingByClient.java
@@ -138,7 +138,6 @@ public void init() throws Exception {
conf.setBoolean("ozone.client.stream.buffer.flush.delay", false);
- conf.setQuietMode(false);
conf.setClass(NET_TOPOLOGY_NODE_SWITCH_MAPPING_IMPL_KEY,
StaticMapping.class, DNSToSwitchMapping.class);
StaticMapping.addNodeToRack(NetUtils.normalizeHostNames(
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestFailureHandlingByClientFlushDelay.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestFailureHandlingByClientFlushDelay.java
index bebba9c0c30..cadce529081 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestFailureHandlingByClientFlushDelay.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestFailureHandlingByClientFlushDelay.java
@@ -109,7 +109,6 @@ private void init() throws Exception {
raftClientConfig.setRpcWatchRequestTimeout(Duration.ofSeconds(3));
conf.setFromObject(raftClientConfig);
- conf.setQuietMode(false);
conf.setClass(NET_TOPOLOGY_NODE_SWITCH_MAPPING_IMPL_KEY,
StaticMapping.class, DNSToSwitchMapping.class);
StaticMapping.addNodeToRack(NetUtils.normalizeHostNames(
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestMultiBlockWritesWithDnFailures.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestMultiBlockWritesWithDnFailures.java
index 5fdf7e49e36..ffb5aca7b98 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestMultiBlockWritesWithDnFailures.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestMultiBlockWritesWithDnFailures.java
@@ -97,7 +97,6 @@ private void startCluster(int datanodes) throws Exception {
1, TimeUnit.SECONDS);
conf.setInt(OZONE_DATANODE_PIPELINE_LIMIT, 2);
- conf.setQuietMode(false);
cluster = MiniOzoneCluster.newBuilder(conf)
.setNumDatanodes(datanodes)
.build();
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestOzoneClientRetriesOnExceptionFlushDelay.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestOzoneClientRetriesOnExceptionFlushDelay.java
index 2049bd20484..54671141b49 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestOzoneClientRetriesOnExceptionFlushDelay.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestOzoneClientRetriesOnExceptionFlushDelay.java
@@ -84,7 +84,6 @@ public void init() throws Exception {
conf.set(OzoneConfigKeys.OZONE_SCM_CLOSE_CONTAINER_WAIT_DURATION, "2s");
conf.set(ScmConfigKeys.OZONE_SCM_PIPELINE_SCRUB_INTERVAL, "2s");
conf.set(ScmConfigKeys.OZONE_SCM_PIPELINE_DESTROY_TIMEOUT, "5s");
- conf.setQuietMode(false);
ClientConfigForTesting.newBuilder(StorageUnit.BYTES)
.setBlockSize(BLOCK_SIZE)
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestOzoneClientRetriesOnExceptions.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestOzoneClientRetriesOnExceptions.java
index 54bc364d2af..635791dc80a 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestOzoneClientRetriesOnExceptions.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestOzoneClientRetriesOnExceptions.java
@@ -96,7 +96,6 @@ public void init() throws Exception {
conf.set(ScmConfigKeys.OZONE_SCM_PIPELINE_SCRUB_INTERVAL, "2s");
conf.set(ScmConfigKeys.OZONE_SCM_PIPELINE_DESTROY_TIMEOUT, "5s");
conf.set("hdds.scm.pipeline.choose.policy.impl",
RoundRobinPipelineChoosePolicy.class.getName());
- conf.setQuietMode(false);
ClientConfigForTesting.newBuilder(StorageUnit.BYTES)
.setBlockSize(BLOCK_SIZE)
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/read/InputStreamTests.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/read/InputStreamTests.java
index c16ca259e05..dc89adc6e05 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/read/InputStreamTests.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/read/InputStreamTests.java
@@ -76,7 +76,6 @@ private MiniOzoneCluster newCluster() throws Exception {
conf.setTimeDuration(OZONE_SCM_DEADNODE_INTERVAL, 6, TimeUnit.SECONDS);
conf.setInt(ScmConfigKeys.OZONE_DATANODE_PIPELINE_LIMIT, 1);
conf.setInt(ScmConfigKeys.OZONE_SCM_RATIS_PIPELINE_LIMIT, 5);
- conf.setQuietMode(false);
conf.setStorageSize(OzoneConfigKeys.OZONE_SCM_BLOCK_SIZE, 64,
StorageUnit.MB);
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/container/TestECContainerRecovery.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/container/TestECContainerRecovery.java
index 195b69d8014..6002079b8a9 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/container/TestECContainerRecovery.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/container/TestECContainerRecovery.java
@@ -121,7 +121,6 @@ public static void init() throws Exception {
conf.setTimeDuration(
"hdds.ratis.raft.server.notification.no-leader.timeout", 300,
TimeUnit.SECONDS);
- conf.setQuietMode(false);
conf.setStorageSize(OzoneConfigKeys.OZONE_SCM_BLOCK_SIZE, 4,
StorageUnit.MB);
conf.setTimeDuration(HddsConfigKeys.HDDS_HEARTBEAT_INTERVAL, 500,
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/container/common/statemachine/commandhandler/TestBlockDeletion.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/container/common/statemachine/commandhandler/TestBlockDeletion.java
index 02cdf6407a8..b2872f265a8 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/container/common/statemachine/commandhandler/TestBlockDeletion.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/container/common/statemachine/commandhandler/TestBlockDeletion.java
@@ -162,7 +162,6 @@ public void init() throws Exception {
100, TimeUnit.MILLISECONDS);
conf.setInt(OZONE_SCM_PIPELINE_OWNER_CONTAINER_COUNT, 100);
conf.setInt(ScmConfigKeys.OZONE_DATANODE_PIPELINE_LIMIT, 1);
- conf.setQuietMode(false);
conf.setTimeDuration("hdds.scm.replication.event.timeout", 2,
TimeUnit.SECONDS);
conf.setTimeDuration("hdds.scm.replication.event.timeout.datanode.offset",
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestKeyPurging.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestKeyPurging.java
index 0f1973cd41d..aa1d1e8baf7 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestKeyPurging.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestKeyPurging.java
@@ -65,7 +65,6 @@ public void setup() throws Exception {
TimeUnit.MILLISECONDS);
conf.setTimeDuration(HDDS_CONTAINER_REPORT_INTERVAL, 200,
TimeUnit.MILLISECONDS);
- conf.setQuietMode(false);
cluster = MiniOzoneCluster.newBuilder(conf)
.setNumDatanodes(3)
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/ozone/test/NonHATests.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/ozone/test/NonHATests.java
index 12095ad756c..546827f8cc3 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/ozone/test/NonHATests.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/ozone/test/NonHATests.java
@@ -56,8 +56,6 @@
import org.apache.hadoop.ozone.reconfig.TestDatanodeReconfiguration;
import org.apache.hadoop.ozone.reconfig.TestOmReconfiguration;
import org.apache.hadoop.ozone.reconfig.TestScmReconfiguration;
-import org.apache.hadoop.ozone.shell.TestOzoneDebugReplicasVerify;
-import org.apache.hadoop.ozone.shell.TestOzoneDebugShell;
import org.apache.hadoop.ozone.shell.TestReconfigShell;
import org.apache.hadoop.ozone.shell.TestReplicationConfigPreference;
import org.junit.jupiter.api.Nested;
@@ -382,14 +380,6 @@ public MiniOzoneCluster cluster() {
}
}
- @Nested
- class OzoneDebugShell extends TestOzoneDebugShell {
- @Override
- public MiniOzoneCluster cluster() {
- return getCluster();
- }
- }
-
@Nested
class ReconfigShell extends TestReconfigShell {
@Override
@@ -405,12 +395,4 @@ public MiniOzoneCluster cluster() {
return getCluster();
}
}
-
- @Nested
- class OzoneDebugReplicasVerify extends TestOzoneDebugReplicasVerify {
- @Override
- public MiniOzoneCluster cluster() {
- return getCluster();
- }
- }
}
diff --git a/hadoop-ozone/pom.xml b/hadoop-ozone/pom.xml
index 80524d94a8e..7d1ebb5454c 100644
--- a/hadoop-ozone/pom.xml
+++ b/hadoop-ozone/pom.xml
@@ -29,6 +29,7 @@
<module>cli-debug</module>
<module>cli-interactive</module>
<module>cli-local</module>
+ <module>cli-other</module>
<module>cli-repair</module>
<module>cli-shell</module>
<module>client</module>
@@ -41,9 +42,10 @@
<module>iceberg</module>
<module>insight</module>
<module>integration-test</module>
- <module>integration-test-all</module>
+ <module>integration-test-full-deps</module>
<module>integration-test-recon</module>
<module>integration-test-s3</module>
+ <module>integration-test-tools</module>
<module>interface-client</module>
<module>interface-storage</module>
<module>mini-cluster</module>
@@ -55,7 +57,6 @@
<module>recon-codegen</module>
<module>s3-secret-store</module>
<module>s3gateway</module>
- <module>tools</module>
<module>vapor</module>
</modules>
diff --git a/hadoop-ozone/tools/src/main/resources/webapps/freon/.gitkeep
b/hadoop-ozone/tools/src/main/resources/webapps/freon/.gitkeep
deleted file mode 100644
index 64853142e57..00000000000
--- a/hadoop-ozone/tools/src/main/resources/webapps/freon/.gitkeep
+++ /dev/null
@@ -1,17 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 4365d353e6c..84cd6fc2881 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1311,6 +1311,11 @@
<artifactId>ozone-cli-local</artifactId>
<version>${ozone.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.ozone</groupId>
+ <artifactId>ozone-cli-other</artifactId>
+ <version>${ozone.version}</version>
+ </dependency>
<dependency>
<groupId>org.apache.ozone</groupId>
<artifactId>ozone-cli-repair</artifactId>
@@ -1450,11 +1455,6 @@
<artifactId>ozone-s3gateway</artifactId>
<version>${ozone.version}</version>
</dependency>
- <dependency>
- <groupId>org.apache.ozone</groupId>
- <artifactId>ozone-tools</artifactId>
- <version>${ozone.version}</version>
- </dependency>
<dependency>
<groupId>org.apache.ozone</groupId>
<artifactId>ozone-vapor</artifactId>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]