You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/05/07 04:39:18 UTC

[jira] [Commented] (ACCUMULO-466) add a default constraint to limit the size of keys

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

Hudson commented on ACCUMULO-466:
---------------------------------

Integrated in Accumulo-Trunk-Hadoop-2.0 #209 (See [https://builds.apache.org/job/Accumulo-Trunk-Hadoop-2.0/209/])
    ACCUMULO-466 commit Corey Nolet's patch to add a default constraint limit the size of keys (Revision 1478404)

     Result = SUCCESS
ecn : 
Files : 
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/constraints/DefaultKeySizeConstraint.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/iterators/IteratorUtil.java
* /accumulo/trunk/core/src/test/java/org/apache/accumulo/core/constraints
* /accumulo/trunk/core/src/test/java/org/apache/accumulo/core/constraints/DefaultKeySizeConstraintTest.java
* /accumulo/trunk/proxy/src/test/java/org/apache/accumulo/proxy/SimpleTest.java
* /accumulo/trunk/test/src/test/java/org/apache/accumulo/test/ShellServerTest.java
* /accumulo/trunk/test/src/test/java/org/apache/accumulo/test/TableOperationsIT.java

                
> 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: Corey J. Nolet
>             Fix For: 1.6.0
>
>         Attachments: ACCUMULO-466.1.patch
>
>
> 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