You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Tim Armstrong (Code Review)" <ge...@cloudera.org> on 2019/09/16 20:30:50 UTC

[Impala-ASF-CR] use set-pythonpath only for impala-python

Tim Armstrong has uploaded this change for review. ( http://gerrit.cloudera.org:8080/14238


Change subject: use set-pythonpath only for impala-python
......................................................................

use set-pythonpath only for impala-python

* Don't add PYTHONPATH to environment in impala-config.sh,
  it is done automatically by the impala-python script anyway.
  I think this is legacy from when we ran some things with
  the system python.
* Remove unnecessary set-pythonpath.sh invocations where all
  calls go via impala-python anyway.
* Remove impala-shell eggs from python path. All these packages
  are installed into the virtualenv.
* testdata path entry was not needed - it's imported via the root

Testing:
Ran core tests

Change-Id: Iff98eb261ab48c592e8d323aa409c6a65317b95a
---
M bin/impala-config.sh
M bin/impala-shell.sh
M bin/run-all-tests.sh
M bin/set-pythonpath.sh
M buildall.sh
M testdata/bin/run-hive-server.sh
M tests/query_test/test_nested_types.py
7 files changed, 10 insertions(+), 26 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iff98eb261ab48c592e8d323aa409c6a65317b95a
Gerrit-Change-Number: 14238
Gerrit-PatchSet: 1
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>

[Impala-ASF-CR] use set-pythonpath only for impala-python

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/14238 )

Change subject: use set-pythonpath only for impala-python
......................................................................


Patch Set 2:

Build failed: https://jenkins.impala.io/job/gerrit-verify-dryrun/4988/


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iff98eb261ab48c592e8d323aa409c6a65317b95a
Gerrit-Change-Number: 14238
Gerrit-PatchSet: 2
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Mon, 23 Sep 2019 19:59:06 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] use set-pythonpath only for impala-python

Posted by "Tim Armstrong (Code Review)" <ge...@cloudera.org>.
Tim Armstrong has posted comments on this change. ( http://gerrit.cloudera.org:8080/14238 )

Change subject: use set-pythonpath only for impala-python
......................................................................


Patch Set 3: Verified+1

Hit IMPALA-8957, which is unrelated to this change. I'm going to manually verify.


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iff98eb261ab48c592e8d323aa409c6a65317b95a
Gerrit-Change-Number: 14238
Gerrit-PatchSet: 3
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Tue, 24 Sep 2019 16:46:27 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] use set-pythonpath only for impala-python

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/14238 )

Change subject: use set-pythonpath only for impala-python
......................................................................


Patch Set 3: Verified-1

Build failed: https://jenkins.impala.io/job/gerrit-verify-dryrun/4992/


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iff98eb261ab48c592e8d323aa409c6a65317b95a
Gerrit-Change-Number: 14238
Gerrit-PatchSet: 3
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Tue, 24 Sep 2019 08:24:19 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] use set-pythonpath only for impala-python

Posted by "Tim Armstrong (Code Review)" <ge...@cloudera.org>.
Tim Armstrong has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/14238 )

Change subject: use set-pythonpath only for impala-python
......................................................................

use set-pythonpath only for impala-python

* Don't add PYTHONPATH to environment in impala-config.sh,
  it is done automatically by the impala-python script anyway.
  I think this is legacy from when we ran some things with
  the system python.
* Remove unnecessary set-pythonpath.sh invocations where all
  calls go via impala-python anyway.
* Remove impala-shell eggs from python path. All these packages
  are installed into the virtualenv.
* testdata path entry was not needed - it's imported via the root

Testing:
Ran core tests

Change-Id: Iff98eb261ab48c592e8d323aa409c6a65317b95a
Reviewed-on: http://gerrit.cloudera.org:8080/14238
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Tim Armstrong <ta...@cloudera.com>
---
M bin/impala-config.sh
M bin/impala-shell.sh
M bin/run-all-tests.sh
M bin/set-pythonpath.sh
M buildall.sh
M testdata/bin/run-hive-server.sh
M tests/query_test/test_nested_types.py
7 files changed, 10 insertions(+), 26 deletions(-)

Approvals:
  Impala Public Jenkins: Looks good to me, approved
  Tim Armstrong: Verified

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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Iff98eb261ab48c592e8d323aa409c6a65317b95a
Gerrit-Change-Number: 14238
Gerrit-PatchSet: 4
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>

[Impala-ASF-CR] use set-pythonpath only for impala-python

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/14238 )

Change subject: use set-pythonpath only for impala-python
......................................................................


