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

Subroto Sanyal commented on HADOOP-3438:
----------------------------------------

Recently encountered the issue:
{noformat}
java.lang.RuntimeException: JobTracker crashed
at 
org.apache.hadoop.mapred.MiniMRCluster$JobTrackerRunner.checkFatalError(MiniMRCluster.java:101)
at 
org.apache.hadoop.mapred.MiniMRCluster.startJobTracker(MiniMRCluster.java:620)
at 
org.apache.hadoop.mapred.MiniMRCluster.startJobTracker(MiniMRCluster.java:599)
at org.apache.hadoop.mapred.MiniMRCluster.(MiniMRCluster.java:511)
at org.apache.hadoop.mapred.MiniMRCluster.(MiniMRCluster.java:459)
at org.apache.hadoop.mapred.MiniMRCluster.(MiniMRCluster.java:451)
at org.apache.hadoop.mapred.MiniMRCluster.(MiniMRCluster.java:441)
at org.apache.hadoop.mapred.MiniMRCluster.(MiniMRCluster.java:431)
at org.apache.hadoop.mapred.MiniMRCluster.(MiniMRCluster.java:422)
at 
org.apache.hadoop.mapred.TestDiskSpillingInMapper.testDiskSpillingShouldHappen(TestDiskSpillingInMapper.java:48)
Caused by: java.lang.NullPointerException
at java.io.File.(File.java:222)
at org.apache.hadoop.mapred.JobHistory.init(JobHistory.java:239)
at org.apache.hadoop.mapred.JobTracker.(JobTracker.java:1394)
at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:236)
at 
org.apache.hadoop.mapred.MiniMRCluster$JobTrackerRunner.run(MiniMRCluster.java:118)
{noformat}

This needs to be fixed....
                
> 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 Common
>          Issue Type: Bug
>          Components: metrics
>    Affects Versions: 0.18.0
>         Environment: amd64 ubuntu, jrockit 1.6
>            Reporter: Steve Loughran
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to