Skip to content

Commit

Permalink
[SPARK-5333][Mesos] MesosTaskLaunchData occurs BufferUnderflowException
Browse files Browse the repository at this point in the history
- changed logDebug location
  • Loading branch information
jongyoul committed Jan 20, 2015
1 parent 4141f58 commit c6693a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ private[spark] case class MesosTaskLaunchData(
val dataBuffer = ByteBuffer.allocate(4 + serializedTask.limit)
dataBuffer.putInt(attemptNumber)
dataBuffer.put(serializedTask)
logDebug(s"ByteBuffer size: [${dataBuffer.remaining}]")
dataBuffer.rewind
logDebug(s"ByteBuffer size: [${dataBuffer.remaining}]")
ByteString.copyFrom(dataBuffer)
}
}
Expand Down

0 comments on commit c6693a8

Please sign in to comment.