Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Accumulo >> mail # user >> Re: [External] Re: accumulo init not working


+
John Vines 2012-06-19, 13:32
+
Shrestha, Tejen [USA] 2012-06-19, 19:14
+
John Vines 2012-06-19, 16:08
+
Shrestha, Tejen [USA] 2012-06-19, 03:29
Copy link to this message
-
Re: [External] Re: accumulo init not working
Did your NameNode start up correctly?

If on a local instance, you can verify this by running `jps -lm`. If
jps isn't on your path, it should be located in $JAVA_HOME/bin.

If the NameNode is not running, check your Hadoop logs. The log you
want should have "namenode" in the file name-- it should tell you want
went wrong. I commonly see this when setting up a new instance if I
forget to run `hadoop namenode -format`.

On Mon, Jun 18, 2012 at 11:29 PM, Shrestha, Tejen [USA]
<[EMAIL PROTECTED]> wrote:
> Thank you for the quick reply.  You were right I had downloaded the source
> instead of the dist.
> I ran: mvn package && mvn assembly:single –N as per the Accumulo README.
>  I'm not getting the exception anymore but now I can't get it to connect for
> some reason.  Again, Hadoop and Zookeeper are running fine and this is the
> error that I get after $ACCUMULO/bin/accumulo init
>
> 18 23:04:55,614 [ipc.Client] INFO : Retrying connect to server:
> localhost/127.0.0.1:9000. Already tried 0 time(s).
> 18 23:04:56,618 [ipc.Client] INFO : Retrying connect to server:
> localhost/127.0.0.1:9000. Already tried 1 time(s).
> 18 23:04:57,620 [ipc.Client] INFO : Retrying connect to server:
> localhost/127.0.0.1:9000. Already tried 2 time(s).
> 18 23:04:58,621 [ipc.Client] INFO : Retrying connect to server:
> localhost/127.0.0.1:9000. Already tried 3 time(s).
> 18 23:04:59,623 [ipc.Client] INFO : Retrying connect to server:
> localhost/127.0.0.1:9000. Already tried 4 time(s).
> 18 23:05:00,625 [ipc.Client] INFO : Retrying connect to server:
> localhost/127.0.0.1:9000. Already tried 5 time(s).
> 18 23:05:01,625 [ipc.Client] INFO : Retrying connect to server:
> localhost/127.0.0.1:9000. Already tried 6 time(s).
> 18 23:05:02,627 [ipc.Client] INFO : Retrying connect to server:
> localhost/127.0.0.1:9000. Already tried 7 time(s).
> 18 23:05:03,629 [ipc.Client] INFO : Retrying connect to server:
> localhost/127.0.0.1:9000. Already tried 8 time(s).
> 18 23:05:04,631 [ipc.Client] INFO : Retrying connect to server:
> localhost/127.0.0.1:9000. Already tried 9 time(s).
> 18 23:05:04,634 [util.Initialize] FATAL: java.net.ConnectException: Call to
> localhost/127.0.0.1:9000 failed on connection exception:
> java.net.ConnectException: Connection refused
> java.net.ConnectException: Call to localhost/127.0.0.1:9000 failed on
> connection exception: java.net.ConnectException: Connection refused
> at org.apache.hadoop.ipc.Client.wrapException(Client.java:767)
> at org.apache.hadoop.ipc.Client.call(Client.java:743)
> at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:220)
> at $Proxy0.getProtocolVersion(Unknown Source)
> at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:359)
> at org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:106)
> at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:207)
> at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:170)
> at
> org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:82)
> at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1378)
> at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)
> at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1390)
> at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:196)
> at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95)
> at org.apache.accumulo.core.file.FileUtil.getFileSystem(FileUtil.java:554)
> at org.apache.accumulo.server.util.Initialize.main(Initialize.java:426)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.accumulo.start.Main$1.run(Main.java:89)
> at java.lang.Thread.run(Thread.java:680)
> Caused by: java.net.ConnectException: Connection refused
> at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
+
Shrestha, Tejen [USA] 2012-06-19, 13:04
+
Shrestha, Tejen [USA] 2012-06-19, 13:12
+
John Vines 2012-06-19, 04:12
+
Shrestha, Tejen [USA] 2012-06-19, 15:08
+
William Slacum 2012-06-19, 15:42