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 178C8200B98 for ; Mon, 3 Oct 2016 18:08:19 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 16356160ADC; Mon, 3 Oct 2016 16:08:19 +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 5099A160ACD for ; Mon, 3 Oct 2016 18:08:18 +0200 (CEST) Received: (qmail 97133 invoked by uid 500); 3 Oct 2016 16:08:17 -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 97122 invoked by uid 99); 3 Oct 2016 16:08:17 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2016 16:08:17 +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 B03461A78DE for ; Mon, 3 Oct 2016 16:08:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.362 X-Spam-Level: X-Spam-Status: No, score=0.362 tagged_above=-999 required=6.31 tests=[RDNS_DYNAMIC=0.363, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id EofR-KcASMWg for ; Mon, 3 Oct 2016 16:08:14 +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 7D8735F365 for ; Mon, 3 Oct 2016 16:08:14 +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 u93G8Dvi026486; Mon, 3 Oct 2016 16:08:13 GMT Message-Id: <201610031608.u93G8Dvi026486@ip-10-146-233-104.ec2.internal> Date: Mon, 3 Oct 2016 16:08:13 +0000 From: "Jim Apple (Code Review)" To: Jim Apple , impala-cr@cloudera.com, reviews@impala.incubator.apache.org CC: Matthew Jacobs , David Knupp , Taras Bobrovytsky , Alex Behm , Michael Brown Reply-To: jbapple@cloudera.com X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_Don=27t_assume_that_AUX_exists_just_because_a_shell_variable_is_set=0A?= X-Gerrit-Change-Id: Ieffb6d52c5f95d3257de8c47a039ccb0d45f0867 X-Gerrit-ChangeURL: X-Gerrit-Commit: a6ab3671da0e360c95bbdadfada4a3d419896d45 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.12.2 archived-at: Mon, 03 Oct 2016 16:08:19 -0000 Jim Apple has posted comments on this change. Change subject: Don't assume that AUX exists just because a shell variable is set ...................................................................... Patch Set 2: (1 comment) http://gerrit.cloudera.org:8080/#/c/4563/2/tests/run-custom-cluster-tests.sh File tests/run-custom-cluster-tests.sh: PS2, Line 40: then : impala-py.test custom_cluster/ authorization/ "${AUX_CUSTOM_DIR}" \ : --junitxml="${RESULTS_DIR}/TEST-impala-custom-cluster.xml" \ : --resultlog="${RESULTS_DIR}/TEST-impala-custom-cluster.log" "$@" : else : impala-py.test custom_cluster/ authorization/ \ : --junitxml="${RESULTS_DIR}/TEST-impala-custom-cluster.xml" \ : --resultlog="${RESULTS_DIR}/TEST-impala-custom-cluster.log" "$@" : fi > I don't like the code repetition, and it's not clear right away what the di Done -- To view, visit http://gerrit.cloudera.org:8080/4563 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ieffb6d52c5f95d3257de8c47a039ccb0d45f0867 Gerrit-PatchSet: 2 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Jim Apple Gerrit-Reviewer: Alex Behm Gerrit-Reviewer: David Knupp Gerrit-Reviewer: Jim Apple Gerrit-Reviewer: Matthew Jacobs Gerrit-Reviewer: Michael Brown Gerrit-Reviewer: Taras Bobrovytsky Gerrit-HasComments: Yes