-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade Spark / Hadoop / Zeppelin (Issue #535) #590
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
97ba06d
Upgrade Hadoop / Zeppelin & Spark versions / Fix issue with pip lib i…
stvoutsin 9d1bbc6
Added exclude interpreter setting in Zeppelin (Needed in Zeppelin 0.1…
stvoutsin 42e1e47
Added Benchmark running Ansible script
stvoutsin c43f0ed
Added notes on testing upgraded version
stvoutsin 5cd5755
Set default interpreter as spark / Write to hadoop dir as root / Excl…
stvoutsin 926facf
Added notes for another test with upgraded versions
stvoutsin 1bc51f9
Change medium-04 config to use upgraded versions
stvoutsin c190938
Fix Job Manager UI issue in new Zeppelin
stvoutsin 3531abe
Change pip libs installation to match upstream changes
stvoutsin 8c8a42c
Merge branch 'wfau:master' into issue-upgrade-spark-3
stvoutsin 4108665
Bring in changes from benchmarking branch
stvoutsin 7a3354b
Merge branch 'issue-upgrade-spark-3' of https://github.com/stvoutsin/…
stvoutsin f358293
Disable iPython in zeppelin interpreter
stvoutsin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# | ||
# <meta:header> | ||
# <meta:licence> | ||
# Copyright (c) 2020, ROE (http://www.roe.ac.uk/) | ||
# | ||
# This information is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This information is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
# </meta:licence> | ||
# </meta:header> | ||
# | ||
|
||
- name: "Get Zeppelin IP Address" | ||
hosts: localhost | ||
vars_files: | ||
- config/ansible.yml | ||
- /tmp/ansible-vars.yml | ||
- config/openstack.yml | ||
|
||
tasks: | ||
|
||
- name: "Discover our Zeppelin node and store IP address in temp file" | ||
os_server_info: | ||
cloud: "{{ cloudname }}" | ||
server: "{{ deployname }}-zeppelin" | ||
register: | ||
zeppelinnode | ||
|
||
- local_action: copy content={{ zeppelinnode.openstack_servers[0].accessIPv4 }} dest=/tmp/zeppelin_ip.txt | ||
|
||
|
||
- name: "Install and run Python benchmark suite" | ||
hosts: localhost | ||
gather_facts: yes | ||
become: yes | ||
become_method: sudo | ||
vars_files: | ||
- config/ansible.yml | ||
- /tmp/ansible-vars.yml | ||
vars: | ||
zepipaddress: "{{ lookup('file', '/tmp/zeppelin_ip.txt') | trim }}" | ||
|
||
tasks: | ||
|
||
- name: "Creating our Zeppelin config file" | ||
copy: | ||
dest: "/tmp/user.yml" | ||
content: | | ||
zeppelin_url: http://{{ zepipaddress }}:8080 | ||
zeppelin_auth: true | ||
zeppelin_user: gaiauser | ||
zeppelin_password: gaiapass | ||
- name: "Install git" | ||
yum: | ||
name: git | ||
update_cache: yes | ||
state: present | ||
|
||
- pip: | ||
name: 'git+https://github.com/wfau/aglais-testing@v0.1.2' | ||
executable: pip | ||
|
||
- name: "Creating our Benchmarking script" | ||
copy: | ||
dest: "/tmp/run-test.py" | ||
content: | | ||
import sys | ||
from aglais_benchmark import AglaisBenchmarker | ||
AglaisBenchmarker("/deployments/zeppelin/test/config/notebooks.json", "/tmp/").run(concurrent=False, users=1) | ||
- name: "Run benchmarker" | ||
command: python3 /tmp/run-test.py | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"notebooks" : [ | ||
{ | ||
"name" : "SetUp", | ||
"filepath" : "https://raw.githubusercontent.com/wfau/aglais-testing/main/notebooks/public_examples/SetUp.json", | ||
"totaltime" : 45, | ||
"results" : [] | ||
}, | ||
{ | ||
"name" : "Mean_proper_motions_over_the_sky", | ||
"filepath" : "https://raw.githubusercontent.com/wfau/aglais-testing/main/notebooks/public_examples/Mean_proper_motions_over_the_sky.json", | ||
"totaltime" : 55, | ||
"results" : [] | ||
}, | ||
{ | ||
"name" : "Source_counts_over_the_sky.json", | ||
"filepath" : "https://raw.githubusercontent.com/wfau/aglais-testing/main/notebooks/public_examples/Source_counts_over_the_sky.json", | ||
"totaltime" : 22, | ||
"results" : [] | ||
}, | ||
{ | ||
"name" : "Good_astrometric_solutions_via_ML_Random_Forrest_classifier", | ||
"filepath" : "https://raw.githubusercontent.com/wfau/aglais-testing/main/notebooks/public_examples/Good_astrometric_solutions_via_ML_Random_Forrest_classifier.json", | ||
"totaltime" : 500, | ||
"results" : [] | ||
}, | ||
{ | ||
"name" : "QC_cuts_dev.json", | ||
"filepath" : "https://raw.githubusercontent.com/wfau/aglais-testing/main/notebooks/public_examples/QC_cuts_dev.json", | ||
"totaltime" : 4700, | ||
"results" : [] | ||
}, | ||
{ | ||
"name" : "WD_detection_dev.json", | ||
"filepath" : "https://raw.githubusercontent.com/wfau/aglais-testing/main/notebooks/public_examples/WD_detection_dev.json", | ||
"totaltime" : 3750, | ||
"results" : [] | ||
} | ||
|
||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"notebooks" : [ | ||
{ | ||
"name" : "pi_calculation", | ||
"filepath" : "https://raw.githubusercontent.com/wfau/aglais-testing/main/notebooks/pi_calculation.json", | ||
"totaltime" : 160, | ||
"results" : [ "Pi is roughly 3.141854"] | ||
|
||
} | ||
|
||
] | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are these excluded ?
In might be better to explicitly list the interpreters we do want in
zeppelin.interpreter.include
rather than excluding an arbitrary list inzeppelin.interpreter.exclude
.I've created an issue to follow this up #593.