hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kihwal Lee (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3696) Create files with WebHdfsFileSystem goes OOM when file size is big
Date Wed, 25 Jul 2012 21:42:35 GMT

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

Kihwal Lee commented on HDFS-3696:
----------------------------------

bq. I tried several chunk sizes for writing 300MB files. 32kB was the best in my test.

Any idea why it performed best at 32KB? 

bq. Kihwal do you want to run some tests with this patch as well?

I think it's okay if the memory consumption is under control. All I did was a simple put.
                
> Create files with WebHdfsFileSystem goes OOM when file size is big
> ------------------------------------------------------------------
>
>                 Key: HDFS-3696
>                 URL: https://issues.apache.org/jira/browse/HDFS-3696
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha
>            Reporter: Kihwal Lee
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Critical
>             Fix For: 0.23.3, 3.0.0, 2.2.0-alpha
>
>         Attachments: h3696_20120724.patch
>
>
> When doing "fs -put" to a WebHdfsFileSystem (webhdfs://), the FsShell goes OOM if the
file size is large. When I tested, 20MB files were fine, but 200MB didn't work.  
> I also tried reading a large file by issuing "-cat" and piping to a slow sink in order
to force buffering. The read path didn't have this problem. The memory consumption stayed
the same regardless of progress.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message