2012-09-26から1日間の記事一覧

org.apache.hadoop.io.Text.getBytes()を使用するときの注意

以前Hadoop入力データの文字エンコーディングに対応するため以下のようなコードを書いた public class CustomMapper extends Mapper<LongWritable, Text, Text, Text> { @Override protected void map(LongWritable key, Text value, Context context) throws IOException, InterruptedExcept</longwritable,>…