Skip to content

Commit

Permalink
Add a gen3 user with hadoop privs
Browse files Browse the repository at this point in the history
  • Loading branch information
nss10 committed Jan 8, 2025
1 parent f900f5e commit 28986cc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,15 @@ 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
# ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
# RUN chmod +x /tini
# ENTRYPOINT ["/tini", "--"]

# CMD ["/usr/sbin/sshd", "-D"]
CMD ["/usr/sbin/sshd", "-D"]

0 comments on commit 28986cc

Please sign in to comment.