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

Keith Turner commented on ACCUMULO-466:
---------------------------------------

Could also make the Accumulo file output format do something similar.  It would 
throw an error if you try to write a really large key.  If the user really 
wants to do this, they can configure the output format to accept larger keys.

Should this be a 1.5 fix?
                
> add a default constraint to limit the size of keys
> --------------------------------------------------
>
>                 Key: ACCUMULO-466
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-466
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: master
>            Reporter: Eric Newton
>            Assignee: Eric Newton
>             Fix For: 1.4.2
>
>
> If a user mistakenly inserts extremely large keys, the tablet server will 
> eventually run out of memory just loading indexes.  This is almost certainly 
> a mistake.  Add a constraint, by default, to new tables, which will limit the 
> size of a key to a megabyte, for example, to catch these kinds of errors 
> earlier.  If the user intends to use very large keys, they can always remove 
> the constraint.

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