hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haohui Mai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7158) Reduce the memory usage of WebImageViewer
Date Sat, 27 Sep 2014 00:21:34 GMT

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

Haohui Mai commented on HDFS-7158:

The main changes of the v0 patch are the following:

# Store the bytes in PB format directly in the memory instead of extracting out at the first
# Optimize the usage of INodeReference.
# Miscellaneous clean ups.

I've tested the code on a 3G fsimage, the peak heap usage of WebImageViewer reduces from 46G
to 7G.

> Reduce the memory usage of WebImageViewer
> -----------------------------------------
>                 Key: HDFS-7158
>                 URL: https://issues.apache.org/jira/browse/HDFS-7158
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Haohui Mai
>            Assignee: Haohui Mai
>         Attachments: HDFS-7158.000.patch
> Currently the webimageviewer can take up as much memory as the NN uses in order to serve
the WebHDFS requests from the client.
> This jira proposes to optimize the memory usage of webimageviewer.

This message was sent by Atlassian JIRA

View raw message