2

When working with Scalding, you have the ability to provide a function. I was wondering how scalding passes these functions to the remote map/reduce tasks? Is this using something in scala or something generic that can be done with anonymous objects?

ekaqu
  • 2,038
  • 3
  • 24
  • 38

2 Answers2

3

It's plain old Java serialization which is done by Cascading.

Oscar Boykin
  • 1,974
  • 2
  • 11
  • 16
1

It uses Cascading, a java library upon Apache Hadoop.

Alexei Kaigorodov
  • 13,189
  • 1
  • 21
  • 38
  • How does cascading pass anonymous objects to map/reduce tasks? I know how to do this if the task is given a Class and create it itself, but with an anonymous object it is not as clear. – ekaqu Mar 07 '13 at 18:10