You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by Mungeol Heo <mu...@gmail.com> on 2015/08/28 03:33:57 UTC
Why setting '\001' separator config gives 'abc\001def' instead of 'abc^Adef'?
Hi,
I am trying to use the config which addressed below.
name: mapreduce.output.textoutputformat.separator
value: \001 or \u0001
The problem is when I use a configuration file or -D option to set
this config, it not works as I expect.
For instance, it gives me 'aaa\001aaa' instead of 'aaa^Aaaa'.
How can I fix this problem?
Any help will be so great.
Thanks.
Re: Why setting '\001' separator config gives 'abc\001def' instead of 'abc^Adef'?
Posted by Mark Gao <ma...@gmail.com>.
try
value: \\\001 or \\\u0001
On Fri, Aug 28, 2015 at 9:33 AM, Mungeol Heo <mu...@gmail.com> wrote:
> Hi,
>
> I am trying to use the config which addressed below.
>
> name: mapreduce.output.textoutputformat.separator
> value: \001 or \u0001
>
> The problem is when I use a configuration file or -D option to set
> this config, it not works as I expect.
> For instance, it gives me 'aaa\001aaa' instead of 'aaa^Aaaa'.
>
> How can I fix this problem?
> Any help will be so great.
> Thanks.
Re: Why setting '\001' separator config gives 'abc\001def' instead of 'abc^Adef'?
Posted by Mark Gao <ma...@gmail.com>.
try
value: \\\001 or \\\u0001
On Fri, Aug 28, 2015 at 9:33 AM, Mungeol Heo <mu...@gmail.com> wrote:
> Hi,
>
> I am trying to use the config which addressed below.
>
> name: mapreduce.output.textoutputformat.separator
> value: \001 or \u0001
>
> The problem is when I use a configuration file or -D option to set
> this config, it not works as I expect.
> For instance, it gives me 'aaa\001aaa' instead of 'aaa^Aaaa'.
>
> How can I fix this problem?
> Any help will be so great.
> Thanks.
Re: Why setting '\001' separator config gives 'abc\001def' instead of 'abc^Adef'?
Posted by Mark Gao <ma...@gmail.com>.
try
value: \\\001 or \\\u0001
On Fri, Aug 28, 2015 at 9:33 AM, Mungeol Heo <mu...@gmail.com> wrote:
> Hi,
>
> I am trying to use the config which addressed below.
>
> name: mapreduce.output.textoutputformat.separator
> value: \001 or \u0001
>
> The problem is when I use a configuration file or -D option to set
> this config, it not works as I expect.
> For instance, it gives me 'aaa\001aaa' instead of 'aaa^Aaaa'.
>
> How can I fix this problem?
> Any help will be so great.
> Thanks.
Re: Why setting '\001' separator config gives 'abc\001def' instead of 'abc^Adef'?
Posted by Mark Gao <ma...@gmail.com>.
try
value: \\\001 or \\\u0001
On Fri, Aug 28, 2015 at 9:33 AM, Mungeol Heo <mu...@gmail.com> wrote:
> Hi,
>
> I am trying to use the config which addressed below.
>
> name: mapreduce.output.textoutputformat.separator
> value: \001 or \u0001
>
> The problem is when I use a configuration file or -D option to set
> this config, it not works as I expect.
> For instance, it gives me 'aaa\001aaa' instead of 'aaa^Aaaa'.
>
> How can I fix this problem?
> Any help will be so great.
> Thanks.