iwasakims commented on PR #1162:
URL: https://github.com/apache/bigtop/pull/1162#issuecomment-1684943708
You can deploy a cluster and run smoke-tests in container by docker
provisioner which requires docker-compose.
```
$ cd provisioner/docker
$ ./docker-hadoop.sh \
--create 3 \
--image bigtop/puppet:trunk-ubuntu-22.04 \
--docker-compose-yml docker-compose-cgroupv2.yml \
--docker-compose-plugin \
--memory 8g \
--repo file:///bigtop-home/output/apt \
--disable-gpg-check \
--stack hdfs,yarn,mapreduce \
--smoke-tests hdfs,yarn,mapreduce
```
* ``--docker-compose-yml docker-compose-cgroupv2.yml`` is needed on cgroup
v2.
* ``--docker-compose-plugin`` is for using `docker compose` instead of
`docker-compose`.
* use ``--repo file:///bigtop-home/output`` for RPM.
You can log in to the node and see files if you need.
```
$ ./docker-hadoop.sh --docker-compose-plugin --exec 1 /bin/bash
```
--
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]