hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Minho Kim (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HAMA-963) ArrayIndexOutOfBoundsException occurs when tasks are greater than splits
Date Thu, 06 Aug 2015 11:16:04 GMT

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

Minho Kim edited comment on HAMA-963 at 8/6/15 11:15 AM:
---------------------------------------------------------

This problem occurs when taskid.id was wrong.
Minimum value of taskid.id is always set to 2. So splits array index is out of range.
I'll find out where the value is initialized and then I'll fix it.


was (Author: conquestor):
This problem occurs when taskid.id was wrong.
Minimum value of taskid.id is always set to 2. So splits array index is out of range.
I'll find out the value where to be initialized and then I'll fix it.

> ArrayIndexOutOfBoundsException occurs when tasks are greater than splits
> ------------------------------------------------------------------------
>
>                 Key: HAMA-963
>                 URL: https://issues.apache.org/jira/browse/HAMA-963
>             Project: Hama
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Edward J. Yoon
>            Priority: Blocker
>             Fix For: 0.7.1
>
>
> ArrayIndexOutOfBoundsException occurs when the number of tasks are greater than the number
of splits at ApplicationMaster 950 line.
> {code}
>       assignedSplit = splits[taskid.id];
> {code}
> There are two options: Option1. launch additional tasks without input split.
> Option2. adjust the number of tasks as number of input splits.
> I prefer the option 1.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message