[
https://issues.apache.org/jira/browse/SPARK-21118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
tao updated SPARK-21118:
------------------------
Description:
i have 2 matrix each one is 200milions*200milions.
i want to multiply them ,but run out with oom .
finally i find the oom appear at blockmatrix.simulateMultiply . there is a
collect action at this method. when application run there the driver will oom.
class BlockMatrix @Since("1.3.0") (
private[distributed] def simulateMultiply(
other: BlockMatrix,
partitioner: GridPartitioner): (BlockDestinations, BlockDestinations) = {
val leftMatrix = {color:red}blockInfo.keys.collect() {color}// blockInfo
should already be cached
val rightMatrix = other.blocks.keys.collect()
......
was:
i have 2 matrix each one is 200milions*200milions.
i want to build the mcl so must to multiply then ,but run out with oom .
finally i find the oom appear at blockmatrix.simulateMultiply . there is a
collect action at this method. when application run there the driver will oom.
> OOM with 2 handred million vertex when mitrx multply
> ----------------------------------------------------
>
> Key: SPARK-21118
> URL: https://issues.apache.org/jira/browse/SPARK-21118
> Project: Spark
> Issue Type: Bug
> Components: MLlib
> Affects Versions: 2.1.0
> Environment: on yarn cluster,19 node.30GB per node
> Reporter: tao
>
> i have 2 matrix each one is 200milions*200milions.
> i want to multiply them ,but run out with oom .
> finally i find the oom appear at blockmatrix.simulateMultiply . there is a
> collect action at this method. when application run there the driver will oom.
> class BlockMatrix @Since("1.3.0") (
> private[distributed] def simulateMultiply(
> other: BlockMatrix,
> partitioner: GridPartitioner): (BlockDestinations, BlockDestinations) =
> {
> val leftMatrix = {color:red}blockInfo.keys.collect() {color}// blockInfo
> should already be cached
> val rightMatrix = other.blocks.keys.collect()
> ......
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]