Browse Source

Upload files to 'historyserver'

master
DrakopoulosAj 5 years ago
parent
commit
4acaf82170
  1. 16
      historyserver/Dockerfile
  2. 3
      historyserver/run.sh

16
historyserver/Dockerfile

@ -0,0 +1,16 @@
FROM bde2020/hadoop-base:2.0.0-hadoop3.2.1-java8
MAINTAINER Ivan Ermilov <ivan.s.ermilov@gmail.com>
HEALTHCHECK CMD curl -f http://localhost:8188/ || exit 1
ENV YARN_CONF_yarn_timeline___service_leveldb___timeline___store_path=/hadoop/yarn/timeline
RUN mkdir -p /hadoop/yarn/timeline
VOLUME /hadoop/yarn/timeline
ADD run.sh /run.sh
RUN chmod a+x /run.sh
EXPOSE 8188
CMD ["/run.sh"]

3
historyserver/run.sh

@ -0,0 +1,3 @@
#!/bin/bash
$HADOOP_HOME/bin/yarn --config $HADOOP_CONF_DIR historyserver
Loading…
Cancel
Save