accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Medinets (JIRA)" <>
Subject [jira] [Created] (ACCUMULO-1877) ClassNotFoundException: DefaultKeySizeConstraint
Date Mon, 11 Nov 2013 03:45:17 GMT
David Medinets created ACCUMULO-1877:

             Summary: ClassNotFoundException: DefaultKeySizeConstraint
                 Key: ACCUMULO-1877
             Project: Accumulo
          Issue Type: Bug
    Affects Versions: 1.5.0
         Environment: Ubuntu 12.04, Hadoop 1.2.1, Zookeeper 3.4.3
            Reporter: David Medinets
            Priority: Minor

I created an accumulo cluster using on
VirtualBox. Then created a client program using
This simple program threw an exception:

Exception in thread "main" org.apache.accumulo.core.client.MutationsRejectedException: # constraint
violations : 1  security codes: []  # server errors 0 # exceptions 0
	at org.apache.accumulo.core.client.impl.TabletServerBatchWriter.checkForFailures(
	at org.apache.accumulo.core.client.impl.TabletServerBatchWriter.close(
	at org.apache.accumulo.core.client.impl.BatchWriterImpl.close(
	at com.affy.UserAndFriendsDriver.main(

On the server side, I see this exception in the Accumulo monitor:

Failed to load constraints 2 java.lang.ClassNotFoundException: org.apache.accumulo.core.constraints.DefaultKeySizeConstraint
	java.lang.ClassNotFoundException: org.apache.accumulo.core.constraints.DefaultKeySizeConstraint
		at org.apache.commons.vfs2.impl.VFSClassLoader.findClass(
		at java.lang.ClassLoader.loadClass(
		at java.lang.ClassLoader.loadClass(
		at org.apache.accumulo.server.constraints.ConstraintChecker.<init>(
		at org.apache.accumulo.server.tabletserver.Tablet.checkConstraints(
		at org.apache.accumulo.server.tabletserver.TabletServer$
		at org.apache.accumulo.server.util.time.SimpleTimer$
		at java.util.TimerThread.mainLoop(

When I delete the log message, it reappears even though I do not re-run the client program.

I don't see any reference to DefaultKeySizeConstraint in the Accumulo 1.5.0 source code that
I have.

Any ideas why this exception is thrown?

This message was sent by Atlassian JIRA

View raw message