Return-Path: X-Original-To: apmail-hive-commits-archive@www.apache.org Delivered-To: apmail-hive-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C223618CE6 for ; Mon, 17 Aug 2015 20:47:21 +0000 (UTC) Received: (qmail 85641 invoked by uid 500); 17 Aug 2015 20:47:21 -0000 Delivered-To: apmail-hive-commits-archive@hive.apache.org Received: (qmail 85595 invoked by uid 500); 17 Aug 2015 20:47:21 -0000 Mailing-List: contact commits-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hive.apache.org Delivered-To: mailing list commits@hive.apache.org Received: (qmail 85584 invoked by uid 99); 17 Aug 2015 20:47:21 -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; Mon, 17 Aug 2015 20:47:21 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 6D83AE032D; Mon, 17 Aug 2015 20:47:21 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: prasanthj@apache.org To: commits@hive.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: hive git commit: HIVE-11575: Fix test failures in master due to log4j changes (Prasanth Jayachandran reviewed by Sergey Shelukhin) Date: Mon, 17 Aug 2015 20:47:21 +0000 (UTC) Repository: hive Updated Branches: refs/heads/master 9d8515df6 -> e0594099c HIVE-11575: Fix test failures in master due to log4j changes (Prasanth Jayachandran reviewed by Sergey Shelukhin) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/e0594099 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/e0594099 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/e0594099 Branch: refs/heads/master Commit: e0594099c2ea1652e49ff041c6dfb569f47a5912 Parents: 9d8515d Author: Prasanth Jayachandran Authored: Mon Aug 17 13:47:09 2015 -0700 Committer: Prasanth Jayachandran Committed: Mon Aug 17 13:47:09 2015 -0700 ---------------------------------------------------------------------- data/conf/hive-log4j2.xml | 5 ++--- data/conf/hive-site.xml | 6 ------ .../service/cli/operation/TestOperationLoggingAPIWithMr.java | 2 -- .../service/cli/operation/TestOperationLoggingAPIWithTez.java | 2 -- .../hive/service/cli/operation/TestOperationLoggingLayout.java | 2 -- 5 files changed, 2 insertions(+), 15 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/e0594099/data/conf/hive-log4j2.xml ---------------------------------------------------------------------- diff --git a/data/conf/hive-log4j2.xml b/data/conf/hive-log4j2.xml index 51173a0..11c8e79 100644 --- a/data/conf/hive-log4j2.xml +++ b/data/conf/hive-log4j2.xml @@ -25,7 +25,6 @@ DRFA ${sys:test.tmp.dir}/log hive.log - INFO @@ -95,8 +94,8 @@ - - + + http://git-wip-us.apache.org/repos/asf/hive/blob/e0594099/data/conf/hive-site.xml ---------------------------------------------------------------------- diff --git a/data/conf/hive-site.xml b/data/conf/hive-site.xml index 8f7fb28..a58017e 100644 --- a/data/conf/hive-site.xml +++ b/data/conf/hive-site.xml @@ -241,12 +241,6 @@ - hive.ql.log.PerfLogger.level - WARN,DRFA - Used to change the perflogger level - - - hive.fetch.task.conversion minimal http://git-wip-us.apache.org/repos/asf/hive/blob/e0594099/itests/hive-unit/src/test/java/org/apache/hive/service/cli/operation/TestOperationLoggingAPIWithMr.java ---------------------------------------------------------------------- diff --git a/itests/hive-unit/src/test/java/org/apache/hive/service/cli/operation/TestOperationLoggingAPIWithMr.java b/itests/hive-unit/src/test/java/org/apache/hive/service/cli/operation/TestOperationLoggingAPIWithMr.java index 920b563..0155b75 100644 --- a/itests/hive-unit/src/test/java/org/apache/hive/service/cli/operation/TestOperationLoggingAPIWithMr.java +++ b/itests/hive-unit/src/test/java/org/apache/hive/service/cli/operation/TestOperationLoggingAPIWithMr.java @@ -62,8 +62,6 @@ public class TestOperationLoggingAPIWithMr extends OperationLoggingAPITestBase{ }; hiveConf = new HiveConf(); hiveConf.set(ConfVars.HIVE_SERVER2_LOGGING_OPERATION_LEVEL.varname, "verbose"); - // We need to set the below parameter to test performance level logging - hiveConf.set("hive.ql.log.PerfLogger.level", "INFO,DRFA"); miniHS2 = new MiniHS2(hiveConf); confOverlay = new HashMap(); confOverlay.put(ConfVars.HIVE_SUPPORT_CONCURRENCY.varname, "false"); http://git-wip-us.apache.org/repos/asf/hive/blob/e0594099/itests/hive-unit/src/test/java/org/apache/hive/service/cli/operation/TestOperationLoggingAPIWithTez.java ---------------------------------------------------------------------- diff --git a/itests/hive-unit/src/test/java/org/apache/hive/service/cli/operation/TestOperationLoggingAPIWithTez.java b/itests/hive-unit/src/test/java/org/apache/hive/service/cli/operation/TestOperationLoggingAPIWithTez.java index 31f34b2..ab29861 100644 --- a/itests/hive-unit/src/test/java/org/apache/hive/service/cli/operation/TestOperationLoggingAPIWithTez.java +++ b/itests/hive-unit/src/test/java/org/apache/hive/service/cli/operation/TestOperationLoggingAPIWithTez.java @@ -40,8 +40,6 @@ public class TestOperationLoggingAPIWithTez extends OperationLoggingAPITestBase }; hiveConf = new HiveConf(); hiveConf.set(ConfVars.HIVE_SERVER2_LOGGING_OPERATION_LEVEL.varname, "verbose"); - // We need to set the below parameter to test performance level logging - hiveConf.set("hive.ql.log.PerfLogger.level", "INFO,DRFA"); // Change the engine to tez hiveConf.setVar(ConfVars.HIVE_EXECUTION_ENGINE, "tez"); // Set tez execution summary to false. http://git-wip-us.apache.org/repos/asf/hive/blob/e0594099/itests/hive-unit/src/test/java/org/apache/hive/service/cli/operation/TestOperationLoggingLayout.java ---------------------------------------------------------------------- diff --git a/itests/hive-unit/src/test/java/org/apache/hive/service/cli/operation/TestOperationLoggingLayout.java b/itests/hive-unit/src/test/java/org/apache/hive/service/cli/operation/TestOperationLoggingLayout.java index 93c16de..56f6a31 100644 --- a/itests/hive-unit/src/test/java/org/apache/hive/service/cli/operation/TestOperationLoggingLayout.java +++ b/itests/hive-unit/src/test/java/org/apache/hive/service/cli/operation/TestOperationLoggingLayout.java @@ -39,8 +39,6 @@ public class TestOperationLoggingLayout { tableName = "TestOperationLoggingLayout_table"; hiveConf = new HiveConf(); hiveConf.set(HiveConf.ConfVars.HIVE_SERVER2_LOGGING_OPERATION_LEVEL.varname, "execution"); - // We need to set the below parameter to test performance level logging - hiveConf.set("hive.ql.log.PerfLogger.level", "INFO,DRFA"); miniHS2 = new MiniHS2(hiveConf); confOverlay = new HashMap(); confOverlay.put(HiveConf.ConfVars.HIVE_SUPPORT_CONCURRENCY.varname, "false");