Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.99.6
-
None
Description
Currently, the MapReduce job that's kicked off will have the following configuration:
log4j.logger.org.apache.sqoop=INFO, A1
# A1 is set to be a ConsoleAppender.
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.Target = System.err
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%d{ISO8601} [%t] %-5p %c %x - %m%n
It's hard coded in the generated JAR file that we distribute. We should remove it from there and make it configurable elsewhere.
Work around is to set mapreduce.job.log4j-properties-file in sqoop2 mapred-site.xml. See MAPREDUCE-6052 for more info.
Attachments
Issue Links
- relates to
-
SQOOP-1746 Sqoop2: Mapreduce job is running in DEBUG mode by default
- Resolved