Aggarwal-Raghav commented on code in PR #6273:
URL: https://github.com/apache/hive/pull/6273#discussion_r2709000852


##########
ql/src/java/org/apache/hadoop/hive/ql/ddl/misc/msck/MsckOperation.java:
##########
@@ -50,12 +53,33 @@
  * and partitions that are either missing on disk on in the metastore.
  */
 public class MsckOperation extends DDLOperation<MsckDesc> {
+
+  private static final Logger LOG = 
LoggerFactory.getLogger(MsckOperation.class);
+  private static final SessionState.LogHelper CONSOLE = new 
SessionState.LogHelper(LOG);

Review Comment:
   I checked this in my setup, the msck functionality is working as expected ✅ 
but the `CONSOLE` logs are not getting printed on beeline ⚠️. I think it should 
be as follows. Can you please confirm once?
   ```
   private static final SessionState.LogHelper CONSOLE = 
SessionState.getConsole();
   ```
   
   With `new SessionState.LogHelper(LOG);`
   <img width="1512" height="444" alt="Image" 
src="https://github.com/user-attachments/assets/43afc0e4-ddb7-4730-b35c-3e01cec1b7b6";
 />
   
   With `SessionState.getConsole()`
   <img width="1144" height="295" alt="Image" 
src="https://github.com/user-attachments/assets/7e0d769e-81bf-4f02-a71c-02f05d0a993b";
 />



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