You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@accumulo.apache.org by Mike Hugo <mi...@piragua.com> on 2012/09/25 23:11:49 UTC

unable to get accumulo to start

I'm trying to start a local instance of accumulo for a proof of concept and
am not able to get the init to run.  I have zookeeper 3.3.1 and accumulo
1.4.1.  Here's the output of the accumulo init command:


$ ./bin/accumulo init
2012-09-25 16:03:16.586 java[11465:b903] Unable to load realm info from
SCDynamicStore
25 16:03:16,729 [security.UserGroupInformation] INFO : JAAS Configuration
already set up for Hadoop, not re-installing.
25 16:03:17,017 [util.Initialize] INFO : Hadoop Filesystem is
hdfs://localhost:8020
25 16:03:17,018 [util.Initialize] INFO : Accumulo data dir is /accumulo
25 16:03:17,018 [util.Initialize] INFO : Zookeeper server is localhost:2181
25 16:03:17,018 [util.Initialize] INFO : Checking if Zookeeper is
available. If this hangs, then you need to make sure zookeeper is running
25 16:03:37,206 [util.Initialize] FATAL: Zookeeper needs to be up and
running in order to init. Exiting ...



Zookeeper is running, in fact, in the Zookeeper log, I can see the client
trying to connect:



2012-09-25 16:07:07,755 - INFO  [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:NIOServerCnxn$Factory@250] - Accepted socket
connection from /0:0:0:0:0:0:0:1%0:52658
2012-09-25 16:07:07,761 - INFO  [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:NIOServerCnxn@776] - Client attempting to establish
new session at /0:0:0:0:0:0:0:1%0:52658
2012-09-25 16:07:07,793 - INFO  [SyncThread:0:NIOServerCnxn@1579] -
Established session 0x139ff40f88b0000 with negotiated timeout 30000 for
client /0:0:0:0:0:0:0:1%0:52658
2012-09-25 16:07:27,795 - WARN  [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:NIOServerCnxn@633] - EndOfStreamException: Unable to
read additional data from client sessionid 0x139ff40f88b0000, likely client
has closed socket
2012-09-25 16:07:27,796 - INFO  [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1434] - Closed socket connection for
client /0:0:0:0:0:0:0:1%0:52658 which had sessionid 0x139ff40f88b0000
2012-09-25 16:07:38,001 - INFO  [SessionTracker:ZooKeeperServer@315] -
Expiring session 0x139ff40f88b0000, timeout of 30000ms exceeded
2012-09-25 16:07:38,001 - INFO  [ProcessThread:-1:PrepRequestProcessor@385]
- Processed session termination for sessionid: 0x139ff40f88b0000

Any thoughts?  Thanks in advance for your help

Mike

Re: unable to get accumulo to start

Posted by Mike Hugo <mi...@piragua.com>.
Figured it out - I had originally installed zookeeper 3.4.4 and had
ZOOKEEPER_HOME pointing to that directory.  At a later point in time I
installed zookeeper 3.3.1, but failed to change the environment variable.
 Switching it back to 3.3.1 solved the problem.

On Tue, Sep 25, 2012 at 4:11 PM, Mike Hugo <mi...@piragua.com> wrote:

> I'm trying to start a local instance of accumulo for a proof of concept
> and am not able to get the init to run.  I have zookeeper 3.3.1 and
> accumulo 1.4.1.  Here's the output of the accumulo init command:
>
>
> $ ./bin/accumulo init
> 2012-09-25 16:03:16.586 java[11465:b903] Unable to load realm info from
> SCDynamicStore
> 25 16:03:16,729 [security.UserGroupInformation] INFO : JAAS Configuration
> already set up for Hadoop, not re-installing.
> 25 16:03:17,017 [util.Initialize] INFO : Hadoop Filesystem is
> hdfs://localhost:8020
> 25 16:03:17,018 [util.Initialize] INFO : Accumulo data dir is /accumulo
> 25 16:03:17,018 [util.Initialize] INFO : Zookeeper server is localhost:2181
> 25 16:03:17,018 [util.Initialize] INFO : Checking if Zookeeper is
> available. If this hangs, then you need to make sure zookeeper is running
> 25 16:03:37,206 [util.Initialize] FATAL: Zookeeper needs to be up and
> running in order to init. Exiting ...
>
>
>
> Zookeeper is running, in fact, in the Zookeeper log, I can see the client
> trying to connect:
>
>
>
> 2012-09-25 16:07:07,755 - INFO  [NIOServerCxn.Factory:
> 0.0.0.0/0.0.0.0:2181:NIOServerCnxn$Factory@250] - Accepted socket
> connection from /0:0:0:0:0:0:0:1%0:52658
> 2012-09-25 16:07:07,761 - INFO  [NIOServerCxn.Factory:
> 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@776] - Client attempting to establish
> new session at /0:0:0:0:0:0:0:1%0:52658
> 2012-09-25 16:07:07,793 - INFO  [SyncThread:0:NIOServerCnxn@1579] -
> Established session 0x139ff40f88b0000 with negotiated timeout 30000 for
> client /0:0:0:0:0:0:0:1%0:52658
> 2012-09-25 16:07:27,795 - WARN  [NIOServerCxn.Factory:
> 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@633] - EndOfStreamException: Unable to
> read additional data from client sessionid 0x139ff40f88b0000, likely client
> has closed socket
> 2012-09-25 16:07:27,796 - INFO  [NIOServerCxn.Factory:
> 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1434] - Closed socket connection for
> client /0:0:0:0:0:0:0:1%0:52658 which had sessionid 0x139ff40f88b0000
> 2012-09-25 16:07:38,001 - INFO  [SessionTracker:ZooKeeperServer@315] -
> Expiring session 0x139ff40f88b0000, timeout of 30000ms exceeded
> 2012-09-25 16:07:38,001 - INFO  [ProcessThread:-1:PrepRequestProcessor@385]
> - Processed session termination for sessionid: 0x139ff40f88b0000
>
> Any thoughts?  Thanks in advance for your help
>
> Mike
>