hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Xu <ted.xu...@gmail.com>
Subject Re: How can I change the mapreduce output coder?
Date Tue, 01 Dec 2009 14:21:17 GMT
Try code like:

line.getBytes("GBK")

2009/11/30 郭鹏 <gpcuster@gmail.com>

> I know the default output coder is utf-8, but how can we change it into a
> other coder? like gbk?
>
> thx.
>
> --
> Regards
>   Peng Guo
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message