Re: INSERT OVERWRITE LOCAL DIRECTORY

2014-02-14 Thread Sreenath
>>>> >>>>> On Fri, Feb 14, 2014 at 4:15 PM, Nitin Pawar >>>>> wrote: >>>>> >>>>>> when you are writing a file, it will need an application to create >>>>>> and write the file. >>>>>> Thats

Re: INSERT OVERWRITE LOCAL DIRECTORY

2014-02-14 Thread Nitin Pawar
>>>> >>>> >>>> On Fri, Feb 14, 2014 at 4:15 PM, Nitin Pawar >>>> wrote: >>>> >>>>> when you are writing a file, it will need an application to create and >>>>> write the file. >>>>> Thats why th

Re: INSERT OVERWRITE LOCAL DIRECTORY

2014-02-14 Thread Sreenath
>>> >>>> Where as for other way when its displayed on console, its just hdfs cat >>>> operation >>>> >>>> >>>> On Fri, Feb 14, 2014 at 4:13 PM, Sreenath wrote: >>>> >>>>> i have two queries >&

Re: INSERT OVERWRITE LOCAL DIRECTORY

2014-02-14 Thread Nitin Pawar
gt; >>> Where as for other way when its displayed on console, its just hdfs cat >>> operation >>> >>> >>> On Fri, Feb 14, 2014 at 4:13 PM, Sreenath wrote: >>> >>>> i have two queries >>>> 1. select * from tab1 limit 3; >

Re: INSERT OVERWRITE LOCAL DIRECTORY

2014-02-14 Thread Sreenath
file. >> Thats why the mapreduce job to create the file. >> >> Where as for other way when its displayed on console, its just hdfs cat >> operation >> >> >> On Fri, Feb 14, 2014 at 4:13 PM, Sreenath wrote: >> >>> i have two queries >>>

Re: INSERT OVERWRITE LOCAL DIRECTORY

2014-02-14 Thread shashwat shriparv
t 3; >> this returns the 3 rows quickly withoput launcing any map reduce jobs; >> >> 2. INSERT OVERWRITE LOCAL DIRECTORY "/tmp/query1/" select * from tab1 >> limit 3; >> but the same above query to write to a local directory launches a map >> r

Re: INSERT OVERWRITE LOCAL DIRECTORY

2014-02-14 Thread Nitin Pawar
> 1. select * from tab1 limit 3; > this returns the 3 rows quickly withoput launcing any map reduce jobs; > > 2. INSERT OVERWRITE LOCAL DIRECTORY "/tmp/query1/" select * from tab1 > limit 3; > but the same above query to write to a local directory launches a map > re

INSERT OVERWRITE LOCAL DIRECTORY

2014-02-14 Thread Sreenath
i have two queries 1. select * from tab1 limit 3; this returns the 3 rows quickly withoput launcing any map reduce jobs; 2. INSERT OVERWRITE LOCAL DIRECTORY "/tmp/query1/" select * from tab1 limit 3; but the same above query to write to a local directory launches a map reduce job

RE: How to change the separator of INSERT OVERWRITE LOCAL DIRECTORY

2013-06-19 Thread Tony Burton
erdata; From: Felix.徐 [mailto:ygnhz...@gmail.com] Sent: 29 May 2013 09:38 To: user@hive.apache.org Subject: How to change the separator of INSERT OVERWRITE LOCAL DIRECTORY Hi all, I am wondering how to change the fields separator of INSERT OVERWRITE LOCAL DIRECTORY , does anyone have expe

Re: How to change the separator of INSERT OVERWRITE LOCAL DIRECTORY

2013-05-29 Thread Ted Xu
he fields separator of INSERT OVERWRITE > LOCAL DIRECTORY , does anyone have experience doing this ? thanks! > -- Regards, Ted Xu

How to change the separator of INSERT OVERWRITE LOCAL DIRECTORY

2013-05-29 Thread Felix . 徐
Hi all, I am wondering how to change the fields separator of INSERT OVERWRITE LOCAL DIRECTORY , does anyone have experience doing this ? thanks!

Re: INSERT OVERWRITE LOCAL DIRECTORY -- Why it creates multiple files

2011-03-30 Thread Edward Capriolo
rmat. > > > > > - Original Message > From: Jov > To: user@hive.apache.org > Sent: Tue, March 29, 2011 10:22:32 PM > Subject: Re: INSERT OVERWRITE LOCAL DIRECTORY -- Why it creates multiple files > > try add limit: > > INSERT OVERWRITE LOCAL DIRE

Re: INSERT OVERWRITE LOCAL DIRECTORY -- Why it creates multiple files

2011-03-30 Thread V.Senthil Kumar
LOCAL DIRECTORY -- Why it creates multiple files try add limit: INSERT OVERWRITE LOCAL DIRECTORY '/home/hdp-user/hiveadmin_dirs/outbox/apachetest' Select host, identity, user, time, request from raw_apachelog where ds = '2011-03-22-001500' limit 32; 2011/3/30 V.Senthil Ku

Re: INSERT OVERWRITE LOCAL DIRECTORY -- Why it creates multiple files

2011-03-29 Thread Jov
try add limit: INSERT OVERWRITE LOCAL DIRECTORY '/home/hdp-user/hiveadmin_dirs/outbox/apachetest' Select host, identity, user, time, request from raw_apachelog where ds = '2011-03-22-001500' limit 32; 2011/3/30 V.Senthil Kumar : > Hello, > > I have a hive query w

INSERT OVERWRITE LOCAL DIRECTORY -- Why it creates multiple files

2011-03-29 Thread V.Senthil Kumar
Hello, I have a hive query which does a simple select and writes the results to a local file system. For example, a query like this, INSERT OVERWRITE LOCAL DIRECTORY '/home/hdp-user/hiveadmin_dirs/outbox/apachetest' Select host, identity, user, time, request from raw_apachelog