hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4304) Make FSEditLogOp.MAX_OP_SIZE configurable
Date Tue, 11 Dec 2012 21:19:21 GMT

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

Colin Patrick McCabe commented on HDFS-4304:
--------------------------------------------

I don't think it should be configurable-- that way lies madness, as people mix and match configurations
and get all kinds of loading errors and incompatibilities.  I do think that it should be larger
than 1.5 MB-- perhaps a factor of 50 or 100 larger.  We should also fix the edit log output
logic so that oversized ops cause an error when they are being written, not later down the
line when they're being decoded.
                
> Make FSEditLogOp.MAX_OP_SIZE configurable
> -----------------------------------------
>
>                 Key: HDFS-4304
>                 URL: https://issues.apache.org/jira/browse/HDFS-4304
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 3.0.0, 2.0.3-alpha
>            Reporter: Todd Lipcon
>            Assignee: Colin Patrick McCabe
>
> Today we ran into an issue where a NN had logged a very large op, greater than the 1.5MB
MAX_OP_SIZE constant. In order to successfully load the edits, we had to patch with a larger
constant. This constant should be configurable so that we wouldn't have to recompile in these
odd cases. Additionally, I think the default should be bumped a bit higher, since it's only
a safeguard against OOME, and people tend to run NNs with multi-GB heaps.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message