add hadoop

This commit is contained in:
newnius
2017-02-26 15:16:53 +08:00
parent dea8e39309
commit ca6ff3ecac
8 changed files with 301 additions and 0 deletions

17
hadoop/2.7.1/Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM sequenceiq/hadoop-docker:2.7.1
MAINTAINER Newnius <newnius.cn@gmail.com>
ADD bootstrap.sh /etc/bootstrap.sh
RUN mkdir -p /mnt/hadoop-config
ADD core-site.xml /mnt/hadoop-config
ADD yarn-site.xml /mnt/hadoop-config
ADD mapred-site.xml /mnt/hadoop-config
ADD hdfs-site.xml /mnt/hadoop-config
ADD slaves /mnt/hadoop-config
WORKDIR /usr/local/hadoop
CMD ["/etc/bootstrap.sh", "-d"]