Skip to content

Commit

Permalink
Fix bug with pnda hdfs system user
Browse files Browse the repository at this point in the history
  • Loading branch information
cgiraldo committed Aug 30, 2018
1 parent fc1c354 commit 9b34977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9b34977

Please sign in to comment.