added healthchecks based on http requests to WebGUI

This commit is contained in:
Ivan Ermilov
2016-08-15 11:51:38 +02:00
parent 23e947efff
commit 4707efa412
7 changed files with 81 additions and 0 deletions
+2
View File
@@ -1,6 +1,8 @@
FROM bde2020/hadoop-base:1.0.0
MAINTAINER Ivan Ermilov <ivan.s.ermilov@gmail.com>
HEALTHCHECK CMD curl -f http://localhost:50075/ || exit 1
ENV HDFS_CONF_dfs_datanode_data_dir=file:///hadoop/dfs/data
RUN mkdir -p /hadoop/dfs/data
VOLUME /hadoop/dfs/data