You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by ta...@apache.org on 2016/04/12 23:18:42 UTC

[08/50] incubator-impala git commit: deploy: allow overriding of IMPALA_KUDU_PARCEL_URL

deploy: allow overriding of IMPALA_KUDU_PARCEL_URL

This is useful when testing an IMPALA_KUDU parcel in an on-demand
Jenkins repo.

Change-Id: I93f86f171e4cc6611d9714d7c58d943f296e43ff
Reviewed-on: http://gerrit.cloudera.org:8080/2634
Reviewed-by: Casey Ching <ca...@cloudera.com>
Tested-by: Casey Ching <ca...@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/35dfbafa
Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/35dfbafa
Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/35dfbafa

Branch: refs/heads/master
Commit: 35dfbafab6f83d7197248a9264fdcac805bdbc30
Parents: 76b6748
Author: Adar Dembo <ad...@cloudera.com>
Authored: Fri Mar 25 15:33:12 2016 -0700
Committer: Casey Ching <ca...@cloudera.com>
Committed: Fri Mar 25 23:05:52 2016 +0000

----------------------------------------------------------------------
 infra/deploy/deploy.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/35dfbafa/infra/deploy/deploy.py
----------------------------------------------------------------------
diff --git a/infra/deploy/deploy.py b/infra/deploy/deploy.py
index 322ca52..bf36e07 100644
--- a/infra/deploy/deploy.py
+++ b/infra/deploy/deploy.py
@@ -30,12 +30,14 @@
 
 import argparse
 import hashlib
+import os
 import re
 import time
 
 from cm_api.api_client import ApiResource
 
-IMPALA_KUDU_PARCEL_URL = "http://archive.cloudera.com/beta/impala-kudu/parcels/latest"
+IMPALA_KUDU_PARCEL_URL = os.getenv("IMPALA_KUDU_PARCEL_URL",
+                                   "http://archive.cloudera.com/beta/impala-kudu/parcels/latest")
 IMPALA_KUDU_PARCEL_PRODUCT = "IMPALA_KUDU"
 MAX_PARCEL_REPO_WAIT_SECS = 60
 MAX_PARCEL_WAIT_SECS = 60 * 30