deniskuzZ commented on a change in pull request #2079:
URL: https://github.com/apache/hive/pull/2079#discussion_r595910078
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Worker.java
##########
@@ -156,11 +144,17 @@ private void verifyTableIdHasNotChanged(CompactionInfo
ci, Table originalTable)
public void init(AtomicBoolean stop) throws Exception {
super.init(stop);
- StringBuilder name = new StringBuilder(hostname());
+ StringBuilder name = new StringBuilder(ServerUtils.hostname());
Review comment:
Could you extract this to getWorkerId()?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]