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

Íñigo Goiri commented on HDFS-14215:
------------------------------------

Thanks for  [^HDFS-14215-HDFS-13891-03.patch]. Minor nits:
* Check {{isEmpty()}} instead of {{size() == 0}}.
* Extract the first element of the iterator for readability.

> RBF: GetServerDefaults and GetStoragePolicies are dependent on Availability 
> of Default NS
> -----------------------------------------------------------------------------------------
>
>                 Key: HDFS-14215
>                 URL: https://issues.apache.org/jira/browse/HDFS-14215
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>         Attachments: HDFS-14215-HDFS-13891-01.patch, 
> HDFS-14215-HDFS-13891-02.patch, HDFS-14215-HDFS-13891-03.patch
>
>
> GetServerDefaults and GetStoragePolicies fetches from Default NS.Thus is 
> dependent on the availability of Default NS.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to