okumin commented on code in PR #5705:
URL: https://github.com/apache/hive/pull/5705#discussion_r2009005336


##########
ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/handler/CompactionCleaner.java:
##########
@@ -255,27 +255,8 @@ private void cleanUsingAcidDir(CompactionInfo ci, String 
location, long minOpenT
     }
   }
 
-  protected LockRequest createLockRequest(CompactionInfo ci) {
-    String agentInfo = Thread.currentThread().getName();
-    LockRequestBuilder requestBuilder = new LockRequestBuilder(agentInfo);
-    requestBuilder.setUser(ci.runAs);
-    requestBuilder.setTransactionId(0);
-
-    LockComponentBuilder lockCompBuilder = new LockComponentBuilder()

Review Comment:
   We can remove unused imports
   
https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=5705&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true



-- 
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