Skip to content
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

Add an alternate spark version of indexwarcsjob (without mrjob) #7

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jt55401
Copy link

@jt55401 jt55401 commented Sep 10, 2024

This introduces an alternative version of indexwarcsjob.py - which uses cc-pyspark's CCFileProcessorSparkJob (currently in this PR: commoncrawl/cc-pyspark#45)

Rationale:

  • no longer uses mrjob, which we favor less now
  • less code
  • more reliable - the downloading/uploading code and general framework are improved compared to the older job, because it uses the improved methods from cc-pyspark. (This is somewhat untested theory, but, will be tested soon)

Downsides:

  • mrjob has a rather robust set of "ops" functions to create clusers and run jobs created with it on local, EMR, google, hadoop, etc. We make no attempt to replace this part of what has been lost.

@jt55401 jt55401 self-assigned this Sep 10, 2024
@sebastian-nagel
Copy link

Depends on commoncrawl/cc-pyspark#45.

@jt55401
Copy link
Author

jt55401 commented Sep 26, 2024

This job is not used anymore :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants