Working on my first map/reduce script: I'm writing an array to the context.value in the map stage, with the expectation that I'll have an array of arrays in the reduce stage (based on shuffling). But it looks like it string-ified my arrays from the map stage. Any thoughts on how to prevent this or re-array-ify those strings. Example:
map stage key/value pairs ouput:
key:1
value: [12,15]
key: 1
value: [27,39]
key: 2
value: [52,26]
reduce stage key/value pairs input (from shuffle):
key: 1
actual value: ["[12,15]","[27,39]"]
desired value: [[12,15],[27,39]]
key: 2
actual value: ["[52,26]"]
desired value: [[52,26]]