Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A7AC7D456 for ; Tue, 19 Jun 2012 13:13:43 +0000 (UTC) Received: (qmail 89870 invoked by uid 500); 19 Jun 2012 13:13:43 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 89809 invoked by uid 500); 19 Jun 2012 13:13:43 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 89698 invoked by uid 99); 19 Jun 2012 13:13:43 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jun 2012 13:13:43 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 1EC3D14285F for ; Tue, 19 Jun 2012 13:13:43 +0000 (UTC) Date: Tue, 19 Jun 2012 13:13:43 +0000 (UTC) From: "Kristopher Blair (JIRA)" To: dev@accumulo.apache.org Message-ID: <690427706.29547.1340111623128.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (ACCUMULO-180) Missing zookeeper jar dependency in lib/ 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-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396749#comment-13396749 ] Kristopher Blair commented on ACCUMULO-180: ------------------------------------------- yes > Missing zookeeper jar dependency in lib/ > ---------------------------------------- > > Key: ACCUMULO-180 > URL: https://issues.apache.org/jira/browse/ACCUMULO-180 > Project: Accumulo > Issue Type: Bug > Affects Versions: 1.4.0, 1.3.5 > Reporter: Minh Duc Nguyen > Assignee: John Vines > Priority: Minor > > When running bin/accumulo init, an exception is thrown. A fix is adding the zookeeper.jar (version 3.0+?) in lib/. Here is the stack trace: > Thread "init" died null > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.accumulo.start.Main$1.run(Main.java:89) > at java.lang.Thread.run(Thread.java:662) > Caused by: java.lang.NoClassDefFoundError: org/apache/zookeeper/KeeperException > at org.apache.accumulo.server.util.Initialize.getInstanceNamePath(Initialize.java:330) > at org.apache.accumulo.server.util.Initialize.doInit(Initialize.java:122) > at org.apache.accumulo.server.util.Initialize.main(Initialize.java:402) > ... 6 more > Caused by: java.lang.ClassNotFoundException: org.apache.zookeeper.KeeperException > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > ... 9 more > Exception in thread "init" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException > at org.apache.accumulo.start.Main$1.run(Main.java:93) > at java.lang.Thread.run(Thread.java:662) > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.accumulo.start.Main$1.run(Main.java:89) > ... 1 more > Caused by: java.lang.NoClassDefFoundError: org/apache/zookeeper/KeeperException > at org.apache.accumulo.server.util.Initialize.getInstanceNamePath(Initialize.java:330) > at org.apache.accumulo.server.util.Initialize.doInit(Initialize.java:122) > at org.apache.accumulo.server.util.Initialize.main(Initialize.java:402) > ... 6 more > Caused by: java.lang.ClassNotFoundException: org.apache.zookeeper.KeeperException > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > ... 9 more -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira