Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8BF2D1120B for ; Tue, 10 Jun 2014 14:50:02 +0000 (UTC) Received: (qmail 8956 invoked by uid 500); 10 Jun 2014 14:50:02 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 8922 invoked by uid 500); 10 Jun 2014 14:50:02 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 8888 invoked by uid 99); 10 Jun 2014 14:50:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jun 2014 14:50:02 +0000 Date: Tue, 10 Jun 2014 14:50:02 +0000 (UTC) From: "Josh Elser (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (ACCUMULO-1877) ClassNotFoundException: DefaultKeySizeConstraint MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-1877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Josh Elser resolved ACCUMULO-1877. ---------------------------------- Resolution: Cannot Reproduce Please re-open if you still have a problem. > ClassNotFoundException: DefaultKeySizeConstraint > ------------------------------------------------ > > Key: ACCUMULO-1877 > URL: https://issues.apache.org/jira/browse/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 https://github.com/medined/Accumulo_1_5_0_By_Vagrant on VirtualBox. Then created a client program using https://github.com/medined/user_and_friends. 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(TabletServerBatchWriter.java:536) > at org.apache.accumulo.core.client.impl.TabletServerBatchWriter.close(TabletServerBatchWriter.java:353) > at org.apache.accumulo.core.client.impl.BatchWriterImpl.close(BatchWriterImpl.java:52) > at com.affy.UserAndFriendsDriver.main(UserAndFriendsDriver.java:67) > 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(VFSClassLoader.java:175) > at java.lang.ClassLoader.loadClass(ClassLoader.java:321) > at java.lang.ClassLoader.loadClass(ClassLoader.java:266) > at org.apache.accumulo.server.constraints.ConstraintChecker.(ConstraintChecker.java:63) > at org.apache.accumulo.server.tabletserver.Tablet.checkConstraints(Tablet.java:2522) > at org.apache.accumulo.server.tabletserver.TabletServer$6.run(TabletServer.java:3116) > at org.apache.accumulo.server.util.time.SimpleTimer$LoggingTimerTask.run(SimpleTimer.java:42) > at java.util.TimerThread.mainLoop(Timer.java:534) > at java.util.TimerThread.run(Timer.java:484) > 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 (v6.2#6252)