adoroszlai opened a new pull request #2415:
URL: https://github.com/apache/hadoop/pull/2415


   ## What changes were proposed in this pull request?
   
   1. Update to Hadoop 3.3.0 release.
   2. And some misc updates/improvements for the docker build:
      * Use current Apache Rat 0.13 in `build.sh` as 0.12 is now available only 
in archive.
      * Add `.dockerignore` to speed up build (avoid sending `.git` etc. to the 
Docker daemon).
      * Let git ignore `build` dir (created by `build.sh`).
      * Add some MapReduce-related env to docker config to allow running MR 
examples.
   
   https://issues.apache.org/jira/browse/HADOOP-17320
   
   ## How was this patch tested?
   
   Built the new image locally:
   
   ```
   $ ./build.sh
   ...
   Successfully built 2adf1981fb31
   Successfully tagged apache/hadoop:3
   ```
   
   and tested it with the included sample Docker Compose cluster:
   
   ```
   $ docker-compose up -d --scale datanode=3 --scale nodemanager=3
   $ docker-compose exec resourcemanager yarn jar 
/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-3.3.0.jar pi 3 3
   ...
   Job Finished in 26.524 seconds
   Estimated value of Pi is 3.55555555555555555556
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to