Chris Nauroth 2012-10-15, 17:37
I'm aware of nothing in Hadoop or related projects that provides a
PriorityQueueWritable. You could achieve this by taking some existing
priority queue class and subclassing it or wrapping it to implement the
Writable.write and Writable.readFields methods.
If you could give us some additional context around what you want to solve,
then we might be able to offer some other suggestions. For example,
depending on the problem, maybe you could sort values and wrap them in
ArrayWritable (which already exists), which would save you the trouble of
coding your own custom Writable.
On Mon, Oct 15, 2012 at 9:56 AM, Aseem Anand <[EMAIL PROTECTED]> wrote:
> Is anyone familiar with a PriorityQueueWritable to be used to pass data
> from mapper to reducers ?
Aseem Anand 2012-10-15, 18:07