-
Notifications
You must be signed in to change notification settings - Fork 366
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
Specified that Maven must run with Java 8 in docs #8706
base: master
Are you sure you want to change the base?
Conversation
🎊 PR Preview 21016a3 has been successfully built and deployed to https://treeverse-lakeFS-preview-pr-8706.surge.sh 🕐 Build time: 0.01s 🤖 By surge-preview |
clients/hadoopfs/README.md
Outdated
## Building | ||
|
||
Maven must be run with Java 8. | ||
|
||
## Testing | ||
|
||
Maven tests must be run with Java 8. |
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.
Suggest to merge the two and write that the project using Maven, with a prerequisite of having Java 8 installed.
1. Java 8 | ||
* Apple M1 users can install this from [Azul Zulu Builds for Java JDK](https://www.azul.com/downloads/?package=jdk). Builds for Intel-based Macs are available from [java.com](https://www.java.com/en/download/help/mac_install.html). | ||
1. [Maven](https://maven.apache.org/) with Java 8 |
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.
Java 8 is already required at line 42.
Also Maven was specified - but just limited to the spark client - which we need to update.
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.
@nopcoder
So, do you mean I should write:
"Maven - required for building and testing Spark client code, as well as the hadoopfs client."
instead of my original version:
"Maven with Java 8
- Java 8 is required for building and testing the hadoopfs client.
"
Closes #8581
Change Description
Background
When running make test with Maven using Java version greater than 8, the following error occurs:
Fix And Updating Documentation
The failure happens in the hadoopfs client tests. However, when using Java 8, the tests pass successfully.
I updated the Contributing to lakeFS documentation and the clients/hadoopfs README by adding a building and testing section, specifying that Maven should be used with Java 8.
Testing Details
I tested the appearance of the new document using Jekyll in Docker.