hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remus Rusanu <>
Subject RE: How do you run single query test(s) after mavenization?
Date Mon, 18 Nov 2013 14:35:44 GMT
Nevermind, discovered

cd itests/qtest
mvn test -Dtest=TestCliDriver

I still get failures, but at least now I can investigate

Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 31.9 sec <<< FAILURE!
- in org.apache.hadoop.hive.cli.TestCliDriver
initializationError(org.apache.hadoop.hive.cli.TestCliDriver)  Time elapsed: 0.005 sec  <<<
java.lang.AssertionError: null
        at org.apache.hadoop.hive.ql.QTestUtil.getHdfsUriString(
        at org.apache.hadoop.hive.ql.QTestUtil.convertPathsFromWindowsToHdfs(
        at org.apache.hadoop.hive.ql.QTestUtil.initConf(
        at org.apache.hadoop.hive.ql.QTestUtil.<init>(
        at org.apache.hadoop.hive.cli.TestCliDriver.<clinit>(

From: Remus Rusanu []
Sent: Monday, November 18, 2013 2:30 PM
Cc: Ashutosh Chauhan; Tony Murphy (HDINSIGHT); Eric Hanson (SQL SERVER)
Subject: How do you run single query test(s) after mavenization?

I'm trying to run as per the updated Contributing guide<>:

mvn test -Dtest=TestCliDriver "-Dqfile=vectorized_mapjoin.q"

(The guide actually recommends -Dcase=TestCliDriver but using -Dcase executes all tests. In
fact -Dtest=... is recommended just few lines above, I guess -Dcase=... is a typo)

But the run succeeds w/o actually executing any query test (I tried removing -Dqfile= and
does not make any difference).

I attached the output of the mvn test -Dtest=TestCliDriver run, if it sheds any light.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message