Re: How to install UDF jar into Hive server

2011-08-02 Thread Ayon Sinha
So if I have a web-client calling the Hive server, will step 1 & 2 need to be executed for every call as a sequence (that would be inconvenient). I really want this UDF to be available to every user of our web interface. They shouldn't need to know where the jar is.   -Ayon See My Photos on Flic

RE: How to install UDF jar into Hive server

2011-08-02 Thread Chinna
Hi, For example u have an UDF jar like lower.jar (Here u have the implementation for the lower function) in /home/myjars location. if it is Hive CLI or Hive Server or web client... what mode u r using there u need to execute the following queries 1. You need to add the jar to Hive

Re: Hive-HBase Integration - Jar question

2011-08-02 Thread Carl Steinbach
Hi Neerja, Ordinarily a POM for the hive-hbase-handler would be available from Cloudera's Maven repository, but it looks like we haven't generated one. We will get this resolved in CDH3u2. You can track progress on this issue here: https://issues.cloudera.org/browse/DISTRO-286 thrift-fb303-0.5.

TestContribCliDriver test case failed because of " rmr: cannot remove ../build/test_dboutput_db: No such file or directory."

2011-08-02 Thread Fang Fang FF Chen
Hello, I am running TestContribCliDriver test case, there is a failure and the failure information is: [junit] Running org.apache.hadoop.hive.cli.TestContribCliDriver [junit] Begin query: dboutput.q [junit] WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please use o

Re: How to install UDF jar into Hive server

2011-08-02 Thread Ayon Sinha
Thanks Chinna. Unfortunately this doesn't say how to install it such that the HiveServer is able to use this jar. Examples in this wiki link does it all in the Hive CLI.   -Ayon See My Photos on Flickr Also check out my Blog for answers to commonly asked questions.

RE: where can I get the error log for test case running

2011-08-02 Thread Chinna
In the below location u can find the log files {build.dir} /{module}/tmp Here {module} can be "ql" or "metasotre" etc -Chinna Rao Lalam _ From: Fang Fang FF Chen [mailto:ffche...@cn.ibm.com] Sent: Tuesday, August 02, 2011 3:26 PM To: user@hive.apache.org Subject: where can I get the

RE: How to install UDF jar into Hive server

2011-08-02 Thread Chinna
Hi, In the below link this section " creating custom UDFs" will help u ... https://cwiki.apache.org/confluence/display/Hive/HivePlugins - Chinna Rao Lalam _ From: Ayon Sinha [mailto:ayonsi...@yahoo.com] Sent: Wednesday, August 03, 2011 9:09 AM To: Hive Mailinglist Subje

How to install UDF jar into Hive server

2011-08-02 Thread Ayon Sinha
Hi, I have UDF jar that I need to install so that the Hive web clients can execute that function. Can someone point me to the doc that describes it?   -Ayon See My Photos on Flickr Also check out my Blog for answers to commonly asked questions.

Re: NPE with hive.cli.print.header=true;

2011-08-02 Thread Carl Steinbach
I was able to reproduce the problem with USE on trunk and filed HIVE-2334, but the problem with DESC appears to have already been fixed. On Tue, Aug 2, 2011 at 5:51 AM, Edward Capriolo wrote: > I am sure we can have a nicer return for the clients submit a jira. Check > if one is open first. > > >

Question about sorted tables

2011-08-02 Thread Ajo Fod
Hello Hive Gurus, I am not sure if my system is using the sorting feature. In summary: - I expected to save time on the sorting step because I was using pre-sorted data, but the query plan seem to indicate an intermediate sorting step. === The Setup ===

Re: Is there a way to run a test about some class?

2011-08-02 Thread Fang Fang FF Chen
Harsh, thank you for your explanation. Thanks. Regards, FangFang CHEN / 陈芳芳 -- BigInsights Team, CDL Phone: 86-10-82453744 -- Harsh J

Re: Is there a way to run a test about some class?

2011-08-02 Thread Harsh J
Although the compile target is run, no recompilation is done if the build/* files already exist. You shouldn't face too much of a slowdown. FWIW, I load tests up in an IDE and run them directly {when,where}ever I can. 2011/8/2 Fang Fang FF Chen > Thank you. > I just want to run some test cases

Re: NPE with hive.cli.print.header=true;

2011-08-02 Thread Edward Capriolo
I am sure we can have a nicer return for the clients submit a jira. Check if one is open first. On Tuesday, August 2, 2011, wrote: > Hi Ayon > AFAIK hive is supposed to behave so. If you set the hive.cli.print.header=true for enabling column headers then some commands like 'desc' is not expected

where can I get the error log for test case running

2011-08-02 Thread Fang Fang FF Chen
Hello, I want to run every test case with other hadoop version(i.e. hadoop-0.20.203). But many test cases failed with the same information: Tests run: 1, Failures: 0, Errors: 1, Time elapsed... I want to locate the error, but did not find the error log for test case running. Do you have any sugges

RE: Is there a way to run a test about some class?

2011-08-02 Thread Fang Fang FF Chen
Thank you. I just want to run some test cases more than once. I am finding a way to shorten the rum time for each test. Thanks. Regards, FangFang CHEN / 陈芳芳 -- BigInsights Team, CDL Phone: 86-10-82453744 --

RE: Is there a way to run a test about some class?

2011-08-02 Thread Chinna
Hi, org.apache.hadoop.hive.cli.TestCliDriver this test class will generate at time of compile. For compiling we no need to any changes in build.xml's. What exception u r getting pls let me know. more details u can find in the same link this section "Add a Unit Test" https://cwiki.apa

RE: Is there a way to run a test about some class?

2011-08-02 Thread Fang Fang FF Chen
Thank you, Devaraj K. I have another question: is there a way to run test without compile? It seems I should to modify build-commen.xml and build.xml files. Could you please tell me the details(i.e. how to modify build-commen.xml and build.xml files)? Thanks. Regards, FangFang CHEN / 陈芳芳 -