[
https://issues.apache.org/jira/browse/HADOOP-18681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17704932#comment-17704932
]
ASF GitHub Bot commented on HADOOP-18681:
-----------------------------------------
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?
> Upgrade hadoop3 docker scripts to use 3.3.5
> -------------------------------------------
>
> Key: HADOOP-18681
> URL: https://issues.apache.org/jira/browse/HADOOP-18681
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Ayush Saxena
> Assignee: Ayush Saxena
> Priority: Major
>
> Hadoop 3.3.5 is released, the docker3 still points to 3.3,1, Lets upgrade it
> to 3.3.5
> It doesn't work as of now due to broken link to apache-rat-0.13
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]