Hi,

The record delimiter is not to be specified while copying the file, but
when you run the map reduce job. Just copy the file and specify the
delimiter at the time of the job run.

Best Regards,
Sonal
Crux: Reporting for HBase <https://github.com/sonalgoyal/crux>
Nube Technologies <http://www.nubetech.co>

<http://in.linkedin.com/in/sonalgoyal>





On Mon, Jun 18, 2012 at 6:31 PM, 안의건 <ahneui...@gmail.com> wrote:

> Hello. I'm trying to test the new patch, 'Allow setting of end-of-record
> delimiter for TextInputFormat'.
>
> "TextInputFormat may now split lines with delimiters other than newline,
> by specifying a configuration parameter "textinputformat.record.delimiter"
>
>                [MAPREDUCE-2254]
>
> Now I'm using the following command in hadoop-0.23.0, but it makes same
> result when it was done in hadoop-0.20.0.
>
> hadoop fs -Dtextinputformat.record.delimiter="\r\n" -copyFromLocal
> /tmp/test.txt /tmp
>
> Is there any configuration I'm missing? Why doesn't it working?
>
>
> Thank you
>

Reply via email to