-
Notifications
You must be signed in to change notification settings - Fork 550
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added deafault env vars for hadoop in Dockerfile
- Loading branch information
Giannis Mouchakis
committed
Jun 15, 2016
1 parent
5521e95
commit 52bbcda
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,29 @@ MAINTAINER Yiannis Mouchakis <[email protected]> | |
|
||
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 && \ | ||
|