[ 
https://issues.apache.org/jira/browse/HIVE-26804?focusedWorklogId=841981&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-841981
 ]

ASF GitHub Bot logged work on HIVE-26804:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 27/Jan/23 11:24
            Start Date: 27/Jan/23 11:24
    Worklog Time Spent: 10m 
      Work Description: 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))





Issue Time Tracking
-------------------

    Worklog Id:     (was: 841981)
    Time Spent: 4h 50m  (was: 4h 40m)

> Cancel Compactions in initiated state
> -------------------------------------
>
>                 Key: HIVE-26804
>                 URL: https://issues.apache.org/jira/browse/HIVE-26804
>             Project: Hive
>          Issue Type: New Feature
>          Components: Hive
>            Reporter: KIRTI RUGE
>            Assignee: KIRTI RUGE
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 4h 50m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to