mdayakar commented on code in PR #6854:
URL: https://github.com/apache/hive/pull/6854#discussion_r4203667568


##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/PartitionManagementTask.java:
##########
@@ -125,7 +126,8 @@ public void run() {
         countDownLatch.await();
         executorService.shutdownNow();
       } catch (Exception e) {
-        LOG.error("Exception while running partition discovery task for table: 
" + qualifiedTableName, e);
+        String tableLogMsg = (qualifiedTableName != null) ? " for table: " + 
qualifiedTableName : "";
+        LOG.error("Exception while running partition discovery task{}", 
tableLogMsg, e);

Review Comment:
   Space is added in the appended `" for table: " + qualifiedTableName` string, 
if `qualifiedTableName` is null then no need to add a space at the end.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to