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

Switch to Threaded View
Accumulo, mail # user - can't initialize on hadoop 2.0


Copy link to this message
-
can't initialize on hadoop 2.0
Chris Retford 2013-06-28, 22:29
I have performed the following steps:

1) Downloaded the just-released Hortonworks 2 sandbox VM (I have also tried
CDH4 VM, and get the same error). Verified HDFS and ZK up and usable.
2) Downloaded the Accumulo 1.5.0 binary tgz and copied the 512 MB example
conf.
3) Modified accumulo-env.sh with
     HADOOP_HOME=/usr/lib/hadoop,
     HADOOP_CONF_DIR=/etc/hadoop/conf,
     ZOOKEEPER_HOME=/usr/lib/zookeeper
4) ./bin/accumulo init

Got the following error:
Thread "init" died null
java.lang.reflect.InvocationTargetException
        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:101)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.RuntimeException: java.io.IOException: No FileSystem
for scheme: hdfs
        at
org.apache.accumulo.server.util.Initialize.main(Initialize.java:498)
        ... 6 more
Caused by: java.io.IOException: No FileSystem for scheme: hdfs
        at
org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2345)
        at
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2352)
        at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:87)
        at
org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2391)
        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2373)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:352)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:164)
        at
org.apache.accumulo.core.file.FileUtil.getFileSystem(FileUtil.java:550)
        at
org.apache.accumulo.server.util.Initialize.main(Initialize.java:485)
        ... 6 more