This is an automated email from the ASF dual-hosted git repository.

xxyu pushed a commit to branch kylin-on-parquet-v2
in repository https://gitbox.apache.org/repos/asf/kylin.git

commit 7431240a7a8d868cbceba25cfb5b0d66c428cb66
Author: tianhui5 <tianh...@xiaomi.com>
AuthorDate: Thu May 14 18:34:49 2020 +0800

    KYLIN-4496: Metric data missing
    
    (cherry picked from commit 278aababa11fff222327ec6b6f73e659b147b8d7)
---
 .../main/java/org/apache/kylin/metrics/lib/impl/hive/HiveProducer.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/metrics-reporter-hive/src/main/java/org/apache/kylin/metrics/lib/impl/hive/HiveProducer.java
 
b/metrics-reporter-hive/src/main/java/org/apache/kylin/metrics/lib/impl/hive/HiveProducer.java
index da267d2..a96b261 100644
--- 
a/metrics-reporter-hive/src/main/java/org/apache/kylin/metrics/lib/impl/hive/HiveProducer.java
+++ 
b/metrics-reporter-hive/src/main/java/org/apache/kylin/metrics/lib/impl/hive/HiveProducer.java
@@ -114,6 +114,7 @@ public class HiveProducer {
 
     public void close() {
         tableFieldSchemaCache.cleanUp();
+        closeFout();
     }
 
     public void send(final Record record) throws Exception {

Reply via email to