Re: Test Case Failed

2023-02-01 Thread Sai Hemanth Gantasala
Hi, You can set the below configuration at the beginning of the file 'acid_nullscan.q' > --! qt:replace:/(\s+totalSize\s+)\S+(\s+)/$1#Masked#$2/ > and run the following command 'mvn test -Dtest=TestCliDriver -Dqfile=acid_nullscan.q -Dtest.output.overwrite=true' to gen

Test Case Failed

2023-02-01 Thread onRoad
Hello, I use hive-3.1.2 and hive-3.1.3 to run test case. The case acid_nullscan.q is failed. This is confused. Would you please give some advice. Thank you very much. The result is: --- Test set

Re: Hive 3 has big performance improvement from my test

2023-01-08 Thread Sungwoo Park
Our claim is based on TPC-DS results reported in https://www.datamonad.com/post/2022-04-01-spark-hive-performance-1.4/ for 1) and https://www.datamonad.com/post/2021-08-18-spark-mr3/ for 2). Not sure about what you mean by 'Hive ability on handling MR'. One may draw different conclusions from the s

Re: Hive 3 has big performance improvement from my test

2023-01-08 Thread Mich Talebzadeh
What bothers me is that you are making sweeping statements about Spark inability to handle quote " ... the key weakness of Spark is 1) its poor performance when executing concurrent queries and 2) its poor resource utilization when executing multiple Spark applications concurrently" and conversely

Re: Hive 3 has big performance improvement from my test

2023-01-07 Thread Sungwoo Park
> > > [image: image.png] > > from your posting, the result is amazing. glad to know hive on mr3 has > that nice performance. > Hive on MR3 is similar to Hive-LLAP in performance, so we can interpret the above result as Hive being much faster than SparkSQL. For executing concurrent queries, the per

Re: Hive 3 has big performance improvement from my test

2023-01-07 Thread David
ve-performance-1.4/ >> >> Sungwoo >> >> >> On Fri, Jan 6, 2023 at 12:35 PM ypeng wrote: >> >>> Hello, >>> >>> Just from my personal testing, Hive 3.1.3 has much better performance >>> than the old ones. >>> It's even as fast as Spark by using the default mr engine. >>> My test process and dataset, >>> >>> https://blog.crypt.pw/Another-10-million-dataset-testing-for-Spark-and-Hive >>> >>> Thanks. >>> >>

Re: Hive 3 has big performance improvement from my test

2023-01-07 Thread ypeng
Hive 3.1.3 has much better performance >> than the old ones. >> It's even as fast as Spark by using the default mr engine. >> My test process and dataset, >> >> https://blog.crypt.pw/Another-10-million-dataset-testing-for-Spark-and-Hive >> >> Thanks. >> >

Re: Hive 3 has big performance improvement from my test

2023-01-07 Thread Mich Talebzadeh
onal testing, Hive 3.1.3 has much better performance than > the old ones. > It's even as fast as Spark by using the default mr engine. > My test process and dataset, > https://blog.crypt.pw/Another-10-million-dataset-testing-for-Spark-and-Hive > > Thanks. >

Re: Hive 3 has big performance improvement from my test

2023-01-07 Thread Sungwoo Park
Just from my personal testing, Hive 3.1.3 has much better performance than > the old ones. > It's even as fast as Spark by using the default mr engine. > My test process and dataset, > https://blog.crypt.pw/Another-10-million-dataset-testing-for-Spark-and-Hive > > Thanks. >

Hive 3 has big performance improvement from my test

2023-01-05 Thread ypeng
Hello, Just from my personal testing, Hive 3.1.3 has much better performance than the old ones. It's even as fast as Spark by using the default mr engine. My test process and dataset, https://blog.crypt.pw/Another-10-million-dataset-testing-for-Spark-and-Hive Thanks.

BeeJU (unit test framework for Hive metastore and Hiveserver2) 3.0.0 release

2019-09-06 Thread Mass Dosage
Hello Hive users, For those of you using Hive services like the Metastore, Thrift Metastore Service and HiveServer2 we have a new 3.0.0 release of BeeJU which provides simple JUnit integrations to ease testing of these. The 3.0.0 release provides first class support for JUnit5 via its extension me

