accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffry Roberts <threadedb...@gmail.com>
Subject Re: Accumulo not starting anymore
Date Thu, 17 Apr 2014 14:44:51 GMT
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 <josh.elser@gmail.com> 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 <josh.elser@gmail.com
>> <mailto:josh.elser@gmail.com>> 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 <http://host.name>
>>         <http://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=<NA>
>>         2014-04-16 15:59:07,271 [zookeeper.ZooKeeper] INFO : Client
>>         environment:os.name <http://os.name> <http://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 <http://user.name> <http://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
>>         <http://127.0.0.1:2181> <http://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 <http://127.0.0.1:2181>
>>         <http://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
>>         <http://127.0.0.1:2181>
>>         <http://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

Mime
View raw message