ayushtkn opened a new pull request, #5514:
URL: https://github.com/apache/hadoop/pull/5514

   ### Description of PR
   
   Upgrade docker3 scripts to point to latest released 3.3.5
   
   ### How was this patch tested?
   Did:
   1. 
   **./build.sh** 
   
   ```
   Output:
    => [6/6] RUN sudo chown -R hadoop:users /opt/hadoop/etc/hadoop/*            
                                                                                
                                    0.4s
    => exporting to image                                                       
                                                                                
                                    4.0s
    => => exporting layers                                                      
                                                                                
                                    4.0s
    => => writing image 
sha256:bac4072a64798d3c94b29c7a2bfe2758d040267e3dcfefb0773333b47962a18f         
                                                                                
            0.0s
    => => naming to docker.io/apache/hadoop:3   
   ```
   
   2.
    **docker-compose up -d --scale datanode=3 --scale nodemanager=3**
   
   Output:
   ```
   Creating docker-hadoop_nodemanager_1     ... done
   Creating docker-hadoop_nodemanager_2     ... done
   Creating docker-hadoop_nodemanager_3     ... done
   Creating docker-hadoop_resourcemanager_1 ... done
   Creating docker-hadoop_namenode_1        ... done
   Creating docker-hadoop_datanode_1        ... done
   Creating docker-hadoop_datanode_2        ... done
   Creating docker-hadoop_datanode_3        ... done
   ```
   3.
   ```
    docker-compose exec resourcemanager yarn jar \
       /opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-3.3.5.jar 
pi 3 3
   ```
   
   Output:
   ```
   Job Finished in 14.065 seconds
   Estimated value of Pi is 3.55555555555555555556
   ```
   
   
   ### For code changes:
   
   - [ ] Does the title or this PR starts with the corresponding JIRA issue id 
(e.g. 'HADOOP-17799. Your PR title ...')?
   - [ ] Object storage: have the integration tests been executed and the 
endpoint declared according to the connector-specific documentation?
   - [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
   - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, 
`NOTICE-binary` files?
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to