-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Upgrade to Debian 10, Java 11, Hadoop 3.3.1, build/run on ARM #108
base: master
Are you sure you want to change the base?
Upgrade to Debian 10, Java 11, Hadoop 3.3.1, build/run on ARM #108
Conversation
- pass tag/version of hadoop-base image forward to Docker builds of components (namenode, etc.) so that all newly built component images are based on the same hadoop-base image
by setting a softlink /opt/hadoop/ pointing to the versioned Hadoop installation directory
manager and history server). Internal Hadoop communication ports are reachable only from inside the cluster. Fix Docker network name in README.md - should be the same as defined by DOCKER_NETWORK in the Makefile.
- allow to build/run on ARM architecture (aarch64 / arm64) - include libraries required by Hadoop native libs
I spent hours going through and fixing all these issues to try and run this on my M1 Mac. Finally found your PR, it fixes everything I missed. Thank you! edit: Please note, this does not work on Raspberry Pi 4 with Ubuntu Server. I will get more details shortly, however it selects a non-existent build even though it's ARMv8. I had to modify the build selection logic. |
Hadoop 3.3.3 officially supports Java 11 - https://hadoop.apache.org/docs/current/ |
@jacobmstein, Hello, Can you work it on 「Raspberry Pi 4 with Ubuntu Server」 now? |
upgrade to Debian 10, Java 11, Hadoop 3.3.1
allow to build/run on ARM architecture (aarch64 / arm64)
note: this PR includes Makefile build: all Docker builds to be based on newly built hadoop-base image #103, Avoid hard-coded Hadoop version in file paths #104, Docker-compose: network name and port fixup #105
tested both on x86_64 / amd64 and aarch64 / arm64
make
)docker-compose up
)make wordcount
)status of native library support (here ARM):