[ https://issues.apache.org/jira/browse/HDDS-1263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bharat Viswanadham resolved HDDS-1263. -------------------------------------- Resolution: Fixed Fix Version/s: 0.5.0 Thank You [~vivekratnavel] for the contribution. I have committed this to the trunk. > SCM CLI does not list container with id 1 > ----------------------------------------- > > Key: HDDS-1263 > URL: https://issues.apache.org/jira/browse/HDDS-1263 > Project: Hadoop Distributed Data Store > Issue Type: Bug > Components: Ozone CLI > Affects Versions: 0.4.0 > Reporter: Vivek Ratnavel Subramanian > Assignee: Vivek Ratnavel Subramanian > Priority: Major > Labels: pull-request-available > Fix For: 0.5.0 > > Time Spent: 50m > Remaining Estimate: 0h > > Steps to reproduce > # Create two containers > {code:java} > ozone scmcli create > ozone scmcli create{code} > # Try to list containers > {code:java} > hadoop@7a73695402ae:~$ ozone scmcli list --start=0 > Container ID should be a positive long. 0 > hadoop@7a73695402ae:~$ ozone scmcli list --start=1 > { > "state" : "OPEN", > "replicationFactor" : "ONE", > "replicationType" : "STAND_ALONE", > "usedBytes" : 0, > "numberOfKeys" : 0, > "lastUsed" : 274660388, > "stateEnterTime" : 274646481, > "owner" : "OZONE", > "containerID" : 2, > "deleteTransactionId" : 0, > "sequenceId" : 0, > "open" : true > }{code} > There is no way to list the container with containerID 1. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org