[ 
https://issues.apache.org/jira/browse/SPARK-5333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Rosen updated SPARK-5333:
------------------------------
    Assignee: Jongyoul Lee

> [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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to