rkirtir commented on code in PR #3880:
URL: https://github.com/apache/hive/pull/3880#discussion_r1088849317


##########
ql/src/test/org/apache/hadoop/hive/ql/TestTxnCommands2.java:
##########
@@ -3458,14 +3458,14 @@ public void testAbortCompaction() throws Exception {
     runStatementOnDriver("alter table mydb1.tbl1" + " PARTITION(ds='today') 
compact 'MAJOR'");
     TestTxnCommands2.runWorker(hiveConf);
 
-    runStatementOnDriver("drop table if exists T1");
-    runStatementOnDriver("create table T1 (a int, b int) stored as orc 
TBLPROPERTIES ('transactional'='true')");
-    runStatementOnDriver("insert into T1 values(0,2)");//makes delta_1_1 in T1
-    runStatementOnDriver("insert into T1 values(1,4)");//makes delta_2_2 in T2
+    runStatementOnDriver("drop table if exists myT1");
+    runStatementOnDriver("create table myT1 (a int, b int) stored as orc 
TBLPROPERTIES ('transactional'='true')");
+    runStatementOnDriver("insert into myT1 values(0,2)");//makes delta_1_1 in 
T1
+    runStatementOnDriver("insert into myT1 values(1,4)");//makes delta_2_2 in 
T2
 
     //create failed compaction attempt so that compactor txn is aborted
     HiveConf.setBoolVar(hiveConf, 
HiveConf.ConfVars.HIVETESTMODEFAILCOMPACTION, true);
-    runStatementOnDriver("alter table T1 compact 'minor'");
+    runStatementOnDriver("alter table myT1 compact 'minor'");

Review Comment:
   With T/T1 test passes locally but fails on jenkins.
   
   
http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-3880/8/tests/
   
   java.lang.RuntimeException: create table t1 (a int, b int) stored as orc 
TBLPROPERTIES ('serialization.null.format'='', 'transactional'='true') failed: 
(responseCode = 40000, errorMessage = FAILED: Execution Error, return code 
40000 from org.apache.hadoop.hive.ql.ddl.DDLTask. 
AlreadyExistsException(message:Table hive.default.t1 already exists), 
hiveErrorCode = 40000, SQLState = 08S01, exception = 
AlreadyExistsException(message:Table hive.default.t1 already exists))



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to