Reply
New Contributor
Posts: 4
Registered: ‎03-07-2018

CDSW - docker initialization failed

When adding CDSW service using Cloudera Manager, the following error occurs. This is on an AWS EC2 instance, and it has a 500GB block device attached. Please let me know what I am missing here.

 

exec /opt/cloudera/parcels/CDSW-1.3.0.p1.244221/docker/bin/dockerd --log-driver=journald -s devicemapper --storage-opt dm.basesize=100G --storage-opt dm.thinpooldev=/dev/mapper/docker-thinpool --storage-opt dm.use_deferred_removal=true --iptables=false

time="2018-03-07T00:11:59.594906749Z" level=info msg="libcontainerd: new containerd process, pid: 31556"

Error starting daemon: error initializing graphdriver: devmapper: Base Device UUID and Filesystem verification failed: devicemapper: Error running deviceCreate (ActivateDevice) dm_task_run failed

 

 

Environment details (on AWS):

Centos 7, CDH 5.13.1, CDSW 1.3, JDK 1.8, Docker 1.13

 

==

 

The temporary workaround that I have been using: 

 

  1. Open a shell for the node where the docker issue exists, and clear our the docker files under:
    rm -rf /var/lib/docker/*
  2. Go back to Cloudera Manager and complete steps to add CDSW service
Announcements