Laszlo Gaal has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/12030


Change subject: IMPALA-7913: Separate ccache TEMP directories by Docker 
container
......................................................................

IMPALA-7913: Separate ccache TEMP directories by Docker container

ccache v3.1 (the default version for CentOS 6) has a problem when
multiple copies are run inside concurrent Docker containers: it
can get confused when creating/using temporary files. Version 3.2
and later are free of this problem, see:
https://ccache.samba.narkive.com/o4BSOjxG/shared-ccache-directory-between-docker-containers

This patch points each copy of ccache to a separate, private temporary
directory by passing an explicit CCACHE_TEMPDIR environment variable
to each launched container.

Verified by looking into each running container using
"docker exec -it .... /bin/bash", checking the value of CCACHE_TEMPDIR
and observing tempfile traffic within the directory.

Change-Id: I8e6f1e31ca9419224a2a73a3e5ff46b004bb10c6
---
M docker/test-with-docker.py
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/30/12030/1
--
To view, visit http://gerrit.cloudera.org:8080/12030
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8e6f1e31ca9419224a2a73a3e5ff46b004bb10c6
Gerrit-Change-Number: 12030
Gerrit-PatchSet: 1
Gerrit-Owner: Laszlo Gaal <laszlo.g...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <joemcdonn...@cloudera.com>
Gerrit-Reviewer: Philip Zeyliger <phi...@cloudera.com>

Reply via email to