Hello,
I am trying to configure Accumulo in K8S using Helm chart. Hadoop and Zookeeper 
are up and running in the same K8S namespace.
accumulo.properties is as below:

  
instance.volumes=hdfs://accumulo-hdfs-namenode-0.accumulo-hdfs-namenodes:8020/accumulo/data0/accumulo
  general.custom.volume.preferred.default=accumulo
  instance.zookeeper.host=accumulo-zookeeper
  # instance.secret=DEFAULT
  general.volume.chooser=org.apache.accumulo.core.spi.fs.PreferredVolumeChooser
  
general.custom.volume.preferred.logger=hdfs://accumulo-hdfs-namenode-0.accumulo-hdfs-namenodes:8020/accumulo/data0/accumulo
  trace.user=tracer
  trace.password=tracer
  instance.secret=accumulo
  tserver.cache.data.size=15M
  tserver.cache.index.size=40M
  tserver.memory.maps.max=128M
  tserver.memory.maps.native.enabled=true
  tserver.sort.buffer.size=50M
  tserver.total.mutation.queue.max=16M
  tserver.walog.max.size=128M

accumulo-client.properties is as below:

 auth.type=password
 auth.principal=root
 auth.token=root
 instance.name=accumulo
 # For Accumulo >=2.0.0
 instance.zookeepers=accumulo-zookeeper
 instance.zookeeper.host=accumulo-zookeeper

When I run 'accumulo init --add-volumes', I see an error as below and what is 
wrong with the setup?

java.lang.RuntimeException: None of the configured paths are initialized.
        at 
org.apache.accumulo.server.ServerDirs.checkBaseUris(ServerDirs.java:119)
        at 
org.apache.accumulo.server.init.Initialize.addVolumes(Initialize.java:449)
        at 
org.apache.accumulo.server.init.Initialize.execute(Initialize.java:543)
        at org.apache.accumulo.start.Main.lambda$execKeyword$0(Main.java:122)
        at java.base/java.lang.Thread.run(Thread.java:829)
2023-01-09T21:22:13,530 [init] [org.apache.accumulo.start.Main] ERROR: Thread 
'init' died.
java.lang.RuntimeException: None of the configured paths are initialized.
        at 
org.apache.accumulo.server.ServerDirs.checkBaseUris(ServerDirs.java:119) 
~[accumulo-server-base-2.1.0.jar:2.1.0]
        at 
org.apache.accumulo.server.init.Initialize.addVolumes(Initialize.java:449) 
~[accumulo-server-base-2.1.0.jar:2.1.0]
        at 
org.apache.accumulo.server.init.Initialize.execute(Initialize.java:543) 
~[accumulo-server-base-2.1.0.jar:2.1.0]
        at org.apache.accumulo.start.Main.lambda$execKeyword$0(Main.java:122) 
~[accumulo-start-2.1.0.jar:2.1.0]
        at java.lang.Thread.run(Thread.java:829) ~[?:?]
Thread 'init' died.

I have attached complete log:

Attachment: accumulo-master.log
Description: accumulo-master.log

Reply via email to