accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey Zeiberg <jzeib...@gmail.com>
Subject My new Accumulo 2 install can't find hdfs
Date Thu, 13 Dec 2018 13:04:07 GMT
I know that NameNode and DataNode are running and  I know I have a file
system from this:

[jzeiberg@sr-linux2 conf]$ hadoop fs -ls hdfs://localhost:9000/
Found 4 items
-rw-rw-rw-   1 hdfs     supergroup          0 2018-12-05 10:57
hdfs://localhost:9000/MY_HADOOP_CLUSTER
drwx------   - jzeiberg supergroup          0 2018-12-12 13:54
hdfs://localhost:9000/accumulo
drwxr-xr-x   - jzeiberg supergroup          0 2018-12-05 14:14
hdfs://localhost:9000/failures
drwxr-xr-x   - jzeiberg supergroup          0 2018-12-05 14:14
hdfs://localhost:9000/import


But when I run either of these commands:
accumulo-service master start 
    or
accumulo-cluster restart


I get this error for the master service (the others start fine):

018-12-12 13:28:33,449 [conf.SiteConfiguration] INFO : Found Accumulo
configuration on classpath at
/home/jzeiberg/accumulo/accumulo-2.0.0-SNAPSHOT/conf/accumulo.properties
2018-12-12 13:28:33,643 [zookeeper.ZooUtil] ERROR: Problem reading instance
id out of hdfs at hdfs://localhost:9000/accumulo/instance_id
java.io.IOException: No FileSystem for scheme: hdfs
        at
org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2796)
        at
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2810)
        at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:98)
        at
org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2853)
        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2835)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:387)
        at org.apache.hadoop.fs.Path.getFileSystem(Path.java:296)
        at
org.apache.accumulo.core.volume.VolumeImpl.<init>(VolumeImpl.java:45)
        at
org.apache.accumulo.core.volume.VolumeConfiguration.create(VolumeConfiguration.java:161)
        at
org.apache.accumulo.core.volume.VolumeConfiguration.getVolume(VolumeConfiguration.java:40)
        at
org.apache.accumulo.fate.zookeeper.ZooUtil.getInstanceIDFromHdfs(ZooUtil.java:591)
        at
org.apache.accumulo.fate.zookeeper.ZooUtil.getInstanceIDFromHdfs(ZooUtil.java:585)
        at org.apache.accumulo.server.util.ZooZap.main(ZooZap.java:76)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at
org.apache.accumulo.start.Main.lambda$execMainClass$1(Main.java:166)
        at java.lang.Thread.run(Thread.java:748)
2018-12-12 13:28:33,644 [start.Main] ERROR: Thread
'org.apache.accumulo.server.util.ZooZap' died.
java.lang.RuntimeException: Can't tell if Accumulo is initialized; can't
read instance id at hdfs://localhost:9000/accumulo/instance_id
        at
org.apache.accumulo.fate.zookeeper.ZooUtil.getInstanceIDFromHdfs(ZooUtil.java:613)
        at
org.apache.accumulo.fate.zookeeper.ZooUtil.getInstanceIDFromHdfs(ZooUtil.java:585)
        at org.apache.accumulo.server.util.ZooZap.main(ZooZap.java:76)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at
org.apache.accumulo.start.Main.lambda$execMainClass$1(Main.java:166)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: No FileSystem for scheme: hdfs
        at
org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2796)
        at
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2810)
        at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:98)
        at
org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2853)
        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2835)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:387)
        at org.apache.hadoop.fs.Path.getFileSystem(Path.java:296)
        at
org.apache.accumulo.core.volume.VolumeImpl.<init>(VolumeImpl.java:45)
        at
org.apache.accumulo.core.volume.VolumeConfiguration.create(VolumeConfiguration.java:161)
        at
org.apache.accumulo.core.volume.VolumeConfiguration.getVolume(VolumeConfiguration.java:40)
        at
org.apache.accumulo.fate.zookeeper.ZooUtil.getInstanceIDFromHdfs(ZooUtil.java:591)




--
Sent from: http://apache-accumulo.1065345.n5.nabble.com/Developers-f3.html

Mime
View raw message