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

Anu Engineer commented on HDFS-8695:
------------------------------------

bq.  One comment - handleIOException looks out of place in 
BucketProcessTemplate. IIUC isn't that exception mapping specific to 
LocalStorageHandler? +1 otherwise.

The only assumption that handler makes about the lower layers is that it will 
either throw OzoneExceptions or it will throw IOExceptions. The Ozone error 
code mapping to specific IOException is based on our understanding of what the 
lower layer throws. However I would expect that even with OzoneHandler it is 
going to be similar, we can certainly make changes to the mapping in future if 
needed.





> OzoneHandler : Add Bucket REST Interface
> ----------------------------------------
>
>                 Key: HDFS-8695
>                 URL: https://issues.apache.org/jira/browse/HDFS-8695
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>            Reporter: Anu Engineer
>            Assignee: Anu Engineer
>         Attachments: hdfs-8695-HDFS-7240.001.patch, 
> hdfs-8695-HDFS-7240.002.patch, hdfs-8695-HDFS-7240.003.patch
>
>
> Add Bucket REST interface into Ozone server.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to