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 EA61A200CC2 for ; Wed, 5 Jul 2017 23:00:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E80EE16479F; Wed, 5 Jul 2017 21:00:22 +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 425EC16479E for ; Wed, 5 Jul 2017 23:00:22 +0200 (CEST) Received: (qmail 84378 invoked by uid 500); 5 Jul 2017 21:00:21 -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 84366 invoked by uid 99); 5 Jul 2017 21:00:21 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2017 21:00:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id B07A1C0157 for ; Wed, 5 Jul 2017 21:00:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-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-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id ksQlFmk9SCwb for ; Wed, 5 Jul 2017 21:00:19 +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-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 3938B5FC43 for ; Wed, 5 Jul 2017 21:00:19 +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 v65L0HQU014897; Wed, 5 Jul 2017 21:00:17 GMT Message-Id: <201707052100.v65L0HQU014897@ip-10-146-233-104.ec2.internal> Date: Wed, 5 Jul 2017 21:00:17 +0000 From: "Zach Amsden (Code Review)" To: impala-cr@cloudera.com, reviews@impala.incubator.apache.org CC: Jim Apple , David Knupp , Joe McDonnell Reply-To: zamsden@cloudera.com X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_Complete_guide_to_important_environment_variables_for_build=2C_test=2C_and_mini-cluster_operations=2E=0A?= X-Gerrit-Change-Id: I16d34cb4fa0c60c5ad6d9c8764cc0ec21c5cb368 X-Gerrit-ChangeURL: X-Gerrit-Commit: 5c6a734664f3b8887a4c5117f31e511ad15de67c 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.7 archived-at: Wed, 05 Jul 2017 21:00:23 -0000 Zach Amsden has posted comments on this change. Change subject: Complete guide to important environment variables for build, test, and mini-cluster operations. ...................................................................... Patch Set 1: (2 comments) > > I personally abhor Google docs as they just seem to get lost in > the > > Wiki-sea over time. If we are going to take time to document the > > various set of environment variables controlling important > aspects > > of the build, why not make that accessible to both the internal > and > > external developers by including it in the codebase. > > > > This is my first draft of the standard build settings. > > What about the Wiki, like this page: https://cwiki.apache.org/confluence/display/IMPALA/Bootstrapping+an+Impala+Development+Environment+From+Scratch Our wikis are pretty nice, and for things like ASAN, totally worth documenting separately, but for non-major features, keeping this up to date still requires updating things in two places. In experience, this isn't something people will do reliably unless forced. I think we could force at least minimal documentation by keeping a white-list of exported build variables and enforcing it with a pre-checkin lint rule. http://gerrit.cloudera.org:8080/#/c/7350/1/bin/impala-config.sh File bin/impala-config.sh: Line 440 > Speaking confidently as the only team member with a fine arts education, I' Glad to know that my alternative career as the artist Deth Leprikon remains a well kept secret. http://gerrit.cloudera.org:8080/#/c/7350/1/docs/Developer-Guide/Build-Environment.txt File docs/Developer-Guide/Build-Environment.txt: Line 1: Environment Variables: > How many of these are set in impala-config.sh, and how many are set by othe Additional docs will be forthcoming -- To view, visit http://gerrit.cloudera.org:8080/7350 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I16d34cb4fa0c60c5ad6d9c8764cc0ec21c5cb368 Gerrit-PatchSet: 1 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Zach Amsden Gerrit-Reviewer: David Knupp Gerrit-Reviewer: Jim Apple Gerrit-Reviewer: Joe McDonnell Gerrit-Reviewer: Zach Amsden Gerrit-HasComments: Yes