Browse Source

Upload files to 'resourcemanager'

master
DrakopoulosAj 5 years ago
parent
commit
25b4d84e27
  1. 12
      resourcemanager/Dockerfile
  2. 3
      resourcemanager/run.sh

12
resourcemanager/Dockerfile

@ -0,0 +1,12 @@
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:8088/ || exit 1
ADD run.sh /run.sh
RUN chmod a+x /run.sh
EXPOSE 8088
CMD ["/run.sh"]

3
resourcemanager/run.sh

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