smengcl opened a new pull request #10: URL: https://github.com/apache/ozone-docker-runner/pull/10
## What changes were proposed in this pull request? - Bump golang base image to 1.17.6 (was 1.17.3) - Bump centos base image to 8.4.2105 (was 7.6.1810) - Incorporated HDDS-6239 into Dockerfile (centos vault repo url change). `yum install` will fail without it. - Remove unused dependencies bzip2-devel, gcc48-c++, lz4-devel, snappy-devel, zlib-devel - Bump gflags to 2.2.2 (was 2.0.0) - Bump zstd to 1.5.3 (was 1.1.3) - Bump rocksdb to 6.28.2 (was 6.8.1) - Use `make -j$(nproc)` to speed up the build process ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-6264 ## How was this patch tested? Followed https://github.com/apache/ozone-docker-runner#development for local testing: - Built image using `docker build -t apache/ozone-runner:dev .` ```bash Successfully tagged apache/ozone-runner:dev ``` - Ran `mvn clean verify -DskipTests -Dskip.npx -DskipShade -Ddocker.ozone-runner.version=dev` on latest ozone master branch (`e47b6f0c35`) ```bash [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 42.393 s [INFO] Finished at: 2022-02-04T07:24:13-08:00 [INFO] ------------------------------------------------------------------------ ``` - Started docker compose cluster `cd hadoop-ozone/dist/target/ozone-*/compose/ozone && docker-compose up`. - Checked logs, services seems to have started as expected. - Accessed OM Web UI at http://localhost:9874 , looked fine - Accessed SCM Web UI at http://localhost:9876 , looked fine - Accessed S3 Gateway Web UI at http://localhost:9878 , looked fine ``` docker-compose ps Name Command State Ports ------------------------------------------------------------------------------------------------------------------- ozone_datanode_1 /usr/local/bin/dumb-init - ... Up 0.0.0.0:49160->9864/tcp,:::49160->9864/tcp, 0.0.0.0:49159->9882/tcp,:::49159->9882/tcp ozone_om_1 /usr/local/bin/dumb-init - ... Up 0.0.0.0:9862->9862/tcp,:::9862->9862/tcp, 0.0.0.0:9874->9874/tcp,:::9874->9874/tcp ozone_recon_1 /usr/local/bin/dumb-init - ... Up 0.0.0.0:9888->9888/tcp,:::9888->9888/tcp ozone_s3g_1 /usr/local/bin/dumb-init - ... Up 0.0.0.0:9878->9878/tcp,:::9878->9878/tcp ozone_scm_1 /usr/local/bin/dumb-init - ... Up 0.0.0.0:9860->9860/tcp,:::9860->9860/tcp, 0.0.0.0:9876->9876/tcp,:::9876->9876/tcp ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org