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 org.apache.hadoop.log.metrics.EventCounter in all the log4j.properties files. [junit] WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please use org.apache.hadoop.log.metrics.EventCounter in all the log4j.properties files. [junit] rmr: cannot remove ../build/test_dboutput_db: No such file or directory. [junit] Exception: Client Execution failed with error code = -1 [junit] See build/ql/tmp/hive.log, or try "ant test ... -Dtest.silent=false" to get more logs. [junit] junit.framework.AssertionFailedError: Client Execution failed with error code = -1 [junit] See build/ql/tmp/hive.log, or try "ant test ... -Dtest.silent=false" to get more logs. [junit] at junit.framework.Assert.fail(Assert.java:47) [junit] at org.apache.hadoop.hive.cli.TestContribCliDriver.testCliDriver_dboutput (TestContribCliDriver.java:133) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:60) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:37) [junit] at java.lang.reflect.Method.invoke(Method.java:611) [junit] at junit.framework.TestCase.runTest(TestCase.java:154) [junit] at junit.framework.TestCase.runBare(TestCase.java:127) [junit] at junit.framework.TestResult$1.protect (TestResult.java:106) [junit] at junit.framework.TestResult.runProtected (TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:118) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) [junit] at junit.framework.TestSuite.run(TestSuite.java:203) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run (JUnitTestRunner.java:518) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch (JUnitTestRunner.java:1052) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main (JUnitTestRunner.java:906) My question is: 1. where the ../build/test_dboutput_db file is built? 2. I saw the following cmds in dboutput.q: [junit] FROM src [junit] [junit] SELECT dboutput ( 'jdbc:derby:../build/test_dboutput_db;create=true','','', [junit] 'CREATE TABLE app_info ( kkey INTEGER NOT NULL, vvalue VARCHAR (255) NOT NULL, UNIQUE(kkey))' ), [junit] [junit] dboutput('jdbc:derby:../build/test_dboutput_db','','', [junit] 'INSERT INTO app_info (kkey,vvalue) VALUES (?,?)','20','a'), [junit] [junit] dboutput('jdbc:derby:../build/test_dboutput_db','','', [junit] 'INSERT INTO app_info (kkey,vvalue) VALUES (?,?)','20','b') Can I run the dboutput cmds? If yes, how to run?
Thanks. Regards, FangFang CHEN / 陈芳芳 ---------------------------------- BigInsights Team, CDL Phone: 86-10-82453744 ----------------------------------