Hi all, I'm trying to work with RYA in my Ubuntu laptop. And it needs Hadoop, Zookeeper and Accumulo servers As prerequisites.
After a shutdown, I need to restart hadoop, zookeeper and accumulo. When I do, Hadoop and Zookeeper servers are starting successfully but when I start Accumulo I get the following, WARN : Using Zookeeper /home/amila/Installs/zookeeper-3.4.8/zookeeper-3.4.8. Use version 3.3.0 or greater to avoid zookeeper deadlock bug. Starting monitor on localhost WARN : Max open files on localhost is 1024, recommend 32768 Starting tablet servers .... done 2016-04-19 17:40:43,303 [fs.VolumeManagerImpl] WARN : dfs.datanode.synconclose set to false in hdfs-site.xml: data loss is possible on hard system reset or power loss 2016-04-19 17:40:43,308 [server.Accumulo] INFO : Attempting to talk to zookeeper 2016-04-19 17:40:43,522 [server.Accumulo] INFO : Waiting for accumulo to be initialized 2016-04-19 17:40:44,534 [server.Accumulo] INFO : Waiting for accumulo to be initialized 2016-04-19 17:40:45,536 [server.Accumulo] INFO : Waiting for accumulo to be initialized 2016-04-19 17:40:46,538 [server.Accumulo] INFO : Waiting for accumulo to be initialized 2016-04-19 17:40:47,541 [server.Accumulo] INFO : Waiting for accumulo to be initialized 2016-04-19 17:40:48,543 [server.Accumulo] INFO : Waiting for accumulo to be initialized 2016-04-19 17:40:49,545 [server.Accumulo] INFO : Waiting for accumulo to be initialized 2016-04-19 17:40:50,547 [server.Accumulo] INFO : Waiting for accumulo to be initialized 2016-04-19 17:40:51,549 [server.Accumulo] INFO : Waiting for accumulo to be initialized 2016-04-19 17:40:52,550 [server.Accumulo] INFO : Waiting for accumulo to be initialized Starting tablet server on localhost WARN : Max open files on localhost is 1024, recommend 32768 2016-04-19 17:40:53,551 [server.Accumulo] INFO : Waiting for accumulo to be initialized 2016-04-19 17:40:54,552 [server.Accumulo] INFO : Waiting for accumulo to be initialized 2016-04-19 17:40:55,554 [server.Accumulo] INFO : Waiting for accumulo to be initialized 2016-04-19 17:40:56,555 [server.Accumulo] INFO : Waiting for accumulo to be initialized 2016-04-19 17:40:57,556 [server.Accumulo] INFO : Waiting for accumulo to be initialized 2016-04-19 17:40:58,558 [server.Accumulo] INFO : Waiting for accumulo to be initialized 2016-04-19 17:40:59,559 [server.Accumulo] INFO : Waiting for accumulo to be initialized 2016-04-19 17:41:00,561 [server.Accumulo] INFO : Waiting for accumulo to be initialized Then I tried to initialize Accumulo and I got following, 2016-04-19 16:56:06,984 [fs.VolumeManagerImpl] WARN : dfs.datanode.synconclose set to false in hdfs-site.xml: data loss is possible on hard system reset or power loss 2016-04-19 16:56:06,985 [init.Initialize] INFO : Hadoop Filesystem is hdfs://localhost:9000 2016-04-19 16:56:06,986 [init.Initialize] INFO : Accumulo data dirs are [hdfs://localhost:9000/accumulo] 2016-04-19 16:56:06,986 [init.Initialize] INFO : Zookeeper server is localhost:2181 2016-04-19 16:56:06,986 [init.Initialize] INFO : Checking if Zookeeper is available. If this hangs, then you need to make sure zookeeper is running 2016-04-19 16:56:07,250 [init.Initialize] FATAL: It appears the directories [hdfs://localhost:9000/accumulo] were previously initialized. 2016-04-19 16:56:07,250 [init.Initialize] FATAL: Change the property instance.volumes to use different filesystems, 2016-04-19 16:56:07,250 [init.Initialize] FATAL: or change the property instance.dfs.dir to use a different directory. 2016-04-19 16:56:07,250 [init.Initialize] FATAL: The current value of instance.dfs.uri is || 2016-04-19 16:56:07,250 [init.Initialize] FATAL: The current value of instance.dfs.dir is |/accumulo| 2016-04-19 16:56:07,250 [init.Initialize] FATAL: The current value of instance.volumes is |hdfs://localhost:9000/accumulo| Can anyone point me how to do this correctly? Thank you! -- *Amila Wijayarathna* Undergraduate, Faculty of Information Technology, University of Moratuwa, Sri Lanka.
