bin/bootstrap
In a terminal run:
bin/start-hadoop
An interactive shell should start connected to the container. Run the following commands:
groupadd supergroupadduser hdfs -g supergroup
In another terminal, start kafka container:
bin/start-kafka
cd /usr/local/hadoop
List files:
bin/hdfs dfs -ls /
Show contents of file:
bin/hdfs dfs -cat /tmp/my-file
Remove file(s):
bin/hdfs dfs -rm -r /tmp