docker build -t hadoop-docker .
docker pull p4km9y/hadoop-docker
docker run -it p4km9y/hadoop-docker /etc/bootstrap.sh -bash
You can run one of the stock examples:
cd $HADOOP_PREFIX
# run the mapreduce
bin/hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.x.jar grep input output 'dfs[a-z.]+'
# check the output
bin/hdfs dfs -cat output/*
Content type
Image
Digest
Size
447.4 MB
Last updated
over 10 years ago
docker pull p4km9y/hadoop