FAQ
[ https://issues.apache.org/jira/browse/HADOOP-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588014#action_12588014 ]

Edward J. Yoon commented on HADOOP-2681:
----------------------------------------

Oh, i have a this issue in my internal projects.
Is this fixed (or known) ?

NullPointerException in TaskRunner.java when system property "hadoop.log.dir" is not set
----------------------------------------------------------------------------------------

Key: HADOOP-2681
URL: https://issues.apache.org/jira/browse/HADOOP-2681
Project: Hadoop Core
Issue Type: Bug
Components: conf
Affects Versions: 0.15.2
Reporter: Xu Zhang
Priority: Minor

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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Search Discussions

  • Edward J. Yoon (JIRA) at Apr 11, 2008 at 4:26 pm
    [ https://issues.apache.org/jira/browse/HADOOP-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588015#action_12588015 ]

    Edward J. Yoon commented on HADOOP-2681:
    ----------------------------------------
    Nigel recommended to add a stack trace.
    or, won't fixed?
    NullPointerException in TaskRunner.java when system property "hadoop.log.dir" is not set
    ----------------------------------------------------------------------------------------

    Key: HADOOP-2681
    URL: https://issues.apache.org/jira/browse/HADOOP-2681
    Project: Hadoop Core
    Issue Type: Bug
    Components: conf
    Affects Versions: 0.15.2
    Reporter: Xu Zhang
    Priority: Minor

    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)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedApr 11, '08 at 4:25p
activeApr 11, '08 at 4:26p
posts2
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Edward J. Yoon (JIRA): 2 posts

People

Translate

site design / logo © 2021 Grokbase