I'm think I'm missing something. Could I use a
SequenceFile<Integer,MultiLabelVectorWritable> as input to anything
that takes SequenceFile<Integer,VectorWritable>? The get() method
would continue to return a Vector of some sort. I have this vague
recollection that hadoop has problems with this sort of subclassing,
but I don't remember the details.

> The way Writables work, the way to implement that behavior would not
> be subclassing. VectorWritable is a factory class for Vector
> subclasses, in essence, and so is not subclassed itself.

To this end, should VectorWritable be marked final?

Reply via email to