Re: Failure when using insert overwrite after upgrading to Hive 0.6.0

2010-12-07 Thread Ryan LeCompte
I just put the Hive log4j config file on DEBUG, and here is the error that I'm seeing: 2010-12-07 12:16:50,281 WARN mapred.JobClient (JobClient.java:configureCommandLineOptions(539)) - Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same. 2010-12-07

Re: Failure when using insert overwrite after upgrading to Hive 0.6.0

2010-12-07 Thread Ryan LeCompte
Digging even further, here's what I see: NOTE: We have a table in Hive called test_table but this seems to look for default.test_table ? ) 2010-12-07 00:52:24,600 ERROR metadata.Hive (Hive.java:getTable(357)) - NoSuchObjectException(message:default.test_table table not found) at

Re: Ctrl C and Hive ?

2010-12-07 Thread Edward Capriolo
On Tue, Dec 7, 2010 at 3:18 PM, Tali K ncherr...@hotmail.com wrote: 1) When I cancel hive job with Ctrl C, I noticed that java/hive processes still run on some of my nodes. I shutdown hadfoop, and restarted it, but noticed that  2 or 3 java/hadoop processes were still running on each node. So

RE: Ctrl C and Hive ?

2010-12-07 Thread Tali K
Thanks a lot for your quick reply!! Can you also explain also why command hive -e 'select produces output, prints OK, but give me a prompt only after 7-10 min? if I run hive shell, and do queries inside of shell I don't have such a behaviour. I see Ok , and sec after that I'll have

Are there any examples of simple UDAFs?

2010-12-07 Thread Leo Alekseyev
I am trying to write a very simple aggregation function which seems like an overkill for using GenericUDAF as described on the wiki. However, I can't get the code to run. It always throws an exception of the form java.lang.ClassNotFoundException:

Re: Are there any examples of simple UDAFs?

2010-12-07 Thread Tim Robertson
What about the count or max? http://svn.apache.org/repos/asf/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFCount.java http://svn.apache.org/repos/asf/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFMax.java I've not used UDAFs, but I only