(Hive 2.3.4 on Hadoop 2.8.5) : Compilation failure: Compilation failure: [ERROR] /apache-hive-2.3.4-src/shims/common/src/main/test/org/apache/hadoop/hive/io/

2018-11-27 Thread Ascot Moss
Hi, Does Hive 2.3.4 support Hadoop 2.8.x? When compiling Hive 2.3.4 on Hadoop 2.8.5, I got the following errors: Finding: 1) Hive 2.3.4 on Hadoop 2.7.7 no problem 2) Hive 2..3.4 on Hadoop 2.8.5, 7 errors [ERROR] /apache-hive-2.3.4-src/shims/common/src/main/test/org/apache/hadoop/hive/io

test

2018-04-06 Thread Amit
test

Does hive/ql/src/test/queries/clientpositive/avro_decimal.q violate avro schema evolution?

2016-11-21 Thread RD
schema having a decimal data type of decimal(4,1) . This test produces correct results* (because the AvroSerde uses the file schema and not the reader schema to read the decimal type)* but is the schema evolution for the decimal type valid? Avro schema evolution spec is not very clear what is a

Re: How to pass the TestHplsqlDb test in hive-hplsql?

2016-08-18 Thread unmesha sreeveni
Bch G Ggg Vghh V Gf G Ck Vjf Fj Fuff Hfg Fhfhhf Ggg Chbg Gh Gjg Jf Gugghhgg Fvgv G Gv G On Aug 1, 2016 1:57 PM, "Dmitry Tolpeko" wrote: > Hi Emerson, > > I did not commit TestHplsqlDb.java since Apache Pre-commit test starts > executing it, and I did not

Re: How to pass the TestHplsqlDb test in hive-hplsql?

