cxorm commented on a change in pull request #385: HDDS-2779. Fix list volume
for --start parameter
URL: https://github.com/apache/hadoop-ozone/pull/385#discussion_r360789909
##########
File path:
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/ObjectStore.java
##########
@@ -299,11 +299,6 @@ public URI getKeyProviderUri() throws IOException {
@Override
public boolean hasNext() {
- if(!currentIterator.hasNext()) {
- currentIterator = getNextListOfVolumes(
- currentValue != null ? currentValue.getName() : null)
- .iterator();
- }
Review comment:
Thanks @nandakumar131 for this important info.
I deleted the block cause it would lead infinitely loop when I test
```listVolumes``` on my cluster.
I'm going to fix it. (without deleting it.)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]