Description
The test operation steps:
- compile the compent, for example: hadoop, the command:
docker run --rm -v `pwd`:/home/bigtop --workdir /home/bigtop bigtop/slaves:trunk-openEuler-22.03-aarch64 bash -c '. /etc/profile.d/bigtop.sh; ./gradlew hadoop-pkg'
- execute the smoke testcase of hadoop, the command:
./docker-hadoop.sh -C config_openeuler-22.03.yaml -c 3 -s
The yaml file like as :
docker:
memory_limit: "32g"
image: "bigtop/slaves:trunk-openEuler-22.03"
repo: "file:///bigtop-home/output/"
distro: openEuler
components: [hdfs ,yarn ,mapreduce]
enable_local_repo: true
smoke_test_components: [hdfs, yarn, mapreduce]
- problem
1. docker compose yml file should add version: "2", otherwise can't create the docker env to smoke test.
2. The bigtop-deploy/provisioner directories's file need to be modified to support openEuler, including jdk.pp, site.pp, params.pp and docker-hadoop.sh etc.