Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Where to configure fairscheduler logging (CDH4.4)?

Where to configure fairscheduler logging (CDH4.4)?

Contributor

Hello.

 

I would like to change the logging configuration of the fairsheduler but I can't find where it is.

Currently it seems to log to /var/log/hadoop-yarn/fairscheduler/... with 10 files each of 600M.

 

Can you point me in the right direction?

 

Best regards

/Thomas

1 REPLY 1

Re: Where to configure fairscheduler logging (CDH4.4)?

Contributor

I just found out myself that this configuration is hardcoded in the org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairSchedulerEventLog.init() method...

 

So as far as I can see, it is not possible to control this logging in CDH4.4.

Cleaning up these files have to be done as an external process.

 

/Thomas

Don't have an account?
Coming from Hortonworks? Activate your account here