Re: encoding types supported by Hadoop

2010-01-21 Thread Andrew Wang
Hi,Naveen The default encoding type supported by Hadoop is UTF-8, so, if you'd like to use other types, you have to custom the FileInputFormat and FileOutPutFormat. For me, i like to convert the input content to some special encoding type, etc: String line = new String(value.getBytes(), 0, value.

RE: encoding types supported by Hadoop

2010-01-21 Thread Naveen Kumar Prasad
apache.org; naveenkum...@huawei.com Subject: Re: encoding types supported by Hadoop Hi Naveen, On Thu, Jan 21, 2010 at 7:54 PM, Naveen Kumar Prasad < naveenkum...@huawei.com> wrote: > Hi All, > > I am new to hadoop/Mapreduce usage. > > Can anyone tell me how to write a simple MapR

Re: encoding types supported by Hadoop

2010-01-21 Thread Todd Lipcon
Hi Naveen, On Thu, Jan 21, 2010 at 7:54 PM, Naveen Kumar Prasad < naveenkum...@huawei.com> wrote: > Hi All, > > I am new to hadoop/Mapreduce usage. > > Can anyone tell me how to write a simple MapReduce implementation to just > read some files from the directory > and write to directory. > It