When I take a thread dump, I see this thread probably hung. Has anybody
reported an issue related to SecureRandom?
"init" #17 prio=5 os_prio=0 cpu=137.55ms elapsed=56.86s tid=0x0000558cd1870800
nid=0x34 runnable [0x00007fbc59aa7000]
java.lang.Thread.State: RUNNABLE
at
sun.security.pkcs11.Secmod.nssInitialize([email protected]/Native
Method)
at
sun.security.pkcs11.Secmod.initialize([email protected]/Secmod.java:239)
- locked <0x00000000f88f2928> (a sun.security.pkcs11.Secmod)
at
sun.security.pkcs11.SunPKCS11.<init>([email protected]/SunPKCS11.java:243)
at
sun.security.pkcs11.SunPKCS11$1.run([email protected]/SunPKCS11.java:143)
at
sun.security.pkcs11.SunPKCS11$1.run([email protected]/SunPKCS11.java:140)
at java.security.AccessController.doPrivileged([email protected]/Native
Method)
at
sun.security.pkcs11.SunPKCS11.configure([email protected]/SunPKCS11.java:140)
at
sun.security.jca.ProviderConfig$3.run([email protected]/ProviderConfig.java:251)
at
sun.security.jca.ProviderConfig$3.run([email protected]/ProviderConfig.java:242)
at java.security.AccessController.doPrivileged([email protected]/Native
Method)
at
sun.security.jca.ProviderConfig.doLoadProvider([email protected]/ProviderConfig.java:242)
at
sun.security.jca.ProviderConfig.getProvider([email protected]/ProviderConfig.java:222)
- locked <0x00000000f889aac0> (a sun.security.jca.ProviderConfig)
at
sun.security.jca.ProviderList.getProvider([email protected]/ProviderList.java:266)
at
sun.security.jca.ProviderList$3.get([email protected]/ProviderList.java:156)
at
sun.security.jca.ProviderList$3.get([email protected]/ProviderList.java:151)
at
java.util.AbstractList$Itr.next([email protected]/AbstractList.java:371)
at
java.security.SecureRandom.getDefaultPRNG([email protected]/SecureRandom.java:264)
at
java.security.SecureRandom.<init>([email protected]/SecureRandom.java:219)
at org.apache.accumulo.core.util.Retry.<clinit>(Retry.java:49)
at
org.apache.accumulo.core.fate.zookeeper.ZooReader.<clinit>(ZooReader.java:46)
at
org.apache.accumulo.server.init.Initialize.execute(Initialize.java:532)
at org.apache.accumulo.start.Main.lambda$execKeyword$0(Main.java:122)
at
org.apache.accumulo.start.Main$$Lambda$145/0x00000008401af040.run(Unknown
Source)
at java.lang.Thread.run([email protected]/Thread.java:829)
________________________________
From: Samudrala, Ranganath [USA] via user <[email protected]>
Sent: Tuesday, January 10, 2023 9:21 AM
To: [email protected] <[email protected]>
Subject: [External] accumulo init error in K8S
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: