[
https://issues.apache.org/jira/browse/HDDS-1263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vivek Ratnavel Subramanian updated HDDS-1263:
---------------------------------------------
Description:
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.
was:
Steps to reproduce
# Create two containers
ozone scmcli create
ozone scmcli create
# Try to list containers
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
}
There is no way to list the container with containerID 1.
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]