From 28986cca06ea9110d801a6977e4eef39933f69c1 Mon Sep 17 00:00:00 2001 From: Sai Shanmukha Date: Wed, 8 Jan 2025 17:24:28 -0600 Subject: [PATCH] Add a gen3 user with hadoop privs --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index f254f96..e4ebe6c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -126,10 +126,10 @@ USER gen3 COPY . /gen3spark WORKDIR /gen3spark -ENV HDFS_NAMENODE_USER=hadoop -ENV HDFS_DATANODE_USER=hadoop -ENV HDFS_RESOURCEMANAGER_USER=hadoop -ENV HDFS_NODEMANAGER_USER=hadoop +ENV HDFS_NAMENODE_USER=gen3 +ENV HDFS_DATANODE_USER=gen3 +ENV HDFS_RESOURCEMANAGER_USER=gen3 +ENV HDFS_NODEMANAGER_USER=gen3 # ENV TINI_VERSION v0.18.0 @@ -137,4 +137,4 @@ ENV HDFS_NODEMANAGER_USER=hadoop # RUN chmod +x /tini # ENTRYPOINT ["/tini", "--"] -# CMD ["/usr/sbin/sshd", "-D"] +CMD ["/usr/sbin/sshd", "-D"]