|
|
-
Failed to find an available server in the list of servers
David Medinets 2011-12-29, 22:04
I think I am very close to getting a working one-server instance of Accumulo. I'm hoping someone has run into this issue.
Zookeeper is running. Hadoop is running and 'hadoop fs -ls /' shows the /accumulo direcory. I have run the init command (yes, I misspelled development). Then I tried to run the shell command:
$ bin/accumulo shell -u root Enter current password for 'root'@'deveopment': ******** 29 16:53:15,821 [impl.ServerClient] WARN : Failed to find an available server in the list of servers: []
My masters and slaves file both simply have 'localhost' in them.
What did I do wrong? Any suggestions?
-
Re: Failed to find an available server in the list of servers
Aaron Cordova 2011-12-29, 22:06
did you already run bin/start-all.sh ?
On Dec 29, 2011, at 5:04 PM, David Medinets wrote:
> I think I am very close to getting a working one-server instance of > Accumulo. I'm hoping someone has run into this issue. > > Zookeeper is running. Hadoop is running and 'hadoop fs -ls /' shows > the /accumulo direcory. I have run the init command (yes, I misspelled > development). Then I tried to run the shell command: > > $ bin/accumulo shell -u root > Enter current password for 'root'@'deveopment': ******** > 29 16:53:15,821 [impl.ServerClient] WARN : Failed to find an available > server in the list of servers: [] > > My masters and slaves file both simply have 'localhost' in them. > > What did I do wrong? Any suggestions?
-
Re: Failed to find an available server in the list of servers
David Medinets 2011-12-29, 22:15
I did. This is the output from the start-all command:
$ bin/start-all.sh Starting tablet servers and loggers .... done Starting logger on localhost Starting tablet server on localhost 29 17:04:31,722 [server.Accumulo] INFO : Attempting to talk to zookeeper 29 17:04:32,430 [server.Accumulo] INFO : Zookeeper connected and initialized, attemping to talk to HDFS 29 17:04:33,083 [server.Accumulo] INFO : Connected to HDFS Starting master on localhost Starting garbage collector on localhost Starting monitor on localhost Starting tracer on localhost
These processes were started:
org.apache.accumulo.start.Main logger org.apache.accumulo.start.Main master org.apache.accumulo.start.Main gc org.apache.accumulo.start.Main monitor org.apache.accumulo.start.Main tracer
On Thu, Dec 29, 2011 at 5:06 PM, Aaron Cordova <[EMAIL PROTECTED]> wrote: > did you already run bin/start-all.sh ? > > On Dec 29, 2011, at 5:04 PM, David Medinets wrote: > >> I think I am very close to getting a working one-server instance of >> Accumulo. I'm hoping someone has run into this issue. >> >> Zookeeper is running. Hadoop is running and 'hadoop fs -ls /' shows >> the /accumulo direcory. I have run the init command (yes, I misspelled >> development). Then I tried to run the shell command: >> >> $ bin/accumulo shell -u root >> Enter current password for 'root'@'deveopment': ******** >> 29 16:53:15,821 [impl.ServerClient] WARN : Failed to find an available >> server in the list of servers: [] >> >> My masters and slaves file both simply have 'localhost' in them. >> >> What did I do wrong? Any suggestions? >
-
Re: Failed to find an available server in the list of servers
Aaron Cordova 2011-12-29, 22:54
It looks like perhaps a tablet server (tserver) process did not start. You might check the contents of logs/tserver*.log On Dec 29, 2011, at 5:15 PM, David Medinets wrote:
> I did. This is the output from the start-all command: > > $ bin/start-all.sh > Starting tablet servers and loggers .... done > Starting logger on localhost > Starting tablet server on localhost > 29 17:04:31,722 [server.Accumulo] INFO : Attempting to talk to zookeeper > 29 17:04:32,430 [server.Accumulo] INFO : Zookeeper connected and > initialized, attemping to talk to HDFS > 29 17:04:33,083 [server.Accumulo] INFO : Connected to HDFS > Starting master on localhost > Starting garbage collector on localhost > Starting monitor on localhost > Starting tracer on localhost > > These processes were started: > > org.apache.accumulo.start.Main logger > org.apache.accumulo.start.Main master > org.apache.accumulo.start.Main gc > org.apache.accumulo.start.Main monitor > org.apache.accumulo.start.Main tracer > > > > On Thu, Dec 29, 2011 at 5:06 PM, Aaron Cordova <[EMAIL PROTECTED]> wrote: >> did you already run bin/start-all.sh ? >> >> On Dec 29, 2011, at 5:04 PM, David Medinets wrote: >> >>> I think I am very close to getting a working one-server instance of >>> Accumulo. I'm hoping someone has run into this issue. >>> >>> Zookeeper is running. Hadoop is running and 'hadoop fs -ls /' shows >>> the /accumulo direcory. I have run the init command (yes, I misspelled >>> development). Then I tried to run the shell command: >>> >>> $ bin/accumulo shell -u root >>> Enter current password for 'root'@'deveopment': ******** >>> 29 16:53:15,821 [impl.ServerClient] WARN : Failed to find an available >>> server in the list of servers: [] >>> >>> My masters and slaves file both simply have 'localhost' in them. >>> >>> What did I do wrong? Any suggestions? >>
-
RE: Failed to find an available server in the list of servers
Rob Burkhard 2011-12-29, 23:02
I had a similar problem on Dec 21st. Check the list for the solution under post "Request Apache Accumulo error help using Hadoop and Zookeeper in a test environment" to see if you have the same memory misconfiguration that I experienced. -------- Original Message -------- Subject: Re: Failed to find an available server in the list of servers From: Aaron Cordova <[EMAIL PROTECTED]> Date: Thu, December 29, 2011 5:54 pm To: [EMAIL PROTECTED]
It looks like perhaps a tablet server (tserver) process did not start. You might check the contents of logs/tserver*.log On Dec 29, 2011, at 5:15 PM, David Medinets wrote:
> I did. This is the output from the start-all command: > > $ bin/start-all.sh > Starting tablet servers and loggers .... done > Starting logger on localhost > Starting tablet server on localhost > 29 17:04:31,722 [server.Accumulo] INFO : Attempting to talk to zookeeper > 29 17:04:32,430 [server.Accumulo] INFO : Zookeeper connected and > initialized, attemping to talk to HDFS > 29 17:04:33,083 [server.Accumulo] INFO : Connected to HDFS > Starting master on localhost > Starting garbage collector on localhost > Starting monitor on localhost > Starting tracer on localhost > > These processes were started: > > org.apache.accumulo.start.Main logger > org.apache.accumulo.start.Main master > org.apache.accumulo.start.Main gc > org.apache.accumulo.start.Main monitor > org.apache.accumulo.start.Main tracer > > > > On Thu, Dec 29, 2011 at 5:06 PM, Aaron Cordova <[EMAIL PROTECTED]> wrote: >> did you already run bin/start-all.sh ? >> >> On Dec 29, 2011, at 5:04 PM, David Medinets wrote: >> >>> I think I am very close to getting a working one-server instance of >>> Accumulo. I'm hoping someone has run into this issue. >>> >>> Zookeeper is running. Hadoop is running and 'hadoop fs -ls /' shows >>> the /accumulo direcory. I have run the init command (yes, I misspelled >>> development). Then I tried to run the shell command: >>> >>> $ bin/accumulo shell -u root >>> Enter current password for 'root'@'deveopment': ******** >>> 29 16:53:15,821 [impl.ServerClient] WARN : Failed to find an available >>> server in the list of servers: [] >>> >>> My masters and slaves file both simply have 'localhost' in them. >>> >>> What did I do wrong? Any suggestions? >>
-
Re: Failed to find an available server in the list of servers
David Medinets 2011-12-29, 23:27
An excellent suggestion. I changed my accumulo-env.sh so that the max memory allocated is 512m. Then I restarted. Now I see the following in my log file:
Unable to find metrics file: /home/ubuntu/accumulo-1.5.0-incubating-SNAPSHOT/conf/accumulo-metrics.xml
The README file does not mention that this file is required unless I misread. The following command resolved this issue:
cp conf/accumulo-metrics.xml.example conf/accumulo-metrics.xml
I am running into a missing .so file which I will send a new email about.
On Thu, Dec 29, 2011 at 5:54 PM, Aaron Cordova <[EMAIL PROTECTED]> wrote: > It looks like perhaps a tablet server (tserver) process did not start. You might check the contents of logs/tserver*.log >
|
|