This is an automated email from the ASF dual-hosted git repository.

ljain pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new cacf3d1  HDDS-2651 Make startId parameter non-mandatory while listing 
containers through shell command (#283)
cacf3d1 is described below

commit cacf3d1458d69aab8c1454ad8c82c3c5e36684f6
Author: nilotpalnandi <[email protected]>
AuthorDate: Tue Jan 7 17:51:30 2020 +0530

    HDDS-2651 Make startId parameter non-mandatory while listing containers 
through shell command (#283)
---
 .../java/org/apache/hadoop/hdds/scm/cli/container/ListSubcommand.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/hadoop-hdds/tools/src/main/java/org/apache/hadoop/hdds/scm/cli/container/ListSubcommand.java
 
b/hadoop-hdds/tools/src/main/java/org/apache/hadoop/hdds/scm/cli/container/ListSubcommand.java
index 5169c80..ce4610c 100644
--- 
a/hadoop-hdds/tools/src/main/java/org/apache/hadoop/hdds/scm/cli/container/ListSubcommand.java
+++ 
b/hadoop-hdds/tools/src/main/java/org/apache/hadoop/hdds/scm/cli/container/ListSubcommand.java
@@ -49,8 +49,8 @@ public class ListSubcommand implements Callable<Void> {
   private ContainerCommands parent;
 
   @Option(names = {"-s", "--start"},
-      description = "Container id to start the iteration", required = true)
-  private long startId = 1;
+      description = "Container id to start the iteration", required = false)
+  private long startId = 0;
 
   @Option(names = {"-c", "--count"},
       description = "Maximum number of containers to list",


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

Reply via email to