Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Feature/summingbird config #339

Merged
merged 14 commits into from
Nov 4, 2013
Merged

Feature/summingbird config #339

merged 14 commits into from
Nov 4, 2013

Conversation

ianoc
Copy link
Collaborator

@ianoc ianoc commented Oct 28, 2013

Handles the mutable state in the backing stores via common proxy model.

Simplify the Scalding/Storm env's so that producer API variants don't need lots of duplication

@ianoc
Copy link
Collaborator Author

ianoc commented Oct 28, 2013

@sritchie this should pass now, PR ready for review

@ianoc
Copy link
Collaborator Author

ianoc commented Oct 30, 2013

this is now based on having the general graph merged first

@ianoc
Copy link
Collaborator Author

ianoc commented Oct 30, 2013

@sritchie can you take a look at this? thanks

@@ -45,7 +46,7 @@ import ConfigBijection._
// the intermediate key-values for using a store as a service
// in another job.
// Prefer using .write in the -core API.
case class StoreIntermediateData[K, V](sink: ScaldingSink[(K,V)]) extends java.io.Serializable
case class StoreIntermediateData(sink: ScaldingSink[(Any, Any)]) extends java.io.Serializable
Copy link
Collaborator

Choose a reason for hiding this comment

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

So, I know it gets the graph walking to compile, but this makes me nervous... Doesn't this stop the StoreIntermediateData call into the builder API from type checking? Do we have an example job that still works with the Any everywhere, or proof that you can't pass in the wrong sink?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This could only ever enforce on one line, specifying the type params on the constructor, and then the sink not matching those. -- though that appears to be how its used internally. Will commit change that brings them back. (Also hadn't realized this was in the external API...) Would have just broken users code

@sritchie
Copy link
Collaborator

Few comments, then looks good!

johnynek added a commit that referenced this pull request Nov 4, 2013
@johnynek johnynek merged commit 0f0a078 into develop Nov 4, 2013
@johnynek johnynek deleted the feature/SummingbirdConfig branch November 4, 2013 22:39
snoble pushed a commit to snoble/summingbird that referenced this pull request Sep 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants