You can change the logging configuration levels for Accumulo processes editing 
the log4j-service.properties file.

Ed Coleman

From: Samudrala, Ranganath [USA] via user <user@accumulo.apache.org>
Sent: Wednesday, January 18, 2023 9:41 AM
To: user@accumulo.apache.org
Subject: Debug logging of accumulo classes

Hello
I am trying to configure Accumulo v2.1.0 with non-AWS S3 storage (Minio). So, 
the steps are like below

  1.  Run "accumulo init -upload-accumulo-props"
  2.  Add S3 volume to instance.volumes property and run "accumulo init 
-add-volumes"
     *   
instance.volumes=hdfs://accumulo-hdfs-namenode-0.accumulo-hdfs-namenodes:8020/accumulo,s3a://accumulo/

When I run the second command, I see error as below:
2023-01-18T14:00:39,848 [main] [org.apache.accumulo.core.volume.VolumeImpl] 
ERROR: Basepath is empty. Make sure instance.volumes is set to a correct path

I am unable to turn on debug level logging on accumulo classes. I can see debug 
level logging for Hadoop classes just fine. I also turned on async logger in 
accumulo-env.sh - so I get more logs, but debug level logging is turned off 
even if I have the below in log4j2.properties

logger.accumulo.name = org.apache.accumulo
logger.accumulo.level = debug
logger.accumulo.appenderRef.console.ref = STDOUT

and root level logger is set to debug as well!


rootLogger.level = debug
rootLogger.appenderRef.console.ref = STDOUT

So, I am unable to figure out what the values are in BasePath and why.

How do I turn on debug level logging for accumulo classes?

Thanks
Ranga

Reply via email to