diff --git a/hadoop-hdds/pom.xml b/hadoop-hdds/pom.xml index 581dce04c23..0e87c2cc8db 100644 --- a/hadoop-hdds/pom.xml +++ b/hadoop-hdds/pom.xml @@ -239,7 +239,7 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd"> info.picocli picocli - 3.5.2 + 3.9.6 com.google.protobuf diff --git a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/ozShell/TestOzoneShell.java b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/ozShell/TestOzoneShell.java index 9c68ab1cec7..93a001977ac 100644 --- a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/ozShell/TestOzoneShell.java +++ b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/ozShell/TestOzoneShell.java @@ -631,7 +631,8 @@ public class TestOzoneShell { err.reset(); args = new String[] {"volume", "list", url + "/", "--user", user2, "--length", "invalid-length"}; - executeWithError(shell, args, "For input string: \"invalid-length\""); + executeWithError(shell, args, "Invalid value for option " + + "'--length': 'invalid-length' is not an int"); } @Test