peanut-chenzhong opened a new issue #2955:
URL: https://github.com/apache/hudi/issues/2955


   **Describe the problem you faced**
   
   When using hudi-cli.sh to manage hudi table, once we run the temp_* command, 
there won`t be any response print out for any other command.
   
   **To Reproduce**
   
   Steps to reproduce the behavior:
   
   1.Run hudi-cli.sh.
   2.Execute command: temp_query --sql 'show tables'.
   3.Excute command:help.
   4.The result won`t print out.
   
   **Expected behavior**
   
   The other commands` result won`t be compacted by temp command and print out 
normal as before.
   
   **Environment Description**
   
   * Hudi version : from 0.7 to 0.8
   
   * Spark version : from 2.4.5 to 3.1.1
   
   * Hive version : 3.1.0
   
   * Hadoop version : 3.1.1
   
   * Storage (HDFS/S3/GCS..) : HDFS
   
   * Running on Docker? (yes/no) :no
   
   
   **Additional context**
   
   List some info we found so far as below:
   The issue behavior 
   
![image](https://user-images.githubusercontent.com/58263343/118420184-cc3eb500-b6f0-11eb-9fb0-d19b95ca4a9f.png)
   This mainly caused by the log level is hard code to ERROR in 
SparkTempViewProvider.java
   After we delete the hard code level the result can print our but there`s 
still some issue like below:
   
![image](https://user-images.githubusercontent.com/58263343/118420515-9e0da500-b6f1-11eb-8d98-203cba255dd6.png)
   Sames after run temp command, the logHandler changed from JLineLogHandler to 
SLF4JBridgeHandler and we don`t know how to rollback.
   
   


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


Reply via email to