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
Fix spark logging and spark tests action workflow #1413
Merged
Merged
Changes from 33 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
784c3c7
Test sentry in test setup
amCap1712 dd11f22
Build spark containers before test and use run instead of up
amCap1712 ee3d2b1
Copy configuration file during spark test run
amCap1712 ba0b805
Remove SparkIntegration
amCap1712 c768d5d
Change config.py.sample to hadoop master because it is used in tests
amCap1712 2b892e5
Test removing pyspark dependency
amCap1712 46e14a6
Configure python logger
amCap1712 45593bd
Test a hunch
amCap1712 03628bd
Configure base logger
amCap1712 5e13034
Add missing logger
amCap1712 34a272c
Move configuration to earlier phase
amCap1712 b006235
Another attempt at logging configuration
amCap1712 910ed62
remove pyspark dep
amCap1712 49a91ce
Add stop-request-consumer-container.sh script
amCap1712 c324ebe
Add metabrainz-spark-test image for use in tests
amCap1712 0349388
Add back deps
amCap1712 88c25cb
Copy config file correctly
amCap1712 76fbc3b
Fix file path and rearrange
amCap1712 dfbd064
Fix copying config file
amCap1712 2fb6eb9
Do not configure sentry in test
amCap1712 75e5f40
Dedup spark Dockerfile
amCap1712 09ae051
Install development dependencies
amCap1712 ca5a5bf
Remove pyspark dep
amCap1712 f476062
Set PYTHONPATH correctly
amCap1712 7b7c160
Add py4j to PYTHONPATH
amCap1712 4c6edbf
reformat file
amCap1712 a27e681
Fix SPARK_HOME
amCap1712 77a198b
Second attempt to fix SPARK_HOME
amCap1712 51de543
third attempt to fix SPARK_HOME
amCap1712 6d7a50a
Rearrange schema fields
amCap1712 65d8115
Rearrange schema fields - 2
amCap1712 63edc77
Rearrange schema fields - 3
amCap1712 245ec5a
Rearrange schema fields - 4
amCap1712 f94e95c
Add labels to Dockerfile.spark
amCap1712 f59c161
Add build-arg to push-request-consumer.sh
amCap1712 0276144
Delete obsolete scripts
amCap1712 036c978
Move remaining spark scripts a level up
amCap1712 5807dd4
Add default label to base
amCap1712 6d0f8e8
Add build arg after FROM as well
amCap1712 ac66b8d
Run spark-request-consumer without docker
amCap1712 File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
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 was deleted.
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
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,6 @@ | ||
#!/bin/bash | ||
|
||
docker stop spark-request-consumer | ||
docker rm spark-request-consumer | ||
rm -r pyspark_venv pyspark_venv.tar.gz listenbrainz_spark_request_consumer.zip | ||
|
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
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.
We should add the labels in the new version. Also add the changes in #1424