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

Daryn Sharp commented on HDFS-12386:
------------------------------------

Most webhdfs methods, with the exception of a few recently added methods, pass 
the raw decoded json map to the utils methods.  The util method, not the 
caller, extracts the map for the class.  I'd prefer the original pattern since 
it allows the flexibility for responses to contain additional top level keys 
beyond the class key.

+1 after that minor tweak.

> Add fsserver defaults call to WebhdfsFileSystem.
> ------------------------------------------------
>
>                 Key: HDFS-12386
>                 URL: https://issues.apache.org/jira/browse/HDFS-12386
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: webhdfs
>            Reporter: Rushabh S Shah
>            Assignee: Rushabh S Shah
>            Priority: Minor
>         Attachments: HDFS-12386-1.patch, HDFS-12386-2.patch, 
> HDFS-12386-3.patch, HDFS-12386-4.patch, HDFS-12386-5.patch, HDFS-12386.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to