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

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

[~tasanuma], isn't that what's in [^HDFS-15214.004.patch]?
{code}
443         if (m.get("snapshotLength") != null) {
444           long snapshotLength = ((Number) 
m.get("snapshotLength")).longValue();
445           builder.snapshotLength(snapshotLength);
446         }
447         if (m.get("snapshotFileCount") != null) {
448           long snapshotFileCount =
449               ((Number) m.get("snapshotFileCount")).longValue();
450           builder.snapshotFileCount(snapshotFileCount);
451         }
452         if (m.get("snapshotFileCount") != null) {
453           long snapshotDirectoryCount =
454               ((Number) m.get("snapshotDirectoryCount")).longValue();
455           builder.snapshotDirectoryCount(snapshotDirectoryCount);
456         }
457         if (m.get("snapshotFileCount") != null) {
458           long snapshotSpaceConsumed =
459               ((Number) m.get("snapshotSpaceConsumed")).longValue();
460           builder.snapshotSpaceConsumed(snapshotSpaceConsumed);
461         }
{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: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to