Re: Does hive have batch processing mode ?

2010-11-24 Thread james warren
Try the following: % hive -f myhive.file cheers, -James On Wed, Nov 24, 2010 at 11:37 PM, Jeff Zhang wrote: > Hi all, > > I have a bunch of files, and want to import them into one table each > partition per file. Currently, I have to enter each add partition > statement in cli. > > So I wonder

Does hive have batch processing mode ?

2010-11-24 Thread Jeff Zhang
Hi all, I have a bunch of files, and want to import them into one table each partition per file. Currently, I have to enter each add partition statement in cli. So I wonder whether hive have a batch processing mode, so that I can put the sql statements in one file, and execute the file using one

Re: Querying HBase

2010-11-24 Thread Xavier Stevens
Actually I think I have found the issue. I was trying to test this out before we upgraded. And we were having classpath conflicts which pointed to the old datanucleus JARs that came with hive 0.5. -Xavier On 11/24/10 11:00 AM, Xavier Stevens wrote: > Hi John, > > This definitely looks like the

Re: Querying HBase

2010-11-24 Thread Xavier Stevens
Hi John, This definitely looks like the issue you linked. I'm just using the default "datanucleus" for that configuration value. I see in the metastore ivy.xml. What version should I have? I see this in my build/dist/lib directory: -rw-r--r-- 1 xstevens staff16880 Jun 24 06:34 datanucl

RE: Hive/HBase integration issue.

2010-11-24 Thread Vivek Mishra
Added 1 post at: http://mevivs.wordpress.com/2010/11/24/hivehbase-integration/ Sharing it if is useful. Vivek -Original Message- From: Vivek Mishra Sent: Friday, November 19, 2010 10:36 AM To: Subject: RE: Hive/HBase integration issue. Hi, Just found that, It is related to HIVE-1264 JI