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:06:19 UTC

What is the difference between using -conf option in hadoop command and adding a custom property in ambari?

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.

Re: What is the difference between using -conf option in hadoop command and adding a custom property in ambari?

Posted by Mungeol Heo <mu...@gmail.com>.
My mistake.
It still gives 'abc\001def' even using ambari.

On Fri, Aug 28, 2015 at 10:06 AM, Mungeol Heo <mu...@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.

Re: What is the difference between using -conf option in hadoop command and adding a custom property in ambari?

Posted by Mungeol Heo <mu...@gmail.com>.
My mistake.
It still gives 'abc\001def' even using ambari.

On Fri, Aug 28, 2015 at 10:06 AM, Mungeol Heo <mu...@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.

Re: What is the difference between using -conf option in hadoop command and adding a custom property in ambari?

Posted by Mungeol Heo <mu...@gmail.com>.
My mistake.
It still gives 'abc\001def' even using ambari.

On Fri, Aug 28, 2015 at 10:06 AM, Mungeol Heo <mu...@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.

Re: What is the difference between using -conf option in hadoop command and adding a custom property in ambari?

Posted by Mungeol Heo <mu...@gmail.com>.
My mistake.
It still gives 'abc\001def' even using ambari.

On Fri, Aug 28, 2015 at 10:06 AM, Mungeol Heo <mu...@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.