Description
Datanode uses a temporary working directory for copying/replicating containers, the default location of this directory is read from system property java.io.tmpdir. Since all the datanodes are running in same machine/jvm in MiniOzoneCluster we might corrupt the data while the datanodes are moving containers as all the datanodes will be using the same working directory.
While configuring datanode for MiniOzoneCluster, we should set custom value for hdds.datanode.replication.work.dir in each datanode instance.