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

nic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kylin.git


The following commit(s) were added to refs/heads/master by this push:
     new 278aaba  KYLIN-4496: Metric data missing
278aaba is described below

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

    KYLIN-4496: Metric data missing
---
 .../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 c2dcd7c..1ab3f89 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
@@ -123,6 +123,7 @@ public class HiveProducer {
 
     public void close() {
         tableFieldSchemaCache.cleanUp();
+        closeFout();
     }
 
     public void send(final Record record) throws Exception {

Reply via email to