yamasakisua commented on code in PR #1289:
URL: https://github.com/apache/bigtop/pull/1289#discussion_r1736257570


##########
provisioner/docker/docker-hadoop.sh:
##########
@@ -79,6 +79,23 @@ create() {
     fi
     export MEM_LIMIT=${memory_limit}
 
+    if [ -z ${distro+x} ]; then
+        distro=$(get-yaml-config distro)
+    fi
+
+    if [ "${enable_manual_docker_compose}" != true ]; then
+      docker_cgroup_version=`docker info | grep "Cgroup Version:" | awk 
'{print $3}'`
+      if [ ${docker_cgroup_version} == "1" ]; then
+        DOCKER_COMPOSE_CMD="${DOCKER_COMPOSE_CMD} -f docker-compose.yml"
+        log "Unknown cgroup version. cgroup v1 is used as default."

Review Comment:
   sorry, it's my mistake. I fixed it.



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

Reply via email to