Patch Set 2:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/4987/ DRY_RUN=false


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iff98eb261ab48c592e8d323aa409c6a65317b95a
Gerrit-Change-Number: 14238
Gerrit-PatchSet: 2
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Mon, 23 Sep 2019 03:29:12 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] use set-pythonpath only for impala-python

Posted by "Tim Armstrong (Code Review)" <ge...@cloudera.org>.
Tim Armstrong has removed a vote on this change.

Change subject: use set-pythonpath only for impala-python
......................................................................


Removed Verified-1 by Impala Public Jenkins <im...@cloudera.com>
-- 
To view, visit http://gerrit.cloudera.org:8080/14238
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: deleteVote
Gerrit-Change-Id: Iff98eb261ab48c592e8d323aa409c6a65317b95a
Gerrit-Change-Number: 14238
Gerrit-PatchSet: 3
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>

[Impala-ASF-CR] use set-pythonpath only for impala-python

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/14238 )

Change subject: use set-pythonpath only for impala-python
......................................................................


Patch Set 3:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/4992/ DRY_RUN=false


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iff98eb261ab48c592e8d323aa409c6a65317b95a
Gerrit-Change-Number: 14238
Gerrit-PatchSet: 3
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Tue, 24 Sep 2019 04:12:40 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] use set-pythonpath only for impala-python

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/14238 )

Change subject: use set-pythonpath only for impala-python
......................................................................


Patch Set 2:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/4988/ DRY_RUN=false


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iff98eb261ab48c592e8d323aa409c6a65317b95a
Gerrit-Change-Number: 14238
Gerrit-PatchSet: 2
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Mon, 23 Sep 2019 15:49:17 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] use set-pythonpath only for impala-python

Posted by "Tim Armstrong (Code Review)" <ge...@cloudera.org>.
Tim Armstrong has posted comments on this change. ( http://gerrit.cloudera.org:8080/14238 )

Change subject: use set-pythonpath only for impala-python
......................................................................


Patch Set 1:

I tried this cleanup after a conversation we had a week and a half ago. Getting around to posting for review now.


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iff98eb261ab48c592e8d323aa409c6a65317b95a
Gerrit-Change-Number: 14238
Gerrit-PatchSet: 1
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Mon, 16 Sep 2019 20:31:24 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] use set-pythonpath only for impala-python

Posted by "David Knupp (Code Review)" <ge...@cloudera.org>.
David Knupp has posted comments on this change. ( http://gerrit.cloudera.org:8080/14238 )

Change subject: use set-pythonpath only for impala-python
......................................................................


Patch Set 1: Code-Review+2


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iff98eb261ab48c592e8d323aa409c6a65317b95a
Gerrit-Change-Number: 14238
Gerrit-PatchSet: 1
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Sun, 22 Sep 2019 05:34:26 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] use set-pythonpath only for impala-python

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/14238 )

Change subject: use set-pythonpath only for impala-python
......................................................................


Patch Set 1:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/4567/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iff98eb261ab48c592e8d323aa409c6a65317b95a
Gerrit-Change-Number: 14238
Gerrit-PatchSet: 1
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Mon, 16 Sep 2019 21:11:48 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] use set-pythonpath only for impala-python

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/14238 )

Change subject: use set-pythonpath only for impala-python
......................................................................


Patch Set 2: Verified-1

Build failed: https://jenkins.impala.io/job/gerrit-verify-dryrun/4987/


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iff98eb261ab48c592e8d323aa409c6a65317b95a
Gerrit-Change-Number: 14238
Gerrit-PatchSet: 2
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Mon, 23 Sep 2019 07:39:57 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] use set-pythonpath only for impala-python

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/14238 )

Change subject: use set-pythonpath only for impala-python
......................................................................


Patch Set 3: Code-Review+2


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iff98eb261ab48c592e8d323aa409c6a65317b95a
Gerrit-Change-Number: 14238
Gerrit-PatchSet: 3
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Tue, 24 Sep 2019 04:12:39 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] use set-pythonpath only for impala-python

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/14238 )

Change subject: use set-pythonpath only for impala-python
......................................................................


Patch Set 2: Code-Review+2


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iff98eb261ab48c592e8d323aa409c6a65317b95a
Gerrit-Change-Number: 14238
Gerrit-PatchSet: 2
Gerrit-Owner: Tim Armstrong <ta...@cloudera.com>
Gerrit-Reviewer: David Knupp <dk...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Mon, 23 Sep 2019 03:29:11 +0000
Gerrit-HasComments: No