You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Abhishek <ab...@gmail.com> on 2012/07/03 02:13:50 UTC

Fwd: How to override a property with in a hive query

Hi all,

Can I know, how to override a property of mapred-site.xml in Hive join query.
Suppose for map reduce job we override using -D <property name=value>, how to do it with in hive query.

Regards
Abhishek.


Begin forwarded message:

> From: Abhishek <ab...@gmail.com>
> Date: July 2, 2012 8:10:47 PM EDT
> To: "user@hive.apache.org" <us...@hive.apache.org>
> Subject: How to a property in hive query
> 
> Hi all,
> 
> Can I know, how to override a property of mapred-site.xml in Hive join query.
> Suppose for map reduce job we override using -D <property name=value>, how to do it with in hive query.

Re: How to override a property with in a hive query

Posted by Tim Havens <ti...@gmail.com>.
What are you trying to accomplish that a method like this won't work for?

On Mon, Jul 2, 2012 at 10:25 PM, Abhishek <ab...@gmail.com> wrote:

> Hi Tim,
>
> Is this the only way, or if we have any other ways.
>
> Sent from my iPhone
>
> On Jul 2, 2012, at 8:49 PM, Tim Havens <ti...@gmail.com> wrote:
>
> Before your query type SET <property> = <blah>;
>
> On Mon, Jul 2, 2012 at 7:13 PM, Abhishek <ab...@gmail.com>wrote:
>
>> Hi all,
>>
>> Can I know, how to override a property of mapred-site.xml in Hive join
>> query.
>> Suppose for map reduce job we override using -D <property name=value>,
>> how to do it with in hive query.
>>
>> Regards
>> Abhishek.
>>
>>
>> Begin forwarded message:
>>
>> *From:* Abhishek <ab...@gmail.com>
>> *Date:* July 2, 2012 8:10:47 PM EDT
>> *To:* "user@hive.apache.org" <us...@hive.apache.org>
>> *Subject:* *How to a property in hive query*
>>
>> Hi all,
>>
>> Can I know, how to override a property of mapred-site.xml in Hive join
>> query.
>> Suppose for map reduce job we override using -D <property name=value>,
>> how to do it with in hive query.
>>
>>
>
>
> --
> "The whole world is you. Yet you keep thinking there is something else." -
> Xuefeng Yicun 822-902 A.D.
>
> Tim R. Havens
> Google Phone: 573.454.1232
> ICQ: 495992798
> ICBM:  37°51'34.79"N   90°35'24.35"W
> ham radio callsign: NW0W
>
>


-- 
"The whole world is you. Yet you keep thinking there is something else." -
Xuefeng Yicun 822-902 A.D.

Tim R. Havens
Google Phone: 573.454.1232
ICQ: 495992798
ICBM:  37°51'34.79"N   90°35'24.35"W
ham radio callsign: NW0W

Re: How to override a property with in a hive query

Posted by Abhishek <ab...@gmail.com>.
Hi Tim,

Is this the only way, or if we have any other ways.

Sent from my iPhone

On Jul 2, 2012, at 8:49 PM, Tim Havens <ti...@gmail.com> wrote:

> Before your query type SET <property> = <blah>;
> 
> On Mon, Jul 2, 2012 at 7:13 PM, Abhishek <ab...@gmail.com> wrote:
> Hi all,
> 
> Can I know, how to override a property of mapred-site.xml in Hive join query.
> Suppose for map reduce job we override using -D <property name=value>, how to do it with in hive query.
> 
> Regards
> Abhishek.
> 
> 
> Begin forwarded message:
> 
>> From: Abhishek <ab...@gmail.com>
>> Date: July 2, 2012 8:10:47 PM EDT
>> To: "user@hive.apache.org" <us...@hive.apache.org>
>> Subject: How to a property in hive query
>> 
>> Hi all,
>> 
>> Can I know, how to override a property of mapred-site.xml in Hive join query.
>> Suppose for map reduce job we override using -D <property name=value>, how to do it with in hive query.
> 
> 
> 
> -- 
> "The whole world is you. Yet you keep thinking there is something else." - Xuefeng Yicun 822-902 A.D.
> 
> Tim R. Havens
> Google Phone: 573.454.1232
> ICQ: 495992798
> ICBM:  37°51'34.79"N   90°35'24.35"W
> ham radio callsign: NW0W

Re: How to override a property with in a hive query

Posted by Tim Havens <ti...@gmail.com>.
Before your query type SET <property> = <blah>;

On Mon, Jul 2, 2012 at 7:13 PM, Abhishek <ab...@gmail.com> wrote:

> Hi all,
>
> Can I know, how to override a property of mapred-site.xml in Hive join
> query.
> Suppose for map reduce job we override using -D <property name=value>, how
> to do it with in hive query.
>
> Regards
> Abhishek.
>
>
> Begin forwarded message:
>
> *From:* Abhishek <ab...@gmail.com>
> *Date:* July 2, 2012 8:10:47 PM EDT
> *To:* "user@hive.apache.org" <us...@hive.apache.org>
> *Subject:* *How to a property in hive query*
>
> Hi all,
>
> Can I know, how to override a property of mapred-site.xml in Hive join
> query.
> Suppose for map reduce job we override using -D <property name=value>, how
> to do it with in hive query.
>
>


-- 
"The whole world is you. Yet you keep thinking there is something else." -
Xuefeng Yicun 822-902 A.D.

Tim R. Havens
Google Phone: 573.454.1232
ICQ: 495992798
ICBM:  37°51'34.79"N   90°35'24.35"W
ham radio callsign: NW0W