Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D086D200D0B for ; Wed, 13 Sep 2017 01:26:29 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CECBE1609C8; Tue, 12 Sep 2017 23:26:29 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 20FD11609B4 for ; Wed, 13 Sep 2017 01:26:28 +0200 (CEST) Received: (qmail 77839 invoked by uid 500); 12 Sep 2017 23:26:28 -0000 Mailing-List: contact reviews-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@impala.incubator.apache.org Received: (qmail 77814 invoked by uid 99); 12 Sep 2017 23:26:28 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Sep 2017 23:26:28 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A50C9C91DA for ; Tue, 12 Sep 2017 23:26:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.363 X-Spam-Level: X-Spam-Status: No, score=0.363 tagged_above=-999 required=6.31 tests=[RDNS_DYNAMIC=0.363, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id HFb3XJsA7cAQ for ; Tue, 12 Sep 2017 23:26:27 +0000 (UTC) Received: from ip-10-146-233-104.ec2.internal (ec2-75-101-130-251.compute-1.amazonaws.com [75.101.130.251]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id BC1B45F6CB for ; Tue, 12 Sep 2017 23:26:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ip-10-146-233-104.ec2.internal (8.14.4/8.14.4) with ESMTP id v8CNQPKq030301; Tue, 12 Sep 2017 23:26:25 GMT Date: Tue, 12 Sep 2017 23:26:25 +0000 From: "Tianyi Wang (Code Review)" To: Marcel Kornacker , impala-cr@cloudera.com, reviews@impala.incubator.apache.org Message-ID: Reply-To: twang@cloudera.com X-Gerrit-MessageType: newchange Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-3516=3A_Avoid_writing_to_/tmp_in_testing=0A?= X-Gerrit-Change-Id: I9e503eb7d333c1b89dc8aea87cf30504838c44f9 X-Gerrit-ChangeURL: X-Gerrit-Commit: 4cd5ed6c4e97a8088db82add18904c6863c474ca MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.12.7 archived-at: Tue, 12 Sep 2017 23:26:30 -0000 Tianyi Wang has uploaded a new change for review. http://gerrit.cloudera.org:8080/8047 Change subject: IMPALA-3516: Avoid writing to /tmp in testing ...................................................................... IMPALA-3516: Avoid writing to /tmp in testing Currently some parts of the tests write to /tmp: 1. PlannerTest result files are written to /tmp/PlannerTest 2. FE tests load libfesupport, which writes logs to /tmp 3. Updated results in EE tests (run-tests.py --update_results) is written to /tmp This patch changes them into writing to $IMPALA_HOME/logs. Specifically: 1. PlannerTest result files are written to $IMPALA_FE_TEST_LOGS_DIR/PlannerTest 2. libfesupport logs are written to $IMPALA_FE_TEST_LOGS_DIR 3. Updated EE test results are written to $IMPALA_EE_TEST_LOGS_DIR Change-Id: I9e503eb7d333c1b89dc8aea87cf30504838c44f9 --- M be/src/service/fe-support.cc M fe/src/test/java/org/apache/impala/planner/PlannerTestBase.java M tests/common/impala_test_suite.py 3 files changed, 8 insertions(+), 2 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/47/8047/1 -- To view, visit http://gerrit.cloudera.org:8080/8047 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9e503eb7d333c1b89dc8aea87cf30504838c44f9 Gerrit-PatchSet: 1 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Tianyi Wang