hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mungeol Heo <mungeol....@gmail.com>
Subject Re: What is the difference between using -conf option in hadoop command and adding a custom property in ambari?
Date Fri, 28 Aug 2015 01:20:23 GMT
My mistake.
It still gives 'abc\001def' even using ambari.

On Fri, Aug 28, 2015 at 10:06 AM, Mungeol Heo <mungeol.heo@gmail.com> wrote:
> Hi,
>
> I am using the config which addressed below.
>
> name: mapreduce.output.textoutputformat.separator
> value: \001
>
> The problem is when I set this at ambari, it works fine.
> For instance, it gives me the result like 'abc^Adef'.
> But if, I use custom XML with -conf option in hadoop command
> or use '-D mapreduce.output.textoutputformat.separator="\001"',
> it gives me 'abc\001def'.
>
> What is causing this?
> And what I can do to fix it?
> I mean, making the separator to be ^A while using -D or -conf.
>
> Any help will be so great.
> Thanks.

Mime
View raw message