Skip to content

Instantly share code, notes, and snippets.

@nmukerje
Last active May 18, 2021 20:28
Show Gist options
  • Save nmukerje/8b00d77c9df0aa62ddfc6b0e4c867e08 to your computer and use it in GitHub Desktop.
Save nmukerje/8b00d77c9df0aa62ddfc6b0e4c867e08 to your computer and use it in GitHub Desktop.
How to build Hudi on EC2
## How to build Hudi on EC2
## install mavn
sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo
sudo sed -i s/\$releasever/6/g /etc/yum.repos.d/epel-apache-maven.repo
sudo yum install -y apache-maven
mvn --version
## install JDK 1.8
sudo yum install java-1.8.0
sudo alternatives --config java
## choose JDK 1.8.0
## build Hudi
sudo yum install -y git
git clone https://github.com/apache/hudi.git && cd hudi
mvn clean package -DskipTests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment