uhmm I didn't see any -D option on shell if I try
bin/accumulo -Dlog4j.configuration=/tmp/log4j.properties shell - throws error as it is not a classpath and if I give -D after shell, it says shell do not have that option What is the correct way? -S ________________________________ From: dev1 <[email protected]> Sent: Friday, January 21, 2022 8:31 AM To: '[email protected]' <[email protected]> Subject: [External] RE: issue with OS user using shell Did you try to pass a log4j configuration using -D option on the command line? Ed Coleman From: Ligade, Shailesh [USA] <[email protected]> Sent: Friday, January 21, 2022 8:19 AM To: [email protected] Subject: issue with OS user using shell Heo, When a regular OS user use shell command, looks like that OS user needs access to accumulo log directory. Othewise it throws FileNotFound exception for the log file (tserver/monitor/master/gc/tracer - all the log files) if i user OS root user or OS accumulo user (user who runs accumulo) there is no issue with shell command. I obviously don't want to open log directory for all OS users or turn off shell logging. Is there a way around it? I didn't see shell command option for accepting any log4j.conf so that just for shell I can use a different file.. Thanks -S
