You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2009/01/23 21:02:05 UTC

[jira] Commented: (HADOOP-3438) NPE if job tracker started and system property hadoop.log.dir is not set

    [ https://issues.apache.org/jira/browse/HADOOP-3438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666677#action_12666677 ] 

Konstantin Shvachko commented on HADOOP-3438:
---------------------------------------------

I have the same problem as Steve.
I think JobHistory should not use System.getProperty().
If it has to then at least use {{getProperty(String key, String def)}} instead.
NPE should not happen anyways.

> NPE if job tracker started and system property hadoop.log.dir is not set
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-3438
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3438
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: metrics
>    Affects Versions: 0.18.0
>         Environment: amd64 ubuntu, jrockit 1.6
>            Reporter: Steve Loughran
>             Fix For: 0.21.0
>
>
> This is a regression. If the system property "hadoop.log.dir" is not set, the job tracker NPEs rather than starts up.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.