From 9b34977761be51e53d0a1b177f21284289bec05f Mon Sep 17 00:00:00 2001 From: Carlos Giraldo Date: Thu, 30 Aug 2018 18:43:28 +0200 Subject: [PATCH] Fix bug with pnda hdfs system user --- docker/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/deploy.sh b/docker/deploy.sh index 1a3581c..b5392fc 100755 --- a/docker/deploy.sh +++ b/docker/deploy.sh @@ -14,7 +14,7 @@ echo "adding pnda user" PNDA_USER=pnda PNDA_GROUP=pnda docker exec -ti hdfs-namenode addgroup $PNDA_GROUP -docker exec -ti hdfs-namenode adduser --gecos "" --ingroup=$PNDA_GROUP --disabled-password $PNDA_USER +docker exec -ti hdfs-namenode adduser --gecos "" --ingroup=$PNDA_GROUP --shell /bin/bash --disabled-password $PNDA_USER docker exec -ti hdfs-namenode hdfs dfs -mkdir -p /user/$PNDA_USER docker exec -ti hdfs-namenode hdfs dfs -chown $PNDA_USER:$PNDA_GROUP /user/$PNDA_USER docker exec -ti hdfs-namenode hdfs dfs -chmod 770 /user/$PNDA_USER