hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Jungblut (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HAMA-583) Misc release tasks
Date Sun, 27 May 2012 20:57:23 GMT

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

Thomas Jungblut edited comment on HAMA-583 at 5/27/12 8:57 PM:
---------------------------------------------------------------

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.

Actually we shouldn't do a reverse DNS in our groom hostnames, just use the configured ones
in /etc/hostname just like the datanode does. So this won't give inconsistencies.
                
      was (Author: thomas.jungblut):
    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

        

Mime
View raw message