hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1078907 - in /hive/branches/branch-0.7/contrib/src/test: queries/clientnegative/url_hook.q queries/clientpositive/url_hook.q results/clientnegative/url_hook.q.out results/clientpositive/url_hook.q.out
Date Mon, 07 Mar 2011 19:49:34 GMT
Author: jvs
Date: Mon Mar  7 19:49:33 2011
New Revision: 1078907

URL: http://svn.apache.org/viewvc?rev=1078907&view=rev
Log:
HIVE-1939. Fix test failure in TestContribCliDriver/url_hook.q
(Carl Steinbach via jvs)


Added:
    hive/branches/branch-0.7/contrib/src/test/queries/clientnegative/url_hook.q
    hive/branches/branch-0.7/contrib/src/test/results/clientnegative/url_hook.q.out
Removed:
    hive/branches/branch-0.7/contrib/src/test/queries/clientpositive/url_hook.q
    hive/branches/branch-0.7/contrib/src/test/results/clientpositive/url_hook.q.out

Added: hive/branches/branch-0.7/contrib/src/test/queries/clientnegative/url_hook.q
URL: http://svn.apache.org/viewvc/hive/branches/branch-0.7/contrib/src/test/queries/clientnegative/url_hook.q?rev=1078907&view=auto
==============================================================================
--- hive/branches/branch-0.7/contrib/src/test/queries/clientnegative/url_hook.q (added)
+++ hive/branches/branch-0.7/contrib/src/test/queries/clientnegative/url_hook.q Mon Mar  7
19:49:33 2011
@@ -0,0 +1,9 @@
+add jar ${system:build.dir}/hive-contrib-${system:hive.version}.jar;
+set hive.metastore.force.reload.conf=true;
+SHOW TABLES 'src';
+set hive.metastore.ds.connection.url.hook=org.apache.hadoop.hive.contrib.metastore.hooks.TestURLHook;
+SHOW TABLES 'src';
+SHOW TABLES 'src';
+set hive.metastore.force.reload.conf=false;
+set hive.metastore.ds.connection.url.hook=;
+SHOW TABLES 'src';

Added: hive/branches/branch-0.7/contrib/src/test/results/clientnegative/url_hook.q.out
URL: http://svn.apache.org/viewvc/hive/branches/branch-0.7/contrib/src/test/results/clientnegative/url_hook.q.out?rev=1078907&view=auto
==============================================================================
--- hive/branches/branch-0.7/contrib/src/test/results/clientnegative/url_hook.q.out (added)
+++ hive/branches/branch-0.7/contrib/src/test/results/clientnegative/url_hook.q.out Mon Mar
 7 19:49:33 2011
@@ -0,0 +1,9 @@
+PREHOOK: query: SHOW TABLES 'src'
+PREHOOK: type: SHOWTABLES
+POSTHOOK: query: SHOW TABLES 'src'
+POSTHOOK: type: SHOWTABLES
+src
+PREHOOK: query: SHOW TABLES 'src'
+PREHOOK: type: SHOWTABLES
+FAILED: Error in metadata: ERROR: The database default does not exist.
+FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask



Mime
View raw message