You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Thomas Jungblut (JIRA)" <ji...@apache.org> on 2012/05/27 22:51:22 UTC
[jira] [Commented] (HAMA-583) Misc release tasks
[ https://issues.apache.org/jira/browse/HAMA-583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284230#comment-13284230 ]
Thomas Jungblut commented on HAMA-583:
--------------------------------------
This
{noformat}
2012-05-27 20:25:28,916 ERROR org.apache.hama.bsp.SimpleTaskScheduler: Error submitting job
java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
at java.util.concurrent.FutureTask.get(FutureTask.java:111)
at org.apache.hama.bsp.SimpleTaskScheduler$JobProcessor.schedule(SimpleTaskScheduler.java:141)
at org.apache.hama.bsp.SimpleTaskScheduler$JobProcessor.run(SimpleTaskScheduler.java:116)
Caused by: java.lang.NullPointerException
at org.apache.hama.bsp.TaskInProgress.getTaskToRun(TaskInProgress.java:149)
at org.apache.hama.bsp.JobInProgress.obtainNewTask(JobInProgress.java:268)
at org.apache.hama.bsp.SimpleTaskScheduler$TaskWorker.call(SimpleTaskScheduler.java:191)
at org.apache.hama.bsp.SimpleTaskScheduler$TaskWorker.call(SimpleTaskScheduler.java:160)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
{noformat}
happens if the grooms are not correctly configured.
{{{
#TaskInProgress->line 145
String location = possibleLocations[i];
GroomServerStatus groom = grooms.get(location);
}}}
This checks the given DFS location, if it does not match the groom it will throw these NPEs.
We should throw a better exception here.
> Misc release tasks
> ------------------
>
> Key: HAMA-583
> URL: https://issues.apache.org/jira/browse/HAMA-583
> Project: Hama
> Issue Type: Improvement
> Components: build
> Affects Versions: 0.5.0
> Reporter: Thomas Jungblut
> Priority: Blocker
> Fix For: 0.5.0
>
>
--
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