You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@impala.apache.org by "Taras Bobrovytsky (Code Review)" <ge...@cloudera.org> on 2016/07/13 00:10:28 UTC

[Impala-CR] IMPALA-3778: Fix ASF packaging build

Taras Bobrovytsky has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/3626

Change subject: IMPALA-3778: Fix ASF packaging build
......................................................................

IMPALA-3778: Fix ASF packaging build

The tarballs in IMPALA_HOME/infra/python/deps and the thirdparty
directory have been removed in the ASF repository. All Python
dependencies and CDH components must now be downloaded as part of every
build. This caused the ASF packaging build to fail. Before this patch,
we used the system pip to download the Python dependencies, which caused
flakiness and inconsistency on different operating systems. This patch
fixes the problem by using our own script (that requires Python 2.6+ to
be installed), to download all the files in requirements.txt.

Change-Id: Ibe5a743096cda2059bd330805d324983f6730e19
---
M bin/impala-config.sh
M infra/python/deps/download_requirements
A infra/python/deps/find_py26.py
M infra/python/deps/pip_download.py
M infra/python/deps/requirements.txt
5 files changed, 131 insertions(+), 72 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/26/3626/1
-- 
To view, visit http://gerrit.cloudera.org:8080/3626
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibe5a743096cda2059bd330805d324983f6730e19
Gerrit-PatchSet: 1
Gerrit-Project: Impala
Gerrit-Branch: master
Gerrit-Owner: Taras Bobrovytsky <tb...@cloudera.com>

[Impala-CR] IMPALA-3778: Fix ASF packaging build

Posted by "Jim Apple (Code Review)" <ge...@cloudera.org>.
Jim Apple has posted comments on this change.

Change subject: IMPALA-3778: Fix ASF packaging build
......................................................................


Patch Set 1:

(3 comments)

http://gerrit.cloudera.org:8080/#/c/3626/1/infra/python/deps/find_py26.py
File infra/python/deps/find_py26.py:

It would be good to have a top level comment explaining what the file does.

Also, a copyright header.


http://gerrit.cloudera.org:8080/#/c/3626/1/infra/python/deps/pip_download.py
File infra/python/deps/pip_download.py:

Line 18: def retry(func):
nice.


Line 71:         hash_index = line.find('#')
Can you add a comment explaining the line syntax, either here or at the top of the file?


-- 
To view, visit http://gerrit.cloudera.org:8080/3626
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ibe5a743096cda2059bd330805d324983f6730e19
Gerrit-PatchSet: 1
Gerrit-Project: Impala
Gerrit-Branch: master
Gerrit-Owner: Taras Bobrovytsky <tb...@cloudera.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Jim Apple <jb...@cloudera.com>
Gerrit-Reviewer: Taras Bobrovytsky <tb...@cloudera.com>
Gerrit-HasComments: Yes

[Impala-CR] IMPALA-3778: Fix ASF packaging build

Posted by "Taras Bobrovytsky (Code Review)" <ge...@cloudera.org>.
Taras Bobrovytsky has posted comments on this change.

Change subject: IMPALA-3778: Fix ASF packaging build
......................................................................


Patch Set 1:

(3 comments)

http://gerrit.cloudera.org:8080/#/c/3626/1/bin/impala-config.sh
File bin/impala-config.sh:

Line 74: echo $NO_THIRDPARTY
> remove
Done


http://gerrit.cloudera.org:8080/#/c/3626/1/infra/python/deps/find_py26.py
File infra/python/deps/find_py26.py:

> It would be good to have a top level comment explaining what the file does.
Done


http://gerrit.cloudera.org:8080/#/c/3626/1/infra/python/deps/pip_download.py
File infra/python/deps/pip_download.py:

Line 71:         hash_index = line.find('#')
> Can you add a comment explaining the line syntax, either here or at the top
Done


-- 
To view, visit http://gerrit.cloudera.org:8080/3626
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ibe5a743096cda2059bd330805d324983f6730e19
Gerrit-PatchSet: 1
Gerrit-Project: Impala
Gerrit-Branch: master
Gerrit-Owner: Taras Bobrovytsky <tb...@cloudera.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Jim Apple <jb...@cloudera.com>
Gerrit-Reviewer: Taras Bobrovytsky <tb...@cloudera.com>
Gerrit-HasComments: Yes

