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

Takanobu Asanuma commented on HDFS-15214:
-----------------------------------------

Thanks for the patch, [~hemanthboyina].

The if-clauses should be fixed as follows?

{code:java}
if (m.get("snapshotLength") != null) {
  ...
}
if (m.get("snapshotFileCount") != null) {
  ...
}
if (m.get("snapshotDirectoryCount") != null) {
  ...
}
if (m.get("snapshotSpaceConsumed") != null) {
  ...
}
{code}

> WebHDFS: Add snapshot counts to Content Summary
> -----------------------------------------------
>
>                 Key: HDFS-15214
>                 URL: https://issues.apache.org/jira/browse/HDFS-15214
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: hemanthboyina
>            Assignee: hemanthboyina
>            Priority: Major
>         Attachments: HDFS-15214.001.patch, HDFS-15214.002.patch, 
> HDFS-15214.003.patch, HDFS-15214.004.patch
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to