Skip to content

Conversation

@witgo
Copy link
Contributor

@witgo witgo commented May 7, 2014

No description provided.

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the 1024 for?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reference Executor.scala#L235.may not suitable for here

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kayousterhout - you added this. Any reason you left the 1024 of wiggle room?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

real example:

serialized task with dependencies serialized LaunchTask
4356 4797
2690585 2704141
5238584 5264580

The difference has been increasing

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah I see - it's to leave room for the other contents of the message. In the second case here, do you know what is taking all the extra room? 2704141 - 2690585 = ~13KB which is very large for a few string/int fields!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the problem is the value of uncertainty

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nicer to use string interpolation here to make it easier to parse.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason for this is to keep the same style of the code.

@pwendell
Copy link
Contributor

pwendell commented May 7, 2014

Thanks for tracking down this fix. It looks good - added some small comments.

@witgo witgo changed the title SPARK-1712: TaskDescription instance is too big causes Spark to hang SPARK-1712: ParallelCollectionPartition instance is too big causes Spark to hang May 7, 2014
@witgo witgo changed the title SPARK-1712: ParallelCollectionPartition instance is too big causes Spark to hang SPARK-1712: TaskDescription instance is too big causes Spark to hang May 7, 2014
@witgo witgo changed the title SPARK-1712: TaskDescription instance is too big causes Spark to hang [WIP]SPARK-1712: TaskDescription instance is too big causes Spark to hang May 7, 2014
@witgo
Copy link
Contributor Author

witgo commented May 7, 2014

@pwendell
How about this solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants