diff --git a/Dockerfile b/Dockerfile index 4613c09..e7fa36d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,29 @@ MAINTAINER Yiannis Mouchakis ENV HIVE_VERSION 2.0.0 +ENV CORE_CONF_fs_defaultFS hdfs://namenode:8020 +ENV CORE_CONF_hadoop_http_staticuser_user root +ENV CORE_CONF_hadoop_proxyuser_hue_hosts * +ENV CORE_CONF_hadoop_proxyuser_hue_groups * + +ENV HDFS_CONF_dfs_webhdfs_enabled true +ENV HDFS_CONF_dfs_permissions_enabled false + +ENV YARN_CONF_yarn_log___aggregation___enable true +ENV YARN_CONF_yarn_resourcemanager_recovery_enabled true +ENV YARN_CONF_yarn_resourcemanager_store_class org.apache.hadoop.yarn.server.resourcemanager.recovery.FileSystemRMStateStore +ENV YARN_CONF_yarn_resourcemanager_fs_state___store_uri /rmstate +ENV YARN_CONF_yarn_nodemanager_remote___app___log___dir /app-logs +ENV YARN_CONF_yarn_log_server_url http://historyserver:8188/applicationhistory/logs/ +ENV YARN_CONF_yarn_timeline___service_enabled true +ENV YARN_CONF_yarn_timeline___service_generic___application___history_enabled true +ENV YARN_CONF_yarn_resourcemanager_system___metrics___publisher_enabled true +ENV YARN_CONF_yarn_resourcemanager_hostname resourcemanager +ENV YARN_CONF_yarn_timeline___service_hostname historyserver +ENV YARN_CONF_yarn_resourcemanager_address resourcemanager:8032 +ENV YARN_CONF_yarn_resourcemanager_scheduler_address resourcemanager:8030 +ENV YARN_CONF_yarn_resourcemanager_resource__tracker_address resourcemanager:8031 + WORKDIR /opt RUN apt-get update && apt-get install -y wget && \