[Impala-CR] IMPALA-3778: Fix ASF packaging build

Posted by "Taras Bobrovytsky (Code Review)" <ge...@cloudera.org>.
Taras Bobrovytsky has posted comments on this change.

Change subject: IMPALA-3778: Fix ASF packaging build
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/3626/1/bin/impala-config.sh
File bin/impala-config.sh:

Line 74: echo $NO_THIRDPARTY
remove


-- 
To view, visit http://gerrit.cloudera.org:8080/3626
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ibe5a743096cda2059bd330805d324983f6730e19
Gerrit-PatchSet: 1
Gerrit-Project: Impala
Gerrit-Branch: master
Gerrit-Owner: Taras Bobrovytsky <tb...@cloudera.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Jim Apple <jb...@cloudera.com>
Gerrit-Reviewer: Taras Bobrovytsky <tb...@cloudera.com>
Gerrit-HasComments: Yes

[Impala-CR] IMPALA-3778: Fix ASF packaging build

Posted by "Jim Apple (Code Review)" <ge...@cloudera.org>.
Jim Apple has posted comments on this change.

Change subject: IMPALA-3778: Fix ASF packaging build
......................................................................


Patch Set 1:

(1 comment)

This should probably be against cdh5-trunk. That's the github branch being synced to ASF's master branch.

http://gerrit.cloudera.org:8080/#/c/3626/1/infra/python/deps/download_requirements
File infra/python/deps/download_requirements:

Line 9: $(./find_py26.py) pip_download.py
Maybe put run ./find_py26.py before pushd and cache it's value there, so "./" is interpreted correctly?


-- 
To view, visit http://gerrit.cloudera.org:8080/3626
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ibe5a743096cda2059bd330805d324983f6730e19
Gerrit-PatchSet: 1
Gerrit-Project: Impala
Gerrit-Branch: master
Gerrit-Owner: Taras Bobrovytsky <tb...@cloudera.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Jim Apple <jb...@cloudera.com>
Gerrit-Reviewer: Taras Bobrovytsky <tb...@cloudera.com>
Gerrit-HasComments: Yes

[Impala-CR] IMPALA-3778: Fix ASF packaging build

Posted by "Taras Bobrovytsky (Code Review)" <ge...@cloudera.org>.
Taras Bobrovytsky has abandoned this change.

Change subject: IMPALA-3778: Fix ASF packaging build
......................................................................


Abandoned

This is the wrong branch. Switched this review to cdh5-trunk instead of master.

-- 
To view, visit http://gerrit.cloudera.org:8080/3626
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: Ibe5a743096cda2059bd330805d324983f6730e19
Gerrit-PatchSet: 1
Gerrit-Project: Impala
Gerrit-Branch: master
Gerrit-Owner: Taras Bobrovytsky <tb...@cloudera.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Jim Apple <jb...@cloudera.com>
Gerrit-Reviewer: Taras Bobrovytsky <tb...@cloudera.com>

[Impala-CR] IMPALA-3778: Fix ASF packaging build

Posted by "Jim Apple (Code Review)" <ge...@cloudera.org>.
Jim Apple has posted comments on this change.

Change subject: IMPALA-3778: Fix ASF packaging build
......................................................................


Patch Set 1:

(1 comment)

This also appears o fix impala-asf-master-exhaustive-rhel7

http://gerrit.cloudera.org:8080/#/c/3626/1/infra/python/deps/download_requirements
File infra/python/deps/download_requirements:

Line 9: $(./find_py26.py) pip_download.py
> Maybe put run ./find_py26.py before pushd and cache it's value there, so ".
Actually, I think I got this backwards.


-- 
To view, visit http://gerrit.cloudera.org:8080/3626
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ibe5a743096cda2059bd330805d324983f6730e19
Gerrit-PatchSet: 1
Gerrit-Project: Impala
Gerrit-Branch: master
Gerrit-Owner: Taras Bobrovytsky <tb...@cloudera.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Jim Apple <jb...@cloudera.com>
Gerrit-Reviewer: Taras Bobrovytsky <tb...@cloudera.com>
Gerrit-HasComments: Yes