Description
Currently, NullPointerException exception is thrown on line 321 in TaskRunner.java when system property "hadoop.log.dir" is not set. Instead of a NullPointerException exception, I expected a default value for "hadoop.log.dir" to be used, or to see a more meaningful error message that could have helped me figure out what was wrong (like, telling me that I needed to set "hadoop.log.dir" and how to do so).
Here is one instance of such exceptions:
WARN mapred.TaskRunner: task_200801181719_0001_m_000000_0 Child Error
java.lang.NullPointerException
at java.io.File.<init>(File.java:222)
at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:321)
Attachments
Issue Links
- duplicates
-
MAPREDUCE-436 NPE in TaskRunner.run if hadoop.log.dir not set
- Resolved
- is duplicated by
-
HADOOP-3438 NPE if job tracker started and system property hadoop.log.dir is not set
- Resolved
- relates to
-
HADOOP-3438 NPE if job tracker started and system property hadoop.log.dir is not set
- Resolved
-
MAPREDUCE-436 NPE in TaskRunner.run if hadoop.log.dir not set
- Resolved