René's URL Explorer Experiment


Title: registry.db doesn't work in S3 subdirectory with Java Feature Server · Issue #2239 · feast-dev/feast · GitHub

Open Graph Title: registry.db doesn't work in S3 subdirectory with Java Feature Server · Issue #2239 · feast-dev/feast

X Title: registry.db doesn't work in S3 subdirectory with Java Feature Server · Issue #2239 · feast-dev/feast

Description: Expected Behavior registry.db should be fetched by java feature server in any valid S3 location. Current Behavior Java feature server can only fetch registry.db if it is in the root directory of the S3 bucket. Steps to reproduce Set regi...

Open Graph Description: Expected Behavior registry.db should be fetched by java feature server in any valid S3 location. Current Behavior Java feature server can only fetch registry.db if it is in the root directory of th...

X Description: Expected Behavior registry.db should be fetched by java feature server in any valid S3 location. Current Behavior Java feature server can only fetch registry.db if it is in the root directory of th...

Opengraph URL: https://github.com/feast-dev/feast/issues/2239

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"registry.db doesn't work in S3 subdirectory with Java Feature Server","articleBody":"## Expected Behavior \r\nregistry.db should be fetched by java feature server in any valid S3 location.\r\n\r\n## Current Behavior\r\nJava feature server can only fetch registry.db if it is in the root directory of the S3 bucket.\r\n\r\n## Steps to reproduce\r\nSet registry java config to a nested s3 path such as \"s3://bucket/child_directory/registry.db\" and the server will throw a \"No Such Key\" error. However, something like \"s3://bucket/registry.db\" works.\r\n\r\n### Specifications\r\n\r\n- Version: \r\n- Platform:\r\n- Subsystem:\r\n\r\n## Possible Solution\r\n\r\nThe issue seems to be in feast.serving.registry.S3RegistryFile.java lines 35-36:\r\n\r\n    String[] split = url.replace(\"s3://\", \"\").split(\"/\");\r\n    this.s3Object = this.s3Client.getObject(split[0], split[1]);\r\n\r\nThe current code splits and uses the element at index 1, which may or may not be the registry.db file. Instead, we should join back the last n-1 elements of the split array. Something like this:\r\n\r\n    String[] split = url.replace(\"s3://\", \"\").split(\"/\");\r\n    String objectPath = String.join(\"/\", java.util.Arrays.copyOfRange(split, 1, split.length));\r\n    this.s3Object = this.s3Client.getObject(split[0], objectPath);\r\n","author":{"url":"https://github.com/shumway743","@type":"Person","name":"shumway743"},"datePublished":"2022-01-26T02:10:35Z","url":"https://github.com/feast-dev/feast/issues/2239"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:71f9f579-a70b-9cb0-22ba-376fa424cb3c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB8C2:320C6A:6C3F87:921DFD:6AFEABC9
html-safe-nonce46475573862ee06eb61dc2e8a4ca19590128beba319971b94c6ca414bef2ccc7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEMyOjMyMEM2QTo2QzNGODc6OTIxREZEOjZBRkVBQkM5IiwidmlzaXRvcl9pZCI6IjI0Njk1NDA1OTU2NjQ1OTU5MTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacdd8956c536387bcfc40e120693060d8029af50d62e70d65c08796ea726ba6358
hovercard-subject-tagissue:1114551732
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/2239/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d75356ba503e80d71ac4e6e27a3fb506456dc6f21eb4dfef8b0f75a5f57e3c64/feast-dev/feast/issues/2239
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d75356ba503e80d71ac4e6e27a3fb506456dc6f21eb4dfef8b0f75a5f57e3c64/feast-dev/feast/issues/2239
og:image:altExpected Behavior registry.db should be fetched by java feature server in any valid S3 location. Current Behavior Java feature server can only fetch registry.db if it is in the root directory of th...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameshumway743
hostnamegithub.com
expected-hostnamegithub.com
None95b2753c978240785d6cca00783c00a371b2d7d9879bb32e305170a1b19bd28e
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3f25273206cd841171bca0002261ae4c9757d934
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/feast-dev/feast/issues/2239#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F2239
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F2239
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=feast-dev%2Ffeast
Reloadhttps://github.com/feast-dev/feast/issues/2239
Reloadhttps://github.com/feast-dev/feast/issues/2239
Reloadhttps://github.com/feast-dev/feast/issues/2239
feast-devhttps://github.com/feast-dev
feasthttps://github.com/feast-dev/feast
Codehttps://github.com/feast-dev/feast
Issues223 (223)https://github.com/feast-dev/feast/issues
Pull requests143 (143)https://github.com/feast-dev/feast/pulls
Discussionshttps://github.com/feast-dev/feast/discussions
Actionshttps://github.com/feast-dev/feast/actions
Security and quality1 (1)https://github.com/feast-dev/feast/security
Insightshttps://github.com/feast-dev/feast/insights
https://github.com/feast-dev/feast
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/2239
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/2239
#2259https://github.com/feast-dev/feast/pull/2259
registry.db doesn't work in S3 subdirectory with Java Feature Serverhttps://github.com/feast-dev/feast/issues/2239#top
#2259https://github.com/feast-dev/feast/pull/2259
https://github.com/tsotnet
kind/bughttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/p2https://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22priority%2Fp2%22
https://github.com/shumway743
shumway743https://github.com/shumway743
on Jan 26, 2022https://github.com/feast-dev/feast/issues/2239#issue-1114551732
shumway743https://github.com/shumway743
kind/bughttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/p2https://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22priority%2Fp2%22
on Jan 26, 2022https://github.com/feast-dev/feast/issues/2239#event-5953933487
github-actionshttps://github.com/apps/github-actions
tsotnethttps://github.com/tsotnet
on Jan 26, 2022https://github.com/feast-dev/feast/issues/2239#event-5953934207
https://github.com/pyalex
pyalexhttps://github.com/pyalex
on Jan 26, 2022https://github.com/feast-dev/feast/issues/2239#issuecomment-1021951332
@shumway743https://github.com/shumway743
feast-ci-bothttps://github.com/feast-ci-bot
completedhttps://github.com/feast-dev/feast/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#2259https://github.com/feast-dev/feast/pull/2259
on Jan 30, 2022https://github.com/feast-dev/feast/issues/2239#event-5977194802
Sign up for freehttps://github.com/signup?return_to=https://github.com/feast-dev/feast/issues/2239
Sign in to commenthttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/2239
tsotnethttps://github.com/tsotnet
kind/bughttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/p2https://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22priority%2Fp2%22
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.