[hadoop]MAPREDUCE-3248 Report

1. Symptom

Can't find log4j logs in tests, all of them complain:

log4j:WARN No appenders could be found for logger (org.apache.hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewer).
log4j:WARN Please initialize the log4j system properly.

1.1 Severity

Blocker

1.2 Was there exception thrown?

Yes. log4j throws warning.

1.2.1 Were there multiple exceptions?

No.

2. How to reproduce this failure

2.0 Version

0.23.0, run any MR job you can see this.

2.1 Configuration

Standard default configuration.

2.2 Reproduction procedure

Run any MR job or a unit testcase.

2.2.1 Timing order

no.

2.2.2 Events order externally controllable?

yes.

2.3 Can the logs tell how to reproduce the failure?

yes.

2.4 How many machines needed?

1. RM or AM.

3. Diagnosis procedure

3.1 Detailed Symptom (where you start)

See msg above.

3.2 Backward inference

No need. Message is clear.

4. Root cause

No log4j.property

4.1 Category:

Configuration/semantic.

5. Fix

5.1 How?

Add log4j.property