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 75f32a1383f HDDS-13720. Move OzoneFsShell to ozone-tools (#9078)
75f32a1383f is described below
commit 75f32a1383f65880f1977d4f762d69bdf3c82543
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Tue Sep 30 11:25:33 2025 +0200
HDDS-13720. Move OzoneFsShell to ozone-tools (#9078)
---
hadoop-hdds/hadoop-dependency-client/pom.xml | 5 ++++-
hadoop-ozone/tools/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 | 21 +++++++++++++++++++++
.../apache/hadoop/fs/ozone/TestOzoneFsShell.java | 0
6 files changed, 31 insertions(+), 1 deletion(-)
diff --git a/hadoop-hdds/hadoop-dependency-client/pom.xml
b/hadoop-hdds/hadoop-dependency-client/pom.xml
index b3245ec992d..747518f7960 100644
--- a/hadoop-hdds/hadoop-dependency-client/pom.xml
+++ b/hadoop-hdds/hadoop-dependency-client/pom.xml
@@ -88,7 +88,10 @@
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
</exclusion>
- <!-- commons-cli is required by OzoneFsShell -->
+ <exclusion>
+ <groupId>commons-cli</groupId>
+ <artifactId>commons-cli</artifactId>
+ </exclusion>
<exclusion>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
diff --git a/hadoop-ozone/tools/pom.xml b/hadoop-ozone/tools/pom.xml
index 195ae6ef085..0d0262fd243 100644
--- a/hadoop-ozone/tools/pom.xml
+++ b/hadoop-ozone/tools/pom.xml
@@ -230,6 +230,12 @@
<artifactId>metainf-services</artifactId>
<scope>provided</scope>
</dependency>
+ <dependency>
+ <!-- commons-cli is required by OzoneFsShell -->
+ <groupId>commons-cli</groupId>
+ <artifactId>commons-cli</artifactId>
+ <scope>runtime</scope>
+ </dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
diff --git
a/hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/OzoneFsDelete.java
b/hadoop-ozone/tools/src/main/java/org/apache/hadoop/fs/ozone/OzoneFsDelete.java
similarity index 100%
rename from
hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/OzoneFsDelete.java
rename to
hadoop-ozone/tools/src/main/java/org/apache/hadoop/fs/ozone/OzoneFsDelete.java
diff --git
a/hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/OzoneFsShell.java
b/hadoop-ozone/tools/src/main/java/org/apache/hadoop/fs/ozone/OzoneFsShell.java
similarity index 100%
rename from
hadoop-ozone/ozonefs-common/src/main/java/org/apache/hadoop/fs/ozone/OzoneFsShell.java
rename to
hadoop-ozone/tools/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/tools/src/main/java/org/apache/hadoop/fs/ozone/package-info.java
new file mode 100644
index 00000000000..f82ea98d2d8
--- /dev/null
+++
b/hadoop-ozone/tools/src/main/java/org/apache/hadoop/fs/ozone/package-info.java
@@ -0,0 +1,21 @@
+/*
+ * 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.
+ */
+
+/**
+ * Customizations for Hadoop FS CLI.
+ */
+package org.apache.hadoop.fs.ozone;
diff --git
a/hadoop-ozone/ozonefs-common/src/test/java/org/apache/hadoop/fs/ozone/TestOzoneFsShell.java
b/hadoop-ozone/tools/src/test/java/java/org/apache/hadoop/fs/ozone/TestOzoneFsShell.java
similarity index 100%
rename from
hadoop-ozone/ozonefs-common/src/test/java/org/apache/hadoop/fs/ozone/TestOzoneFsShell.java
rename to
hadoop-ozone/tools/src/test/java/java/org/apache/hadoop/fs/ozone/TestOzoneFsShell.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]