From 36a28bc8afc433619d3dc3f8b8d6fbeeb1cb1e8a Mon Sep 17 00:00:00 2001 From: Colin Marc Date: Wed, 9 Feb 2022 12:00:56 +0100 Subject: [PATCH] Usermod requires sudo --- .github/scripts/install-hdfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/install-hdfs.sh b/.github/scripts/install-hdfs.sh index 03a49eb4..77d8803e 100755 --- a/.github/scripts/install-hdfs.sh +++ b/.github/scripts/install-hdfs.sh @@ -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 &