[
https://issues.apache.org/jira/browse/HADOOP-5389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12678630#action_12678630
]
Vinod K V commented on HADOOP-5389:
-----------------------------------
If mapred.fairscheduler.allocation.file is not set to anything, then this
exception will be seen once in the logs, but scheduler should continue to
function normally. You should not see any other side effects because of this.
Nige, can you confirm this?
> NullPointerException in fairshare PoolManager
> ---------------------------------------------
>
> Key: HADOOP-5389
> URL: https://issues.apache.org/jira/browse/HADOOP-5389
> Project: Hadoop Core
> Issue Type: Bug
> Components: contrib/fair-share
> Affects Versions: 0.20.0
> Reporter: Nigel Daley
> Assignee: Vinod K V
>
> Found this NPE in a Hadoop 0.20.0 JobTracker log:
> {code}
> 2009-03-03 23:55:22,824 ERROR org.apache.hadoop.mapred.PoolManager: Failed to
> reload allocations file - will use existing allocations.
> java.lang.NullPointerException
> at java.io.File.<init>(File.java:222)
> at
> org.apache.hadoop.mapred.PoolManager.reloadAllocsIfNecessary(PoolManager.java:119)
> at
> org.apache.hadoop.mapred.FairScheduler.assignTasks(FairScheduler.java:226)
> at org.apache.hadoop.mapred.JobTracker.heartbeat(JobTracker.java:2340)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:508)
> at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:959)
> at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:955)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:396)
> at org.apache.hadoop.ipc.Server$Handler.run(Server.java:953)
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.