OutputFormat のキーと値のペアを 2 回調べる必要がある状況があります。本質的に:
OutputFormat.getRecordWriter() // returns RecordWriteType1
... and when all those are complete across all machines
OutputFormat.getRecordWriter() // return RecordWriterType2
両方の RecordWriterType1/2 の型付けは同じです。これを行う方法はありますか?
ありがとう、マルコ。