Skip to content

Commit

Permalink
Usermod requires sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
colinmarc committed Feb 9, 2022
1 parent 3faa96d commit 36a28bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/install-hdfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ EOF

$HADOOP_ROOT/bin/hdfs namenode -format
sudo groupadd hadoop
usermod -a -G hadoop $USER
sudo usermod -a -G hadoop $USER

echo "Starting namenode..."
$HADOOP_ROOT/bin/hdfs namenode > /tmp/hdfs/namenode.log 2>&1 &
Expand Down

0 comments on commit 36a28bc

Please sign in to comment.