You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by tm...@apache.org on 2019/08/06 04:18:54 UTC

[impala] 01/04: Create ranger cache directory in containers.

This is an automated email from the ASF dual-hosted git repository.

tmarshall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit 6a31be8dd748972b2bfbe4544904cc85edc77923
Author: Bharath Vissapragada <bh...@cloudera.com>
AuthorDate: Mon Aug 5 12:18:39 2019 -0700

    Create ranger cache directory in containers.
    
    Create a ranger cache directory used by ranger clients when ranger
    is enabled. For simplicity, it is added to the base image. It is
    used only on the coordinators/catalogd.
    
    Change-Id: Iad134636e1566a44acf7b010e6b6067a972798c6
    Reviewed-on: http://gerrit.cloudera.org:8080/14007
    Reviewed-by: Tim Armstrong <ta...@cloudera.com>
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
 docker/impala_base/Dockerfile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/docker/impala_base/Dockerfile b/docker/impala_base/Dockerfile
index d43cc7a..46ad011 100644
--- a/docker/impala_base/Dockerfile
+++ b/docker/impala_base/Dockerfile
@@ -44,6 +44,8 @@ RUN cd /opt/impala/bin && ln -s impalad statestored && ln -s impalad catalogd &&
 # Create conf directory for later config injection.
     mkdir /opt/impala/conf && \
 # Create logs directory to collect container logs.
-    mkdir /opt/impala/logs
+    mkdir /opt/impala/logs && \
+# Create ranger cache directory that is used when ranger is enabled.
+    mkdir /opt/impala/rangercache
 
 WORKDIR /opt/impala/