Return-Path: X-Original-To: apmail-incubator-accumulo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-accumulo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2A6789A75 for ; Sun, 11 Mar 2012 14:06:29 +0000 (UTC) Received: (qmail 89557 invoked by uid 500); 11 Mar 2012 14:06:29 -0000 Delivered-To: apmail-incubator-accumulo-dev-archive@incubator.apache.org Received: (qmail 89478 invoked by uid 500); 11 Mar 2012 14:06:29 -0000 Mailing-List: contact accumulo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: accumulo-dev@incubator.apache.org Delivered-To: mailing list accumulo-dev@incubator.apache.org Received: (qmail 89470 invoked by uid 99); 11 Mar 2012 14:06:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Mar 2012 14:06:29 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [206.112.75.239] (HELO iron-u-b-out.osis.gov) (206.112.75.239) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Mar 2012 14:06:21 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtoEALmwXE+sEAbx/2dsb2JhbABCtTmBD4IJAQEBAwESAmoLCwQHOyEBEwUdGSKHY50aCpwziUSHPQSVTIsrhHiCfw X-IronPort-AV: E=Sophos;i="4.73,566,1325480400"; d="scan'208";a="8716328" Received: from ghost-a.center.osis.gov (HELO mail-pz0-f47.google.com) ([172.16.6.241]) by iron-u-b-in.osis.gov with ESMTP/TLS/RC4-SHA; 11 Mar 2012 10:05:11 -0400 Received: by dado14 with SMTP id o14so3085372dad.6 for ; Sun, 11 Mar 2012 07:05:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.230.230 with SMTP id tb6mr15042294pbc.40.1331474758608; Sun, 11 Mar 2012 07:05:58 -0700 (PDT) Received: by 10.68.13.8 with HTTP; Sun, 11 Mar 2012 07:05:58 -0700 (PDT) Received: by 10.68.13.8 with HTTP; Sun, 11 Mar 2012 07:05:58 -0700 (PDT) In-Reply-To: References: Date: Sun, 11 Mar 2012 10:05:58 -0400 Message-ID: Subject: Re: "Waiting for accumulo to be initialized" message From: Adam Fuchs To: accumulo-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=047d7b339c8b03a79904baf820f4 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b339c8b03a79904baf820f4 Content-Type: text/plain; charset=ISO-8859-1 Accumulo thinks it is initialized because the instance.dfs.dir directory exists in hdfs. However, the zookeeper information is not there. Not sure how it got into this state. Did you delete the zookeeper files but leave the hdfs stuff from an old instance? To make progress, you can delete the old hdfs directory or choose a new instance.dfs.dir setting in accumulo-site.xml for your new instance, and re-initialize. Adam On Mar 11, 2012 9:39 AM, "David Medinets" wrote: > I'm working on a ubuntu laptop. After a shutdown, I need to restart > hadoop, zookeeper and accumulo. How does the information about an > existing accumulo get into the new zookeeper instance? I may not be > explaining this correctly. Let me describe the situation. > > 1. Hadoop is running. Both NameNode and JobTracker web pages are > working. I can also see the /accumulo and /hadoop_tmp_dir in hdfs. > > 2. Zookeeper is running. I can start the client, save a record, see > the record, and delete it. > > 3. bin/accumulo init claims this location was previously initialized. > > 11 09:28:32,366 [util.Initialize] INFO : Hadoop Filesystem is > hdfs://localhost:9000 > 11 09:28:32,369 [util.Initialize] INFO : Accumulo data dir is /accumulo > 11 09:28:32,369 [util.Initialize] INFO : Zookeeper server is > localhost:2181 > 11 09:28:32,462 [util.Initialize] FATAL: It appears this location > was previously initialized, exiting .. > > 4. Then I try to start accumulo: > > medined@bashi:~/accumulo-1.5.0-incubating-SNAPSHOT$ bin/start-all.sh > Starting tablet servers and loggers .... done > Starting tablet server on localhost > Starting logger on localhost > 11 09:34:45,970 [server.Accumulo] INFO : Attempting to talk to zookeeper > 11 09:34:46,699 [server.Accumulo] INFO : Waiting for accumulo to be > initialized > 11 09:34:47,700 [server.Accumulo] INFO : Waiting for accumulo to be > initialized > 11 09:34:48,701 [server.Accumulo] INFO : Waiting for accumulo to be > initialized > ^CStarting master on localhost > Starting garbage collector on localhost > Starting monitor on localhost > Starting tracer on localhost > > --- > > What am I doing wrong? Or not doing right? > --047d7b339c8b03a79904baf820f4--