You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by dm...@apache.org on 2019/10/24 23:20:32 UTC

[hive] branch master updated: HIVE-18415: Lower 'Updating Partition Stats' Logging Level (David Mollitor, reviewed by Peter Vary)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 79d21ae  HIVE-18415: Lower 'Updating Partition Stats' Logging Level (David Mollitor, reviewed by Peter Vary)
79d21ae is described below

commit 79d21ae49f7dce41447cecda65456ac0245a43c8
Author: David Mollitor <dm...@apache.org>
AuthorDate: Thu Oct 24 19:19:31 2019 -0400

    HIVE-18415: Lower 'Updating Partition Stats' Logging Level (David Mollitor, reviewed by Peter Vary)
---
 .../org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java
index 5047737..a30b6bf 100644
--- a/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java
+++ b/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java
@@ -559,11 +559,11 @@ public class MetaStoreServerUtils {
     if (!madeDir) {
       // The partition location already existed and may contain data. Lets try to
       // populate those statistics that don't require a full scan of the data.
-      LOG.warn("Updating partition stats fast for: " + part.getTableName());
+      LOG.info("Updating partition stats fast for: {}", part.getTableName());
       List<FileStatus> fileStatus = wh.getFileStatusesForLocation(part.getLocation());
       // TODO: this is invalid for ACID tables, and we cannot access AcidUtils here.
       populateQuickStats(fileStatus, params);
-      LOG.warn("Updated size to " + params.get(StatsSetupConst.TOTAL_SIZE));
+      LOG.info("Updated size to {}", params.get(StatsSetupConst.TOTAL_SIZE));
       updateBasicState(environmentContext, params);
     }
     part.setParameters(params);