You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (JIRA)" <ji...@apache.org> on 2015/01/20 19:21:35 UTC
[jira] [Resolved] (SPARK-5333) [Mesos] MesosTaskLaunchData occurs
BufferUnderflowException
[ https://issues.apache.org/jira/browse/SPARK-5333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Rosen resolved SPARK-5333.
-------------------------------
Resolution: Fixed
> [Mesos] MesosTaskLaunchData occurs BufferUnderflowException
> -----------------------------------------------------------
>
> Key: SPARK-5333
> URL: https://issues.apache.org/jira/browse/SPARK-5333
> Project: Spark
> Issue Type: Bug
> Components: Mesos
> Reporter: Jongyoul Lee
> Assignee: Jongyoul Lee
> Priority: Blocker
> Fix For: 1.3.0
>
>
> MesosTaskLaunchData occurs exception when MesosExecutorBackend launches task because serializedTask.remaining is 0.
> {code}
> Exception in thread "Thread-6" java.nio.BufferUnderflowException
> at java.nio.Buffer.nextGetIndex(Buffer.java:498)
> at java.nio.HeapByteBuffer.getInt(HeapByteBuffer.java:355)
> at org.apache.spark.scheduler.cluster.mesos.MesosTaskLaunchData$.fromByteString(MesosTaskLaunchData.scala:46)
> at org.apache.spark.executor.MesosExecutorBackend.launchTask(MesosExecutorBackend.scala:81)
> {code}
> I've checked this bug with fine-grained mode. This is because MesosTaskLaunchData.toByteString doesn't rewind byteBuffer after they put data.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org