René's URL Explorer Experiment


Title: fix: Pre-create S3A event log dir before SparkContext init by abhijeet-dhumal · Pull Request #6317 · feast-dev/feast · GitHub

Open Graph Title: fix: Pre-create S3A event log dir before SparkContext init by abhijeet-dhumal · Pull Request #6317 · feast-dev/feast

X Title: fix: Pre-create S3A event log dir before SparkContext init by abhijeet-dhumal · Pull Request #6317 · feast-dev/feast

Description: What this PR does / why we need it: When spark.eventLog.enabled: "true" and spark.eventLog.dir points to an S3A path, feast materialize-incremental silently writes nothing to the online store and exits with code 0. The failure chain: SparkContext.__init__ └─ EventLoggingListener.start() └─ EventLogFileWriter.requireLogBaseDirAsDirectory() └─ S3A 404 (prefix doesn't exist) → raises RuntimeException └─ caught by _materialize_one(except Exception) → ERROR job └─ CLI exits 0 — no data written, no visible error S3 has no real directories. An empty prefix is indistinguishable from "does not exist", so Spark's pre-flight check always fails on a fresh bucket. Which issue(s) this PR fixes: In get_or_create_new_spark_session() (compute_engines/spark/utils.py), before building the SparkSession, call _ensure_s3a_event_log_dir() which: Checks if the S3A prefix already contains objects (no-op if it does) Writes a zero-byte .keep placeholder if empty Uses boto3 — already a Feast dependency via the S3 offline store Is fully non-fatal: swallows errors and lets Spark surface its own message if the write fails No-ops for non-S3A paths (hdfs://, file://, etc.) and when event logging is disabled. Checks I've made sure the tests are passing. My commits are signed off (git commit -s) My PR title follows conventional commits format Testing Strategy Unit tests Integration tests Manual tests Testing is not required for this change Misc

Open Graph Description: What this PR does / why we need it: When spark.eventLog.enabled: "true" and spark.eventLog.dir points to an S3A path, feast materialize-incremental silently writes nothing to the online ...

X Description: What this PR does / why we need it: When spark.eventLog.enabled: "true" and spark.eventLog.dir points to an S3A path, feast materialize-incremental silently writes nothing to the...

Opengraph URL: https://github.com/feast-dev/feast/pull/6317

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:8c034fc8-4ad5-9c49-2061-5c1342d44ad0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id945E:38D8C:C6DF0F:1119800:6A4DE6BA
html-safe-nonce30ffa06c6962bfb15765f8cec4a6cfc104c7b541cc135f9c3cf5d9100abd07ef
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDVFOjM4RDhDOkM2REYwRjoxMTE5ODAwOjZBNERFNkJBIiwidmlzaXRvcl9pZCI6IjkxNzE4Njc3MDk5NDc2MzUzODYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb0c3d3c64ac8db6c9d7b37d65bd68fa917ac5cff9c478e90bd26bbc725f7c728
hovercard-subject-tagpull_request:3568084137
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/feast-dev/feast/pull/6317/files
twitter:imagehttps://avatars.githubusercontent.com/u/84722973?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/84722973?s=400&v=4
og:image:altWhat this PR does / why we need it: When spark.eventLog.enabled: "true" and spark.eventLog.dir points to an S3A path, feast materialize-incremental silently writes nothing to the online ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/feast-dev/feast git https://github.com/feast-dev/feast.git
octolytics-dimension-user_id57027613
octolytics-dimension-user_loginfeast-dev
octolytics-dimension-repository_id161133770
octolytics-dimension-repository_nwofeast-dev/feast
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id161133770
octolytics-dimension-repository_network_root_nwofeast-dev/feast
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feast-dev/feast/pull/6317/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F6317%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F6317%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=feast-dev%2Ffeast
Reloadhttps://github.com/feast-dev/feast/pull/6317/files
Reloadhttps://github.com/feast-dev/feast/pull/6317/files
Reloadhttps://github.com/feast-dev/feast/pull/6317/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6317/files
feast-dev https://github.com/feast-dev
feasthttps://github.com/feast-dev/feast
Notifications https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Fork 1.4k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Star 7.1k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Code https://github.com/feast-dev/feast
Issues 212 https://github.com/feast-dev/feast/issues
Pull requests 171 https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security and quality 1 https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
Code https://github.com/feast-dev/feast
Issues https://github.com/feast-dev/feast/issues
Pull requests https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security and quality https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Ffeast-dev%2Ffeast%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ffeast-dev%2Ffeast%2Fissues%2Fnew%2Fchoose
ntkatholehttps://github.com/ntkathole
feast-dev:masterhttps://github.com/feast-dev/feast/tree/master
abhijeet-dhumal:fix/spark-s3a-event-log-inithttps://github.com/abhijeet-dhumal/feast/tree/fix/spark-s3a-event-log-init
Conversation 13 https://github.com/feast-dev/feast/pull/6317
Commits 5 https://github.com/feast-dev/feast/pull/6317/commits
Checks 26 https://github.com/feast-dev/feast/pull/6317/checks
Files changed https://github.com/feast-dev/feast/pull/6317/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6317/files
fix: Pre-create S3A event log dir before SparkContext init https://github.com/feast-dev/feast/pull/6317/files#top
Show all changes 5 commits https://github.com/feast-dev/feast/pull/6317/files
bc97a4c fix(spark): Pre-create S3A event log dir before SparkContext init to … abhijeet-dhumal Apr 22, 2026 https://github.com/feast-dev/feast/pull/6317/commits/bc97a4c4259bb7cfe2dc08961e5569783b151756
c586577 fix(spark): handle bucket-root S3A paths, read credentials from spark… abhijeet-dhumal Apr 24, 2026 https://github.com/feast-dev/feast/pull/6317/commits/c58657720119c0d75e16fbb03d9cdec18f87404a
c7b74db fix(spark): use AWS_ENDPOINT_URL, support path-style addressing, fix … abhijeet-dhumal Apr 27, 2026 https://github.com/feast-dev/feast/pull/6317/commits/c7b74dbf4050c0540f21daa11e7676ec359167b0
46094c4 fix: allow sample aws secret and fix linting issue abhijeet-dhumal Apr 27, 2026 https://github.com/feast-dev/feast/pull/6317/commits/46094c415bcd1148533acc1e9fa328b388fcfa9a
70215e2 fix: fix linting issue abhijeet-dhumal Apr 27, 2026 https://github.com/feast-dev/feast/pull/6317/commits/70215e2b675e76c4d2c47e41fd9c3db04ae71bb9
Clear filters https://github.com/feast-dev/feast/pull/6317/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6317/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6317/files
utils.py https://github.com/feast-dev/feast/pull/6317/files#diff-a58c5b8c525c82817dcac93b3461e4e3b94a6b2e3efdf64d5801fadb49e2f813
test_spark_utils.py https://github.com/feast-dev/feast/pull/6317/files#diff-9485c617664e3e8dbfb7a172ce2896947d51cc3da63215b9fa46423d827d2b63
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/feast/infra/compute_engines/spark/utils.pyhttps://github.com/feast-dev/feast/pull/6317/files#diff-a58c5b8c525c82817dcac93b3461e4e3b94a6b2e3efdf64d5801fadb49e2f813
View file https://github.com/abhijeet-dhumal/feast/blob/70215e2b675e76c4d2c47e41fd9c3db04ae71bb9/sdk/python/feast/infra/compute_engines/spark/utils.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6317/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6317/files#diff-a58c5b8c525c82817dcac93b3461e4e3b94a6b2e3efdf64d5801fadb49e2f813
https://github.com/feast-dev/feast/pull/6317/files#diff-a58c5b8c525c82817dcac93b3461e4e3b94a6b2e3efdf64d5801fadb49e2f813
https://github.com/feast-dev/feast/pull/6317/files#diff-a58c5b8c525c82817dcac93b3461e4e3b94a6b2e3efdf64d5801fadb49e2f813
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/tests/component/spark/test_spark_utils.pyhttps://github.com/feast-dev/feast/pull/6317/files#diff-9485c617664e3e8dbfb7a172ce2896947d51cc3da63215b9fa46423d827d2b63
View file https://github.com/abhijeet-dhumal/feast/blob/70215e2b675e76c4d2c47e41fd9c3db04ae71bb9/sdk/python/tests/component/spark/test_spark_utils.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6317/{{ revealButtonHref }}
Please reload this pagehttps://github.com/feast-dev/feast/pull/6317/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.