René's URL Explorer Experiment


Title: To cross build, or not to cross build Ingestion · Issue #517 · feast-dev/feast · GitHub

Open Graph Title: To cross build, or not to cross build Ingestion · Issue #517 · feast-dev/feast

X Title: To cross build, or not to cross build Ingestion · Issue #517 · feast-dev/feast

Description: In #451 we upgraded outright to Java 11 for master / Feast v0.5+. Subsequently in #473 we restored support for v0.3 and v0.4 maintenance branches to be tested on CI with Java 8 (thanks!). I believe that has been broken by later updates t...

Open Graph Description: In #451 we upgraded outright to Java 11 for master / Feast v0.5+. Subsequently in #473 we restored support for v0.3 and v0.4 maintenance branches to be tested on CI with Java 8 (thanks!). I believe...

X Description: In #451 we upgraded outright to Java 11 for master / Feast v0.5+. Subsequently in #473 we restored support for v0.3 and v0.4 maintenance branches to be tested on CI with Java 8 (thanks!). I believe...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"To cross build, or not to cross build Ingestion","articleBody":"In #451 we upgraded outright to Java 11 for master / Feast v0.5+. Subsequently in #473 we restored support for v0.3 and v0.4 maintenance branches to be tested on CI with Java 8 (thanks!). I believe [that has been broken][1] by later updates to CI scripts, I'll consider that part of this issue.\r\n\r\nThe upgrade could pose problems for Feast's Beam-based Ingestion component. Beam itself [does not build with Java 11 yet][2], and the scope of that issue is only the DirectRunner. Other runners could lag further behind, as for example Spark does not build or run on Java 11 until its version 3.0, which is in preview. Thus I presume Beam's SparkRunner will not build with Java 11 until a GM Spark release can.\r\n\r\nFeast does not support any runners other than GC Dataflow (and DirectRunner), so there may be no immediate issue if these are working so far. But, supporting additional runners—if anticipated (#362)—could be blocked if Ingestion does not remain Java 8-compatible.\r\n\r\nI wanted to raise the question of whether we should (cross?) build Ingestion with Java 8 to ensure it remains compatible for awhile longer.\r\n\r\nThe bug report that follows applies to current status quo, regardless of the question above.\r\n\r\n[1]: https://github.com/gojek/feast/pull/516#issuecomment-596076642\r\n[2]: https://issues.apache.org/jira/browse/BEAM-2530\r\n\r\n## Expected Behavior \r\n\r\n1. Feast master gives a helpful error about Java requirement if a developer attempts to build with an older version than is supported.\r\n1. Feast v0.3-branch and v0.4-branch can build \u0026 test on CI with Java 8. (Appears fixed by #523 🎉)\r\n\r\n## Current Behavior\r\n\r\n    $ jenv version\r\n    openjdk64-1.8.0.242 (set by /Users/cmartin/.jenv/version)\r\n    $ mvn compile\r\n    \u003cSNIP\u003e\r\n    [ERROR] Fatal error compiling: invalid flag: --release\r\n\r\nThis stems from:\r\n\r\nhttps://github.com/gojek/feast/blob/7633912cd8209cece2a21ebe344600342ef1ff9b/pom.xml#L408\r\n\r\nbecause the flag was added to `javac` in Java 9. Maven Enforcer will catch this, proposed below.\r\n\r\nFor the second problem, CI fails with:\r\n\r\n```\r\n.prow/scripts/test-end-to-end-batch.sh only supports Debian stretch.\r\nPlease change your operating system to use this script.\r\n```\r\n\r\n## Steps to reproduce\r\n\r\n1. As above demo\r\n1. Submit a PR to v0.3-branch as in #516 \r\n\r\n## Possible Solution\r\n\r\nThe unhelpful error from Maven would be improved by reverting 190e605, resulting in output like\r\n\r\n```\r\n[WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireJavaVersion failed with message:\r\nDetected JDK Version: 1.8.0-242 is not in the allowed range [11.0,).\r\n\r\n[ERROR] Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed.\r\n```\r\n\r\nFor the CI environment problem, restore compatibility of the test scripts with `maven:3.6-jdk-8` Docker image. Prow always builds using master versions of scripts \u0026 config, I think? Ideally then, ensure a build is run on the maintenance branches when Prow scripts are changed, for as long as those Feast versions are supported.\r\n\r\nFor the Java 8 matter, a quick test seems to tell me that maven-compiler-plugin can compile select modules in a Reactor build with `\u003crelease\u003e8\u003c/release\u003e` while the others compile with 11. So I'm suggesting that it could be straightforward to _only_ build Ingestion for 8, instead of cross-building for two versions and having a more complicated CI matrix. Note then that `datatypes-java` ought to also build with 8 to be safe.","author":{"url":"https://github.com/ches","@type":"Person","name":"ches"},"datePublished":"2020-03-07T15:55:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/517/feast/issues/517"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0aab1225-0ded-7ba9-612f-393e7a101140
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDFB0:15F350:1262EFB:19F93DF:697A0AB2
html-safe-noncee0ec14072562081ab1515e7224f23780364bec7bdc4ab3ea50dfc73748a76459
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkIwOjE1RjM1MDoxMjYyRUZCOjE5RjkzREY6Njk3QTBBQjIiLCJ2aXNpdG9yX2lkIjoiNjEwMDE5MjgwMTYxMTk3NTM0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac04b6adafaf5030199d265467ed021ea05190bc17da5f4c8cc371d48e08153a1b
hovercard-subject-tagissue:577353742
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/517/issue_layout
twitter:imagehttps://opengraph.githubassets.com/86a183ba0f80ecbbfe3099f90d8050e252e961e10c35a14ed2e7fc37fc38c67f/feast-dev/feast/issues/517
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/86a183ba0f80ecbbfe3099f90d8050e252e961e10c35a14ed2e7fc37fc38c67f/feast-dev/feast/issues/517
og:image:altIn #451 we upgraded outright to Java 11 for master / Feast v0.5+. Subsequently in #473 we restored support for v0.3 and v0.4 maintenance branches to be tested on CI with Java 8 (thanks!). I believe...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameches
hostnamegithub.com
expected-hostnamegithub.com
None24021c77440f544078f9cbe80d78a2fb16ccff65fca92deda9da3c51d1cdc5fc
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
releasebd34d6cb576e14ec8da51f144ef82b621f68256d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feast-dev/feast/issues/517#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F517
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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%2Fissues%2F517
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%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=feast-dev%2Ffeast
Reloadhttps://github.com/feast-dev/feast/issues/517
Reloadhttps://github.com/feast-dev/feast/issues/517
Reloadhttps://github.com/feast-dev/feast/issues/517
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.2k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Star 6.7k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Code https://github.com/feast-dev/feast
Issues 181 https://github.com/feast-dev/feast/issues
Pull requests 68 https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security 0 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 https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/517
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/517
To cross build, or not to cross build Ingestionhttps://github.com/feast-dev/feast/issues/517#top
area/ingestionThe ingestion Beam component and storage-related itemshttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22area%2Fingestion%22
kind/bughttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
kind/discussionhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Fdiscussion%22
wontfixThis will not be worked onhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22wontfix%22
https://github.com/ches
https://github.com/ches
cheshttps://github.com/ches
on Mar 7, 2020https://github.com/feast-dev/feast/issues/517#issue-577353742
#451https://github.com/feast-dev/feast/pull/451
#473https://github.com/feast-dev/feast/pull/473
that has been brokenhttps://github.com/gojek/feast/pull/516#issuecomment-596076642
does not build with Java 11 yethttps://issues.apache.org/jira/browse/BEAM-2530
#362https://github.com/feast-dev/feast/issues/362
Relax OS check when starting e2e test #523https://github.com/feast-dev/feast/pull/523
https://github.com/gojek/feast/blob/7633912cd8209cece2a21ebe344600342ef1ff9b/pom.xml#L408https://github.com/gojek/feast/blob/7633912cd8209cece2a21ebe344600342ef1ff9b/pom.xml#L408
v0.3 backport: Fail Spotless check before tests #516https://github.com/feast-dev/feast/pull/516
190e605https://github.com/feast-dev/feast/commit/190e6050f166228cd4866564d3637f5f1d6c2391
area/ingestionThe ingestion Beam component and storage-related itemshttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22area%2Fingestion%22
kind/bughttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
kind/discussionhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Fdiscussion%22
wontfixThis will not be worked onhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22wontfix%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.