2016-06-24 2 views
0

Hadoopで異なるタイプの入力ファイル(TextInputFormatSequenceInputFormat)をMultipleInputに渡すことはできますか?ちょうど以下のようなHadoopのMultipleInputクラスで異なるタイプの入力形式ファイルを渡すことはできますか?

MultipleInputs.addInputPath(jobConf、 新しいパス(dictionarySource)、 SomeInputFormatの.class、 TranslateMapper.class)。

MultipleInputs.addInputPath(jobConf、 新しいパス(dictionarySource)、 SomeOtherInputFormatの.class、 TranslateMapper.class)。

+1

どうして試してみませんか? –

答えて

0

短い答えは、はい、that parameterInputFormat

Class<? extends InputFormat> inputFormatClass 

のフォローアップのための長い答えの任意の拡張子である「どのようにあなたが減速中にそれを扱うのですか?」 - わからない

関連する問題