[
https://issues.apache.org/jira/browse/HADOOP-5389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12683881#action_12683881
]
Hemanth Yamijala commented on HADOOP-5389:
------------------------------------------
IOW, this is the equivalent behavior of *-default.xml in hadoop. Maybe the
message seems a little too alarming that something was wrong. If there was no
file found, then we can simply say that there was no allocation file specified
and will therefore use default allocation.
Would that work ?
> 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.