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

Eli Collins commented on HDFS-2946:
-----------------------------------

bq. I also changed the assert to instead throw an IOE, because I think that 
this error is important enough that it shouldn't require asserts be enabled to 
stop it.

Let's throw an AssertionError explicitly then.
                
> HA: Put a cap on the number of completed edits files retained by the NN
> -----------------------------------------------------------------------
>
>                 Key: HDFS-2946
>                 URL: https://issues.apache.org/jira/browse/HDFS-2946
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: ha, name-node
>    Affects Versions: 2.0.1-alpha
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>         Attachments: HDFS-2946.patch, HDFS-2946.patch
>
>
> HDFS-2794 added a minimum number of transactions to retain in edits files. 
> Since many underlying file systems put a cap on the number of entries in a 
> single directory, we should put a cap on the number of edits files which will 
> be retained by the NN.

--
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

Reply via email to