2016-08-01 Thread Zhenyi Zhao
Thank you Dmitry, I found it. If I want integrate my database (like hive) with hplsql, is there any test case suite to estimate its compatibility ? Emerson 2016-08-01 20:18 GMT+08:00 Dmitry Tolpeko : > Please try to find them in ./ql/src/test/queries/clientpositive directory > (see

Re: How to pass the TestHplsqlDb test in hive-hplsql?

2016-08-01 Thread Dmitry Tolpeko
Please try to find them in ./ql/src/test/queries/clientpositive directory (see topn.q file for example). Thanks, Dmitry On Mon, Aug 1, 2016 at 11:34 AM, Zhenyi Zhao wrote: > Hi Dmitry, > > Thank you for your answer. you said “*src* and *sample_07* are > sample tables suppli

Re: How to pass the TestHplsqlDb test in hive-hplsql?

2016-08-01 Thread Zhenyi Zhao
re-commit test starts > executing it, and I did not manage how to pass it (there are connection > errors). I can commit it as java_ to prevent execution, or someone can help > with connection errors. > > Some table DDLs are here: > https://github.com/apache/hive/blob/master

Re: How to pass the TestHplsqlDb test in hive-hplsql?

2016-08-01 Thread Dmitry Tolpeko
Hi Emerson, I did not commit TestHplsqlDb.java since Apache Pre-commit test starts executing it, and I did not manage how to pass it (there are connection errors). I can commit it as java_ to prevent execution, or someone can help with connection errors. Some table DDLs are here: https

How to pass the TestHplsqlDb test in hive-hplsql?

2016-07-31 Thread Zhenyi Zhao
Hi all, There is a unit test class named "TestHplsqlDb.java" I found at http://www.hplsql.org/downloads/hplsql-0.3.17-src.zip. But I want to know why this class dose't exsit at https://github.com/apache/hive/tree/master/hplsql. Now I want to test the hplsql‘s compatibility with

Test failure

2016-07-18 Thread Zhu Li
Hi all, I went through Hive developer guide, built hive code successfully and then ran "mvn test". But I got the following error: ---

Re: Test

2016-05-29 Thread Igor Kravzov
thanks guys. On Sun, May 29, 2016 at 2:31 PM, Markovitz, Dudu wrote: > Hi J > > > > *From:* Igor Kravzov [mailto:igork.ine...@gmail.com] > *Sent:* Sunday, May 29, 2016 8:02 PM > *To:* user@hive.apache.org > *Subject:* Test > > > > Please someone reply. Not sure if subscribed properly >

RE: Test

2016-05-29 Thread Markovitz, Dudu
Hi ☺ From: Igor Kravzov [mailto:igork.ine...@gmail.com] Sent: Sunday, May 29, 2016 8:02 PM To: user@hive.apache.org Subject: Test Please someone reply. Not sure if subscribed properly

Re: Test

2016-05-29 Thread Mich Talebzadeh
yep Dr Mich Talebzadeh LinkedIn * https://www.linkedin.com/profile/view?id=AAEWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw * http://talebzadehmich.wordpress.com On 29 May 2016 at 18:01, Igor Kravzov wrote: > Plea

Test

2016-05-29 Thread Igor Kravzov
Please someone reply. Not sure if subscribed properly

Re: hive --service metatool -listFSRoot Unable to open a test connection to the given database. JDBC url = jdbc:mysql://hostnamehive?createDatabaseIfNotExist=true, username = hive

2016-02-10 Thread Margus Roo
-Original Message- From: Margus Roo [mailto:mar...@roo.ee] Sent: 10 February 2016 09:05 To: user@hive.apache.org Subject: Re: hive --service metatool -listFSRoot Unable to open a test connection to the given database. JDBC url = jdbc:mysql://hostnamehive?createDatabaseIfNotExist=true, usern

RE: hive --service metatool -listFSRoot Unable to open a test connection to the given database. JDBC url = jdbc:mysql://hostnamehive?createDatabaseIfNotExist=true, username = hive

2016-02-10 Thread Mich Talebzadeh
-Original Message- From: Margus Roo [mailto:mar...@roo.ee] Sent: 10 February 2016 09:05 To: user@hive.apache.org Subject: Re: hive --service metatool -listFSRoot Unable to open a test connection to the given database. JDBC url = jdbc:mysql://hostnamehive?createDatabaseIfNotExist=true,

Re: hive --service metatool -listFSRoot Unable to open a test connection to the given database. JDBC url = jdbc:mysql://hostnamehive?createDatabaseIfNotExist=true, username = hive

2016-02-10 Thread Margus Roo
Does thous lines meaning that I have embedded metastore? 16/02/10 03:34:23 INFO DataNucleus.Datastore: The class "org.apache.hadoop.hive.metastore.model.MFieldSchema" is tagged as "embedded-only" so does not have its own datastore table. 16/02/10 03:34:23 INFO DataNucleus.Datastore: The class "

hive --service metatool -listFSRoot Unable to open a test connection to the given database. JDBC url = jdbc:mysql://hostnamehive?createDatabaseIfNotExist=true, username = hive

2016-02-10 Thread Margus Roo
vel2 unknown - will be ignored 16/02/10 03:45:06 ERROR Datastore.Schema: Failed initialising database. Unable to open a test connection to the given database. JDBC url = jdbc:mysql://bigdata29/hive?createDatabaseIfNotExist=true, username = hive. Terminating connection pool (set lazyInit to true if

Test Error building hive

2015-12-29 Thread Colm McHugh
with this test? Is there something I need to do to get the tests to work in this environment? (Mac os x, java 1.8, maven 3.3.3). I do not have the CLASSPATH environment variable set, is that necessary? It's not mentioned in the getting starting guide. Any help appreciated. Build command: $

Test framework for hive

2015-11-30 Thread Amey Barve
Hello All, I want to test a hive storage handler, What is the best way to do so? Any test framework that I can use to test with all of hive versions. I also have another question: Can anybody point me to hive test/s that supports all hive data types and then insertion and retrieval of data on to

Re: exporting and importing a schema/database from Hive Test to Hive DEV

2015-11-11 Thread Chetna C
Hi Ashok, You can achieve this by either sharing same metastore between test and dev instance. With isolated access to databases , say test-user and dev-user, where dev-user can access all test databases.Or you can use Hive/LanguageManual+ImportExport <https://cwiki.apache.org/conflue

exporting and importing a schema/database from Hive Test to Hive DEV

2015-11-11 Thread Ashok Kumar
Hi gurus, What is the easiest way of exporting one database in Hive in Test and importing it to say DEV database in another instance. How metastore at target will handle this please? Thanks 

test from Ahmed Mosaad

2015-04-17 Thread Ahmed Mosaad
test 17/4/2015

Re: adding a local jar for UDF test

2015-04-01 Thread Alexander Pivovarov
I can suggest 3 options 1. you can use JUnit test to test your UDF (e.g. TestGenericUDFLastDay) 2. you can create q file and test your UDF via mvn (look at udf_last_day.q) mvn clean install -DskipTests -Phadoop-2 cd itest/qtest mvn test -Dtest=TestCliDriver -Dqfile=udf_last_day.q

adding a local jar for UDF test

2015-04-01 Thread Alex Bohr
Hi, I'm developing a new UDF. I want to be able to test the new jar as I develop without having to copy the Jar up to HDFS every time I change code and recompile the Jar. I'm using Hive CLI for testing, and adding this command: add jar 'file:///home/abohr/test/hive-udf-1.0-SNAPS

RE: How to run TestCliDriver Unit Test

2014-10-28 Thread Xu, Cheng A
Test + hive user group. :) -- Forwarded message -- From: Gordon Wang mailto:gw...@pivotal.io>> Date: Tue, Oct 28, 2014 at 11:22 AM Subject: How to run TestCliDriver Unit Test To: d...@hive.apache.org<mailto:d...@hive.apache.org> Hi all, I am working on a hive issue a

