accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From suave <ultraback...@gmail.com>
Subject Re: Accumulo starting up but NPE in logs and can't access monitor in browser
Date Mon, 06 Jul 2015 06:16:50 GMT
Hello Josh,

thank you for your quick answer.
I did all the steps again, including the init for accumulo and this time the
NPE disappeared.
I think it's because I did the init again properly.
I can still not access the HTTP service of the monitor in the browser, but
this time I think 
the monitor's log is more telling.

Ok, here's what I did.

(1) start-dfs.sh

(2.1) check that HDFS is running
jps gives:
6070 Jps
5407 DataNode
5240 NameNode
5609 SecondaryNameNode

(2.2) check that HDFS is writable
hadoop fs -rm -r -f /accumulo
hadoop fs -ls / (shows nothing there anymore, so empty HDFS)
hadoop fs -mkdir /testDir
hadoop fs -ls /
drwxr-xr-x   - ubuntu supergroup          0 2015-07-06 05:42 /testDir
hadoop fs -put someTestFile.txt /testDir
hadoop fs -ls /testDir
Found 1 items
-rw-r--r--   1 ubuntu supergroup         12 2015-07-06 05:43
/testDir/someTestFile.txt
hadoop fs -rm -r -f /testDir
hadoop fs -ls / (shows nothing there anymore)

(3) start zookeeper and check it’s running
zkServer.sh start
jps
5407 DataNode
5240 NameNode
5609 SecondaryNameNode
6109 Jps -m
6025 QuorumPeerMain

(4) initialize accumulo
accumulo init

(5) start accumulo
start-all.sh

(6) jps -m gives
6654 Main tracer --address localhost
6895 Jps -m
5407 DataNode
5240 NameNode
6525 Main master --address localhost
6268 Main monitor --address 0.0.0.0
5609 SecondaryNameNode
6595 Main gc --address localhost
6355 Main tserver --address localhost
6025 QuorumPeerMain /home/ubuntu/zookeeper-3.4.6/bin/../conf/zoo.cfg

(6) netstat -tapen | grep ":50095” gives
tcp        0      0 0.0.0.0:50095           0.0.0.0:*               LISTEN     
1000       42507       6268/java

Attached are all relevant logs (I replaced the actual IP of the EC2 instance
by XXX). master.log
<http://apache-accumulo.1065345.n5.nabble.com/file/n14626/master.log>  
monitor.log
<http://apache-accumulo.1065345.n5.nabble.com/file/n14626/monitor.log>  
tracer.log
<http://apache-accumulo.1065345.n5.nabble.com/file/n14626/tracer.log>  
tserver.log
<http://apache-accumulo.1065345.n5.nabble.com/file/n14626/tserver.log>  
gc.log <http://apache-accumulo.1065345.n5.nabble.com/file/n14626/gc.log>  



--
View this message in context: http://apache-accumulo.1065345.n5.nabble.com/Accumulo-starting-up-but-NPE-in-logs-and-can-t-access-monitor-in-browser-tp14624p14626.html
Sent from the Users mailing list archive at Nabble.com.

Mime
View raw message