Return-Path: X-Original-To: apmail-kylin-commits-archive@minotaur.apache.org Delivered-To: apmail-kylin-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 12A3318085 for ; Thu, 22 Oct 2015 07:08:32 +0000 (UTC) Received: (qmail 7863 invoked by uid 500); 22 Oct 2015 07:08:32 -0000 Delivered-To: apmail-kylin-commits-archive@kylin.apache.org Received: (qmail 7835 invoked by uid 500); 22 Oct 2015 07:08:32 -0000 Mailing-List: contact commits-help@kylin.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kylin.incubator.apache.org Delivered-To: mailing list commits@kylin.incubator.apache.org Received: (qmail 7826 invoked by uid 99); 22 Oct 2015 07:08:31 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2015 07:08:31 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 6CC021A21B9 for ; Thu, 22 Oct 2015 07:08:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.23 X-Spam-Level: X-Spam-Status: No, score=-3.23 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id jKXebqSkDR63 for ; Thu, 22 Oct 2015 07:08:30 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with SMTP id 5E93523270 for ; Thu, 22 Oct 2015 07:08:30 +0000 (UTC) Received: (qmail 7821 invoked by uid 99); 22 Oct 2015 07:08:30 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2015 07:08:30 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 11D83E0A9F; Thu, 22 Oct 2015 07:08:30 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: qhzhou@apache.org To: commits@kylin.incubator.apache.org Date: Thu, 22 Oct 2015 07:08:31 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [2/2] incubator-kylin git commit: minor set MR sampling default percentage to 100 minor set MR sampling default percentage to 100 Project: http://git-wip-us.apache.org/repos/asf/incubator-kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-kylin/commit/a2425c0b Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/a2425c0b Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/a2425c0b Branch: refs/heads/2.x-staging Commit: a2425c0b4be8eb581e2916a493b8f897437a0372 Parents: 801a792 Author: qianhao.zhou Authored: Thu Oct 15 16:07:09 2015 +0800 Committer: qianhao.zhou Committed: Wed Oct 21 14:47:20 2015 +0800 ---------------------------------------------------------------------- build/conf/kylin.properties | 4 ++-- .../src/main/java/org/apache/kylin/common/KylinConfig.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/a2425c0b/build/conf/kylin.properties ---------------------------------------------------------------------- diff --git a/build/conf/kylin.properties b/build/conf/kylin.properties index 5b56f31..fe953fc 100644 --- a/build/conf/kylin.properties +++ b/build/conf/kylin.properties @@ -51,8 +51,8 @@ kylin.job.cubing.inMem=true #default compression codec for htable,snappy,lzo,gzip,lz4 kylin.hbase.default.compression.codec=snappy -#the percentage of the sampling, default 25% -kylin.job.cubing.inMem.sampling.percent=25 +#the percentage of the sampling, default 100% +kylin.job.cubing.inMem.sampling.percent=100 # The cut size for hbase region, in GB. # E.g, for cube whose capacity be marked as "SMALL", split region per 10GB by default http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/a2425c0b/core-common/src/main/java/org/apache/kylin/common/KylinConfig.java ---------------------------------------------------------------------- diff --git a/core-common/src/main/java/org/apache/kylin/common/KylinConfig.java b/core-common/src/main/java/org/apache/kylin/common/KylinConfig.java index 5f8fb07..709e5aa 100644 --- a/core-common/src/main/java/org/apache/kylin/common/KylinConfig.java +++ b/core-common/src/main/java/org/apache/kylin/common/KylinConfig.java @@ -505,7 +505,7 @@ public class KylinConfig implements Serializable { } public int getCubingInMemSamplingPercent() { - int percent = Integer.parseInt(this.getOptional(KYLIN_JOB_CUBING_IN_MEM_SAMPLING_PERCENT, "5")); + int percent = Integer.parseInt(this.getOptional(KYLIN_JOB_CUBING_IN_MEM_SAMPLING_PERCENT, "100")); percent = Math.max(percent, 1); percent = Math.min(percent, 100); return percent;