RE: How to run TestCliDriver Unit Test

2014-10-28 Thread Xu, Cheng A
Test + hive user group. :) -- Forwarded message -- From: Gordon Wang mailto:gw...@pivotal.io>> Date: Tue, Oct 28, 2014 at 11:22 AM Subject: How to run TestCliDriver Unit Test To: d...@hive.apache.org<mailto:d...@hive.apache.org> Hi all, I am working on a hive issue a

Re: How to run TestCliDriver Unit Test

2014-10-27 Thread Xuefu Zhang
You need to run the command in itests directory. --Xuefu On Mon, Oct 27, 2014 at 8:41 PM, Gordon Wang wrote: > + hive user group. :) > > -- Forwarded message -- > From: Gordon Wang > Date: Tue, Oct 28, 2014 at 11:22 AM > Subject: How to run TestCliDriver

Fwd: How to run TestCliDriver Unit Test

2014-10-27 Thread Gordon Wang
+ hive user group. :) -- Forwarded message -- From: Gordon Wang Date: Tue, Oct 28, 2014 at 11:22 AM Subject: How to run TestCliDriver Unit Test To: d...@hive.apache.org Hi all, I am working on a hive issue and I want to add a Unit test for hive query parser. Before hive 0.13

Re: Smoke Test after 1 days 7 hours 5 minutes 19 seconds 70 msec, Failed with Error: GC overhead limit exceeded

2014-10-13 Thread Suhas Gogate
gt; > I have managed to resolve the issue by turning the SQL. > > Regards > Arthur > > On 12 Oct, 2014, at 6:49 am, arthur.hk.c...@gmail.com < > arthur.hk.c...@gmail.com> wrote: > > Hi, > > My Hive version is 0.13.1, I tried a smoke test, after 1 days 7 hours

Re: Smoke Test after 1 days 7 hours 5 minutes 19 seconds 70 msec, Failed with Error: GC overhead limit exceeded

2014-10-13 Thread arthur.hk.c...@gmail.com
Hi, I have managed to resolve the issue by turning the SQL. Regards Arthur On 12 Oct, 2014, at 6:49 am, arthur.hk.c...@gmail.com wrote: > Hi, > > My Hive version is 0.13.1, I tried a smoke test, after 1 days 7 hours 5 > minutes 19 seconds 70 msec, the job failed with erro

Smoke Test after 1 days 7 hours 5 minutes 19 seconds 70 msec, Failed with Error: GC overhead limit exceeded

2014-10-11 Thread arthur.hk.c...@gmail.com
Hi, My Hive version is 0.13.1, I tried a smoke test, after 1 days 7 hours 5 minutes 19 seconds 70 msec, the job failed with error: Error: GC overhead limit exceeded LOG: 2014-10-12 06:16:07,288 Stage-6 map = 100%, reduce = 50%, Cumulative CPU 425.35 sec 2014-10-12 06:16:12,431 Stage-6 map

Re: Hive Full embedded for test

2014-10-07 Thread Yoel Benharrous
> the hardwark of downloading etc. I made hive-test because running a hive q > tests takes way to long INHO. > > On Tue, Oct 7, 2014 at 12:12 PM, Yoel Benharrous < > yoel.benharr...@gmail.com> wrote: > >> It was my first feeling browsing the source code ... :( >&g

Re: Hive Full embedded for test

2014-10-07 Thread Edward Capriolo
The only other way to accomplish this is building .q tests inside hive source code. In the end I believe that still forks a hadoop but it does all the hardwark of downloading etc. I made hive-test because running a hive q tests takes way to long INHO. On Tue, Oct 7, 2014 at 12:12 PM, Yoel

Re: Hive Full embedded for test

2014-10-07 Thread Yoel Benharrous
;> https://github.com/edwardcapriolo/hive_test >>> >>> On Tuesday, October 7, 2014, Yoel Benharrous >>> wrote: >>> >>>> Hi, >>>> >>>> I need to test hive request in a full local mode. >>>> >>>> For the metas

Re: Hive Full embedded for test

2014-10-07 Thread Edward Capriolo
rd Capriolo : > >> Check out. >> https://github.com/edwardcapriolo/hive_test >> >> On Tuesday, October 7, 2014, Yoel Benharrous >> wrote: >> >>> Hi, >>> >>> I need to test hive request in a full local mode. >>> >>> For

Re: Hive Full embedded for test

2014-10-07 Thread Yoel Benharrous
>> Hi, >> >> I need to test hive request in a full local mode. >> >> For the metastore, no problem to start in an embedded mode. >> I'm using hive jdbc. >> >> My problem is that the ExecDriver try to launch /usr/bin/hadoop.

Re: Hive Full embedded for test

2014-10-07 Thread Edward Capriolo
Check out. https://github.com/edwardcapriolo/hive_test On Tuesday, October 7, 2014, Yoel Benharrous wrote: > Hi, > > I need to test hive request in a full local mode. > > For the metastore, no problem to start in an embedded mode. > I'm using hive jdbc. > > My probl

Hive Full embedded for test

2014-10-07 Thread Yoel Benharrous
Hi, I need to test hive request in a full local mode. For the metastore, no problem to start in an embedded mode. I'm using hive jdbc. My problem is that the ExecDriver try to launch /usr/bin/hadoop. is there a way to launch in a full embedded mode? (from a provided jar)

RE: Hive trunk unit test failed

2014-02-26 Thread java8964
OK. Now I understand that this error is due to missing the Hadoop native library. If I manually add "libhadoop.so" into java.library.path for this unit test, it passed. So either the hadoop 2.2.0 coming from Maven reponsitory includes 32bit of hadoop native library, or totally miss

Hive trunk unit test failed

2014-02-26 Thread java8964
Hi, I tried to run the all tests in my local Linux x64 of current Hive trunk code. My "mvn clean package -DskipTests -Phadoop-2 -Pdist" will work fine if I skip tests. The following unit test failed, and then it stopped. I traced the code down to a native method i

Calling Community to Test Feature of pyhs2 on Kerberized Hive

2014-02-13 Thread Brad Ruderman
request and I was hoping someone could quickly test it against a kerberized hive implementation. I don't have a kerberized hive instance to test. https://github.com/BradRuderman/pyhs2/pull/10 Thanks, Brad

Unit test failed because of statistics mismatch?

2014-01-08 Thread Ted Xu
/tedxu/src/hive.trunk/itests/qtest/../../ql/src/test/results/clientpositive/alter_partition_coltype.q.out 116c116 < numRows: 0 dataSize: 216 basicStatsState: PARTIAL colStatsState: COMPLETE --- > numRows: 25 dataSize: 191 basicStatsState: COMPLETE colStat

Error while running junit test for hive in eclipse

2013-09-27 Thread Xiu Guo
I compiled Hive trunk source code using: ant clean package eclipse-files and run a junit test on command line just fine: ant test -Dtestcase=TestCliDriver -Dqfile=auto_join25.q -Dmodule=ql -Dtest.silent=false However, when imported into eclipse and run the same test, it throws

Re: Hive unit test errors

2013-09-09 Thread Sushanth Sowmyan
if we > could add that to the unit test documentation. It's not intuitive to me b/c > some tests did run w/out that. After setting that, the unit tests seem to > run fine. > > Thanks, > > Eric > > > On Fri, Sep 6, 2013 at 2:27 AM, Eric Chu wrote: >> >

Re: Hive unit test errors

2013-09-09 Thread Edward Capriolo
rote: > > I found out what I missed - I needed to set JAVA_HOME. It'd be good if we > > could add that to the unit test documentation. It's not intuitive to me > b/c > > some tests did run w/out that. After setting that, the unit tests seem to > > run fine. > &

Re: Hive unit test errors

2013-09-06 Thread Eric Chu
I found out what I missed - I needed to set JAVA_HOME. It'd be good if we could add that to the unit test documentation. It's not intuitive to me b/c some tests did run w/out that. After setting that, the unit tests seem to run fine. Thanks, Eric On Fri, Sep 6, 2013 at 2:27 AM, Eric

Re: Hive unit test errors

2013-09-04 Thread Sushanth Sowmyan
ive 11 (with a few patches such as 4619, > 4003, 4403, 4900, 3632, 4942) and encountering compile-test errors. I got > the same thing when I ran on Trunk or just the 11 branch. Is there something > I'm missing? Note that I could build and run Hive w/out problems. > > Commands: >

error in running ant test (please help)

2013-06-03 Thread ur lops
Hi, When I run the hive test case, I keep getting the following error: [echo] Project: serde [javac] Compiling 36 source files to /home/john/dev/hive-0.9.0-Intel/src/build/serde/test/classes [javac] TestAvroSerdeUtils.java:24: cannot find symbol [javac] symbol : class

test

2013-04-22 Thread 麦树荣

Re: Hive sample test

2013-03-08 Thread Ramki Palle
ole thing in a single process. Not "lightning >> fast", >> > but faster. >> > >> > dean >> > >> > On Tue, Mar 5, 2013 at 12:48 PM, Joey D'Antoni >> wrote: >> >> >> >> Just add a limit 1 to the end of y

Re: Hive sample test

2013-03-05 Thread Dean Wampler
query. > >> > >> > >> > >> > >> On Mar 5, 2013, at 1:45 PM, Kyle B wrote: > >> > >> Hello, > >> > >> I was wondering if there is a way to quick-verify a Hive query before it > >> is run against a big dataset? Th

Re: Hive sample test

2013-03-05 Thread Mark Grover
B wrote: >> >> Hello, >> >> I was wondering if there is a way to quick-verify a Hive query before it >> is run against a big dataset? The tables I am querying against have millions >> of records, and I'd like to verify my Hive query before I run it ag

Re: Hive sample test

2013-03-05 Thread Dean Wampler
; > > > On Mar 5, 2013, at 1:45 PM, Kyle B wrote: > > Hello, > > I was wondering if there is a way to quick-verify a Hive query before it > is run against a big dataset? The tables I am querying against have > millions of records, and I'd like to verify my Hive query

RE: Hive sample test

2013-03-05 Thread Connell, Chuck
Using the Hive sampling feature would also help. This is exactly what that feature is designed for. Chuck From: Kyle B [mailto:kbi...@gmail.com] Sent: Tuesday, March 05, 2013 1:45 PM To: user@hive.apache.org Subject: Hive sample test Hello, I was wondering if there is a way to quick-verify

Re: Hive sample test

2013-03-05 Thread Joey D'Antoni
x27;d like to verify my Hive query before I run it against all > records. > > Is there a way to test the query against a small subset of the data, without > going into full MapReduce? As silly as this sounds, is there a way to > MapReduce without the overhead of MapReduce? That w

Hive sample test

2013-03-05 Thread Kyle B
Hello, I was wondering if there is a way to quick-verify a Hive query before it is run against a big dataset? The tables I am querying against have millions of records, and I'd like to verify my Hive query before I run it against all records. Is there a way to test the query against a

RE: hive test faild ,Permission denied

2012-06-04 Thread Chinna Rao Lalam
Hi, Try by giving permissions to that file. From: Hezhiqiang (Ransom) [ransom.hezhiqi...@huawei.com] Sent: Tuesday, June 05, 2012 8:56 AM To: user@hive.apache.org Cc: Zhaojun (Terry) Subject: hive test faild ,Permission denied Hi all. When I run

hive test faild ,Permission denied

2012-06-04 Thread Hezhiqiang (Ransom)
Hi all. When I run : ant -Dhadoop.version=1.0.0 clean package test tar -logfile ant.log The test was faild . how to solve it? This is the log. [junit] Number of reduce tasks is set to 0 since there's no reduce operator [junit] java.io.IOException: Cannot run program "hive-0.9-test

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

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

2011-08-02 Thread Chinna
where can I get the error log for test case running 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 th

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

2011-08-02 Thread Fang Fang FF Chen
Subject Please respond to Re: Is there a way to run a test user@hive.apache. about some class

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 ru

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

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 Tes

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 / 陈芳芳

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

2011-08-01 Thread Devaraj K
You can run all the unit test with the command ant test, or you can run a specific unit test with the command ant -Dtestcase= test (for example ant -Dtestcase=TestFileSystem test). Refer : https://cwiki.apache.org/confluence/display/Hive/HowToContribute Devaraj K _ From

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

2011-08-01 Thread Fang Fang FF Chen
Every time I run tests with "ant tests", it will lasted for a long time. Now I just want to run some test(i.e Test org.apache.hadoop.hive.cli.TestCliDriver). Is there a command or a way which is available for my idea? Thank you. Thanks. Regards, FangFang

Re: HIVE ODBC test fails at testing with isql

2011-01-06 Thread Ning Zhang
I guess libodbc.so is the one you renamed from libodbchive.so? If so can you ldd libodbc.so and see what other .so files are linked? You can follow the links and do the ldd check for all necessary .so files (libodbchive.so, libhiveclient.so and libthrift.so). Also please make sure all these .so

Re: HIVE ODBC test fails at testing with isql

2011-01-06 Thread vaibhav negi
es > like /usr/local, /lib, etc, since this can cause hard to find problems > weeks > or months later. > > One good way to keep things sane (and what I recommend you try doing now) > is to create a subdirectory in your home directory (e.g. $HOME/local) and > install > all of your

Re: HIVE ODBC test fails at testing with isql

2011-01-05 Thread Carl Steinbach
to keep things sane (and what I recommend you try doing now) is to create a subdirectory in your home directory (e.g. $HOME/local) and install all of your test software there. In other words, build unixODBC again, but this time specify that you want the software installed to $HOME/local by running co

Re: HIVE ODBC test fails at testing with isql

2011-01-05 Thread vaibhav negi
HI Ning , output of ldd isql is :- [r...@vmlinux3 ~]# ldd /usr/local/bin/isql linux-gate.so.1 => (0x00d7a000) libodbc.so.1 => /usr/local/lib/libodbc.so.1 (0x0045c000) libdl.so.2 => /lib/libdl.so.2 (0x00548000) libreadline.so.5 => /usr/lib/libreadline.so.5 (0x005ea

Re: HIVE ODBC test fails at testing with isql

2011-01-05 Thread Ning Zhang
It looks like isql cannot find the dynamically linked libraries. Can you ldd isql and see if all dynamically linked libraries are correct? On Jan 5, 2011, at 5:29 AM, vaibhav negi wrote: > Hi Carl, > > Downloaded the patched version of unixODBC from the given link and > installed successfully

Re: HIVE ODBC test fails at testing with isql

2011-01-05 Thread vaibhav negi
Hi Carl, Downloaded the patched version of unixODBC from the given link and installed successfully . libodbchive.so gets generated in /usr/local/lib . But still the error persists. error output when i run isql hive [-]SQL_SUCCESS [-]hEnv = $09BF20A0 phDbc = $0804E2FC [-]SQL_SUCCESS

Re: HIVE ODBC test fails at testing with isql

2011-01-05 Thread Carl Steinbach
Hi Vaibhav, > i cannot find libodbchive.so in /usr/local/lib . So i defined odbc hive > driver as libodbc.so . Is that the problem? > > libodbc.so is the ODBC DriverManager library provided by unixODBC. You should not rename or symlink this file. I think your problem is that you forgot to patch t

HIVE ODBC test fails at testing with isql

2011-01-04 Thread vaibhav negi
Hi All, i set hive odbc wrapper using directions given in http://wiki.apache.org/hadoop/Hive/HiveODBC . When i test it with isql it says [ISQL]ERROR: Could not SQLConnect i have hive server started on localhost:1 and specified this information in odbc.ini. odbcinst -j output unixODBC

Re: Does anyone get past TestEmbeededHiveMetaStore in ant test?

2010-12-03 Thread Ashutosh Chauhan
This happens because you have a slower machine :) In this test HiveMetaStore is brought up in separate thread and then current thread sleeps for 5 secs, hoping MetaStore will be up by then. On heavily loaded machine (or slow machines) 5 seconds may be too less. Change TestRemoteHiveMetaStore.java

Does anyone get past TestEmbeededHiveMetaStore in ant test?

2010-12-03 Thread Edward Capriolo
test: [junit] Running org.apache.hadoop.hive.metastore.TestEmbeddedHiveMetaStore [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 34.192 sec [junit] BR.recoverFromMismatchedToken [junit] Running org.apache.hadoop.hive.metastore.TestRemoteHiveMetaStore [junit

Re: Backtrace when running build/odbc/test/HiveClientTestC (from trunk)

2010-12-02 Thread Saptarshi Guha
Hi Carl, Excellent - setting to 0/1 worked. The links were informative. Thanks again for the help. Regards Saptarshi From: Carl Steinbach Date: December 2, 2010 8:12:47 AM PST To: user@hive.apache.org Subject: Re: Backtrace when running build/odbc/test/HiveClientTestC (from trunk) Reply-To

Re: Backtrace when running build/odbc/test/HiveClientTestC (from trunk)

2010-12-02 Thread Carl Steinbach
I/root/hive/odbc/src/cpp > -L/root/hive/build/odbc/lib -L/usr/local/lib -lhiveclient -lthrift -ofoo > x.cpp > > > Cheers > Saptarshi/Joy > > From: Saptarshi Guha > Date: December 1, 2010 1:15:10 PM PST > To: user@hive.apache.org > Subject: Backtrace when runn

Re: Backtrace when running build/odbc/test/HiveClientTestC (from trunk)

2010-12-01 Thread Saptarshi Guha
build/odbc/lib -L/usr/local/lib -lhiveclient -lthrift -ofoo x.cpp Cheers Saptarshi/Joy From: Saptarshi Guha Date: December 1, 2010 1:15:10 PM PST To: user@hive.apache.org Subject: Backtrace when running build/odbc/test/HiveClientTestC (from trunk) > Hello, > > Do

Backtrace when running build/odbc/test/HiveClientTestC (from trunk)

2010-12-01 Thread Saptarshi Guha
Hello, Does anyone get a backtrace when running HiveClientTestC? On an EC2 instance with Hive (0.6.0), i checked out the trunk (RELEASE_NOTEST.txt says 0.6.0) of Hive and compiled the client. ant compile-cpp -Dthrift.home=/usr/local Copied the odbc/testdata/ to /tmp and ran build/odbc/test

hive client test fails

2010-11-14 Thread Eyal
HI, I am trying to run the odbc test in hive and I get this error *ant test -Dthrift.home=/media/sda1/thrift-0.5.0* Buildfile: build.xml check-word-size: check-thrift-home: test: [exec] LD_LIBRARY_PATH=/media/sda1/hive/build/odbc/lib:/media/sda1/thrift-0.5.0/lib:/home/ebarila/bin

Hive 0.5 Unit TestParse Test Case Failures

2010-10-11 Thread Stephen Watt
Hi Folks I'm working on getting Hive 0.5 working on Apache Harmony and IBM Java 6. I've almost got it passing everything running "ant clean test tar", but at least half the asserts in the TestParse TestCase are failing with the AssertionFailedError's of "Unexp