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 556598960e6 HDDS-15367. Shell completion knows too few commands
(#10360)
556598960e6 is described below
commit 556598960e6fccaaabf03d589e0d968cec806fff
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Wed May 27 08:18:49 2026 +0200
HDDS-15367. Shell completion knows too few commands (#10360)
---
hadoop-ozone/dist/pom.xml | 7 +++++++
hadoop-ozone/dist/src/shell/ozone/ozone | 3 ++-
pom.xml | 2 +-
3 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/hadoop-ozone/dist/pom.xml b/hadoop-ozone/dist/pom.xml
index 13dfc6a9e4c..108ca1deb69 100644
--- a/hadoop-ozone/dist/pom.xml
+++ b/hadoop-ozone/dist/pom.xml
@@ -24,6 +24,7 @@
<packaging>jar</packaging>
<name>Apache Ozone Distribution</name>
<properties>
+ <classpath.skip>false</classpath.skip>
<!-- Hadoop Docker image for current version; multi-arch Hadoop only
available from ghcr.io currently -->
<docker.hadoop.image>ghcr.io/apache/hadoop</docker.hadoop.image>
<!-- suffix appended to Hadoop version to get Docker image version -->
@@ -40,6 +41,7 @@
<maven.test.skip>true</maven.test.skip>
<!-- rpm usage-->
<rpm.needArch>true</rpm.needArch>
+ <spotbugs.skip>true</spotbugs.skip>
</properties>
<dependencies>
@@ -160,6 +162,11 @@
<artifactId>ozone-vapor</artifactId>
<scope>runtime</scope>
</dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-reload4j</artifactId>
+ <scope>runtime</scope>
+ </dependency>
</dependencies>
<build>
diff --git a/hadoop-ozone/dist/src/shell/ozone/ozone
b/hadoop-ozone/dist/src/shell/ozone/ozone
index d969c8e3d02..71d6c738316 100755
--- a/hadoop-ozone/dist/src/shell/ozone/ozone
+++ b/hadoop-ozone/dist/src/shell/ozone/ozone
@@ -104,7 +104,7 @@ function ozonecmd_case
;;
completion)
OZONE_CLASSNAME=org.apache.hadoop.ozone.utils.AutoCompletion;
- OZONE_RUN_ARTIFACT_NAME="ozone-tools"
+ OZONE_RUN_ARTIFACT_NAME="ozone-dist"
;;
datanode)
OZONE_SUBCMD_SUPPORTDAEMONIZATION="true"
@@ -287,6 +287,7 @@ function check_running_ozone_services
function ozone_suppress_shell_log
{
if [[ "${OZONE_RUN_ARTIFACT_NAME}" =~ ozone-cli-.* ]] \
+ || [[ "${OZONE_RUN_ARTIFACT_NAME}" == "ozone-dist" ]] \
|| [[ "${OZONE_RUN_ARTIFACT_NAME}" == "ozone-tools" ]]; then
if [[ -z "${OZONE_ORIGINAL_LOGLEVEL}" ]] \
&& [[ -z "${OZONE_ORIGINAL_ROOT_LOGGER}" ]]; then
diff --git a/pom.xml b/pom.xml
index b19b1f795db..ef0168c9de1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2254,7 +2254,7 @@
<goals>
<goal>build-classpath</goal>
</goals>
- <phase>prepare-package</phase>
+ <phase>generate-resources</phase>
<configuration>
<outputFile>${project.build.outputDirectory}/${project.artifactId}.classpath</outputFile>
<prefix>$HDDS_LIB_JARS_DIR</prefix>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]