[
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.