Return-Path: X-Original-To: apmail-accumulo-user-archive@www.apache.org Delivered-To: apmail-accumulo-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 821F910CB2 for ; Thu, 17 Apr 2014 14:54:53 +0000 (UTC) Received: (qmail 47164 invoked by uid 500); 17 Apr 2014 14:54:50 -0000 Delivered-To: apmail-accumulo-user-archive@accumulo.apache.org Received: (qmail 47112 invoked by uid 500); 17 Apr 2014 14:54:49 -0000 Mailing-List: contact user-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@accumulo.apache.org Delivered-To: mailing list user@accumulo.apache.org Received: (qmail 47067 invoked by uid 99); 17 Apr 2014 14:54:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2014 14:54:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of josh.elser@gmail.com designates 209.85.216.169 as permitted sender) Received: from [209.85.216.169] (HELO mail-qc0-f169.google.com) (209.85.216.169) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2014 14:54:41 +0000 Received: by mail-qc0-f169.google.com with SMTP id i17so531802qcy.14 for ; Thu, 17 Apr 2014 07:54:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=S0J9bEt0ujs3YJgotS7PAitDGbYncBo2iCejq4padNo=; b=sA+3w+9Dihn/PRKKeJUR0CCUGzOIPKfTMCFmA5WEbo6TLQCrl4ufk254PC47ZyxPxH oxdP8w0xUcaQEyIZ5CzWpwnSxM0PhzL17W01J8NEY3ZebV1oVBRgmOv0PAHmzW6eL5Da iibItLfeSDynZG6OEV3DM20u+U3SUbXv5wz78u19FCHjuQDeXIJd/m7OiNWKrQhAsT65 +1eE8LzQleL51R6CDIozKGWGkq1q0rvxZRKGMhfTNcQ1wq4X9I3aFHsh+OqGXya8bwjF 4BwVpiydViGR59tcOcxbliAeSXM2fQUAV6BpJbT57Bgg+7WYWOVqjCxqkFqY/e4SHrZ/ Q7Lg== X-Received: by 10.224.14.77 with SMTP id f13mr13329307qaa.31.1397746459129; Thu, 17 Apr 2014 07:54:19 -0700 (PDT) Received: from HW10447.local (74-92-155-126-WashingtonDC.hfc.comcastbusiness.net. [74.92.155.126]) by mx.google.com with ESMTPSA id l89sm32970465qge.9.2014.04.17.07.54.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 17 Apr 2014 07:54:18 -0700 (PDT) Message-ID: <534FEB1A.7050101@gmail.com> Date: Thu, 17 Apr 2014 10:54:18 -0400 From: Josh Elser User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: user@accumulo.apache.org Subject: Re: Accumulo not starting anymore References: <534F04B9.7040301@gmail.com> <534F1786.50706@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Excellent. As long as you didn't have anything you needed to preserve, deleting the data and re-init'ing is definitely the easiest. I do quite a bit of work on OSX again these days -- you shouldn't have too many issues :) On 4/17/14, 10:44 AM, Geoffry Roberts wrote: > Firstly, thanks Josh. I forgot I reinstalled Zookeeper--it had been a > casualty of my OSX upgrade--and neglected to set the data path. I did > that, but Accumlo still wouldn't start. I then deleted the /ACCUMULO > directory in HDFS and did a re-init. That fixed it. Accumulo appears > to be running and Zookeeper is listing something that looks right. > > I think I'll declare victory--well see. > > > On Wed, Apr 16, 2014 at 7:51 PM, Josh Elser > wrote: > > Alright, well that's your problem! Your ZooKeeper is empty. Accumulo > uses the information it places in ZooKeeper to bootstrap and find > the data in HDFS. > > Are you sure you configured the ZooKeeper dataDir to be something > other than /tmp? In $ZOOKEEPER_HOME/conf/zoo.cfg, something like: > > dataDir=/var/lib/zookeeper/ > > > On 4/16/14, 7:21 PM, Geoffry Roberts wrote: > > Here's what I get: > > Listing from hdfs: > > > drwxr-xr-x - gcr supergroup 0 2014-04-15 11:42 > /accumulo/instance_id > > drwxr-xr-x - gcr supergroup 0 2014-04-15 13:11 > /accumulo/recovery > > drwxr-xr-x - gcr supergroup 0 2014-04-15 11:42 > /accumulo/tables > > drwxr-xr-x - gcr supergroup 0 2014-04-15 11:42 > /accumulo/version > > drwxr-xr-x - gcr supergroup 0 2014-04-15 11:43 > /accumulo/wal > > > Zookeeper shell: > > [zk: localhost:2181(CONNECTED) 0] ls /accumulo > > Node does not exist: /accumulo > > [zk: localhost:2181(CONNECTED) 1] ls /accumulo/instances > > Node does not exist: /accumulo/instances > > [zk: localhost:2181(CONNECTED) 2] > > > > > On Wed, Apr 16, 2014 at 6:31 PM, Josh Elser > > >> wrote: > > Are you sure ZooKeeper is running and wasn't wiped? > > See what kind of results come from `ls /accumulo` and `ls > /accumulo/instances` in the ZooKeeper shell > ($ZOOKEEPER_HOME/bin/zkCli.sh)____. '/accumulo' should be > non-empty, > > and you should see the instance name you provided when running > `accumulo init` inside '/accumulo/instances' > > > On 4/16/14, 4:15 PM, Geoffry Roberts wrote: > > All, > > Suddenly, Accumulo will no longer start. Log files are not > helpful. Is > there a way to troubleshoot this? > > The back story is I upgraded from OSX 10.7 to 10.9. > Everything was > working with 10.7. But with 10.9 Accumulo began to > complain of > insufficient file limits and recommended setting > maxfiles to 65536, > which I did. > > Hadoop starts -- version 2.3.0 > Zookeeper starts -- version 3.4.6 > Java -- version 1.7.55 > > I've included part of a log file just in case. > > Thanks mucho > > From: master_abend.home.debug.log > > t2014-04-16 15:59:07,250 [server.Accumulo] INFO : > master starting > 2014-04-16 15:59:07,251 [server.Accumulo] INFO : Instance > d9f3a06a-ef06-4860-a08d-____9cff805a9249 > > 2014-04-16 15:59:07,254 [server.Accumulo] INFO : Data > Version 5 > 2014-04-16 15:59:07,254 [server.Accumulo] INFO : > Attempting to > talk to > zookeeper > 2014-04-16 15:59:07,264 [zookeeper.ZooSession] DEBUG: > Connecting to > localhost:2181 with timeout 30000 with auth > 2014-04-16 15:59:07,271 [zookeeper.ZooKeeper] INFO : Client > environment:zookeeper.version=____3.4.6-1569965, built on > > 02/20/2014 09:09 GMT > 2014-04-16 15:59:07,271 [zookeeper.ZooKeeper] INFO : Client > environment:host.name > =abend.home > > 2014-04-16 15:59:07,271 [zookeeper.ZooKeeper] INFO : Client > environment:java.version=1.7.____0_55 > > 2014-04-16 15:59:07,271 [zookeeper.ZooKeeper] INFO : Client > environment:java.vendor=Oracle Corporation > 2014-04-16 15:59:07,271 [zookeeper.ZooKeeper] INFO : Client > > environment:java.home=/____Library/Java/____JavaVirtualMachines/jdk1.7.0_____55.jdk/Contents/Home/jre > > 2014-04-16 15:59:07,271 [zookeeper.ZooKeeper] INFO : Client > > environment:java.class.path=/____usr/local/accumulo/conf:/usr/____local/accumulo/lib/accumulo-____start.jar:/usr/local/hadoop/____share/hadoop/common/lib/__log4j-__1.2.17.jar > > 2014-04-16 15:59:07,271 [zookeeper.ZooKeeper] INFO : Client > > environment:java.library.path=____/usr/local/hadoop/lib/native > > 2014-04-16 15:59:07,271 [zookeeper.ZooKeeper] INFO : Client > > environment:java.io.tmpdir=/____var/folders/sb/____g6bpj4cd401c1sw566x2r41m0000gn____/T/ > > 2014-04-16 15:59:07,271 [zookeeper.ZooKeeper] INFO : Client > environment:java.compiler= > 2014-04-16 15:59:07,271 [zookeeper.ZooKeeper] INFO : Client > environment:os.name > =Mac OS X > > > 2014-04-16 15:59:07,271 [zookeeper.ZooKeeper] INFO : Client > environment:os.arch=x86_64 > 2014-04-16 15:59:07,271 [zookeeper.ZooKeeper] INFO : Client > environment:os.version=10.9.2 > 2014-04-16 15:59:07,271 [zookeeper.ZooKeeper] INFO : Client > environment:user.name > =gcr > > > 2014-04-16 15:59:07,271 [zookeeper.ZooKeeper] INFO : Client > environment:user.home=/Users/____gcr > > 2014-04-16 15:59:07,271 [zookeeper.ZooKeeper] INFO : Client > environment:user.dir=/Users/____gcr > > 2014-04-16 15:59:07,272 [zookeeper.ZooKeeper] INFO : > Initiating > client > connection, connectString=localhost:2181 > sessionTimeout=30000 > > watcher=org.apache.accumulo.____fate.zookeeper.ZooSession$____ZooWatcher@14731467 > > 2014-04-16 15:59:07,288 [zookeeper.ClientCnxn] INFO : > Opening socket > connection to server localhost/127.0.0.1:2181 > > . > > > Will not attempt to authenticate using SASL (unknown error) > 2014-04-16 15:59:07,289 [zookeeper.ClientCnxn] INFO : > Socket > connection > established to localhost/127.0.0.1:2181 > > , > > initiating session > 2014-04-16 15:59:07,294 [zookeeper.ClientCnxn] INFO : > Session > establishment complete on server > localhost/127.0.0.1:2181 > > , sessionid = 0x1456c089e9b0008, > negotiated > > timeout = 30000 > 2014-04-16 15:59:07,394 [watcher.MonitorLog4jWatcher] > INFO : Set > watch > for Monitor Log4j watcher > 2014-04-16 15:59:07,399 [server.Accumulo] INFO : > Waiting for > accumulo to > be initialized > 2014-04-16 15:59:08,401 [server.Accumulo] INFO : > Waiting for > accumulo to > be initialized > > -- > There are ways and there are ways, > > Geoffry Roberts > > > > > -- > There are ways and there are ways, > > Geoffry Roberts > > > > > -- > There are ways and there are ways, > > Geoffry Roberts