Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
HAR複数の小さな入力ファイルを含むファイルを作成しました。単一の入力ファイルで map reduce ジョブを実行する場合、次のコマンドになります。
HAR
hadoop jar <jarname> <packagename.classname> <input> <output>
しかし、上記が HAR ファイルの場合、<input>ファイルのすべての内容がHAR入力と見なされるようなコマンドは何でしょうか?
<input>
入力が HAR ファイルの場合、入力の代わりに以下を指定する必要があります
har:///hdfs path to har file
Hadoop アーカイブはファイルシステムとして公開されるため、mapreduce は Hadoop アーカイブ内のすべてのファイルを入力として使用できます。