You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2019/11/22 09:54:00 UTC
[jira] [Commented] (HDDS-2610) Fix the ObjectStore#listVolumes
failure when argument is null
[ https://issues.apache.org/jira/browse/HDDS-2610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16980022#comment-16980022 ]
Attila Doroszlai commented on HDDS-2610:
----------------------------------------
Hi [~cxorm], I think the link in the description is not the right one, as the method's parameter is {{volumePrefix}}, not related to {{userName}}. This one seems to better indicate to mismatch in behavior: [VolumeManager#listVolumes|https://github.com/apache/hadoop-ozone/blob/a731eeaa9ed0d1faecda3665b599145316300101/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/VolumeManager.java#L84-L101]
> Fix the ObjectStore#listVolumes failure when argument is null
> -------------------------------------------------------------
>
> Key: HDDS-2610
> URL: https://issues.apache.org/jira/browse/HDDS-2610
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Reporter: YiSheng Lien
> Assignee: YiSheng Lien
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> As the description of the [listVolumes|https://github.com/apache/hadoop-ozone/blob/master/hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/ObjectStore.java#L218], we would list all volumes when setting the argument null.
> But now it throws OMException by underlying method.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org