[ 
https://issues.apache.org/jira/browse/HDFS-11771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16026803#comment-16026803
 ] 

Anu Engineer commented on HDFS-11771:
-------------------------------------

one minor comment : Only small letters are valid in volume names.
{{Preconditions.checkState(volume.equalsIgnoreCase(volumeInfo.getVolume()));}}

This is specified in section 3.1 (Storage Volume APIs) in the ozone user doc. 
https://issues.apache.org/jira/secure/attachment/12799549/ozone_user_v0.pdf
You don't need to check this since the OzoneHandler already checks this.

> Ozone: KSM:  Add checkVolumeAccess
> ----------------------------------
>
>                 Key: HDFS-11771
>                 URL: https://issues.apache.org/jira/browse/HDFS-11771
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>    Affects Versions: HDFS-7240
>            Reporter: Anu Engineer
>            Assignee: Mukul Kumar Singh
>         Attachments: HDFS-11771-HDFS-7240.001.patch
>
>
> Checks if the caller has access to a given volume. This call supports the 
> ACLs specified in the ozone rest protocol documentation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to