-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Shubham Tagra
committed
Jun 27, 2019
1 parent
bdd8eef
commit 5c90577
Showing
9 changed files
with
267 additions
and
10 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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
FROM library/centos:7 | ||
MAINTAINER Presto community <https://prestosql.io/community.html> | ||
|
||
# Install Java and presto-admin dependences (already has python 2.6) | ||
RUN \ | ||
set -xeu && \ | ||
yum install -y \ | ||
java-1.8.0-openjdk-devel \ | ||
wget \ | ||
&& \ | ||
\ | ||
# install supervisor | ||
yum --enablerepo=extras install -y setuptools epel-release && \ | ||
yum install -y python-pip && \ | ||
pip install supervisor==3.4.0 && \ | ||
\ | ||
# install commonly needed packages | ||
yum install -y \ | ||
sudo \ | ||
vim `# helpful when troubleshooting product tests` \ | ||
&& \ | ||
# cleanup | ||
yum -y clean all && rm -rf /tmp/* /var/tmp/* | ||
|
||
ENV JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# centos7-oj8 [![][layers-badge]][layers-link] [![][version-badge]][dockerhub-link] | ||
|
||
[layers-badge]: https://images.microbadger.com/badges/image/prestodev/centos7-oj8.svg | ||
[layers-link]: https://microbadger.com/images/prestodev/centos7-oj8 | ||
[version-badge]: https://images.microbadger.com/badges/version/prestodev/centos7-oj8.svg | ||
[dockerhub-link]: https://hub.docker.com/r/prestodev/centos7-oj8 | ||
|
||
Docker image of CentOS 7 with Oracle JDK 8 installed. | ||
|
||
## Oracle license | ||
|
||
By using this image, you accept the Oracle Binary Code License Agreement for Java SE available here: | ||
[http://www.oracle.com/technetwork/java/javase/terms/license/index.html](http://www.oracle.com/technetwork/java/javase/terms/license/index.html) |
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
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
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
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
2 changes: 1 addition & 1 deletion
2
prestodev/hdp3-hive3/files/etc/supervisord.d/mysql-metastore.conf
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
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 |
---|---|---|
@@ -0,0 +1,147 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?> | ||
<!-- | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. See accompanying LICENSE file. | ||
--> | ||
|
||
<!-- Put site-specific property overrides in this file. --> | ||
|
||
<configuration> | ||
<property> | ||
<name>tez.lib.uris.ignore</name> | ||
<value>false</value> | ||
</property> | ||
|
||
<property> | ||
<name>tez.lib.uris</name> | ||
<value>file:///usr/hdp/3.1.0.0-78/tez/lib/tez.tar.gz</value> | ||
</property> | ||
<property> | ||
<name>tez.am.mode.session</name> | ||
<value>false</value> | ||
</property> | ||
<property> | ||
<name>tez.am.acl.enabled</name> | ||
<value>false</value> | ||
</property> | ||
|
||
<property> | ||
<name>tez.am.log.level</name> | ||
<value>WARN</value> | ||
</property> | ||
<property> | ||
<name>tez.task.log.level</name> | ||
<value>WARN</value> | ||
</property> | ||
|
||
<property> | ||
<name>tez.runtime.io.sort.mb</name> | ||
<value>512</value> | ||
</property> | ||
|
||
<property> | ||
<name>tez.shuffle-vertex-manager.enable.auto-parallel</name> | ||
<value>true</value> | ||
</property> | ||
<property> | ||
<name>tez.am.max.app.attempts</name> | ||
<value>1</value> | ||
</property> | ||
|
||
<property> | ||
<name>tez.am.task.max.failed.attempts</name> | ||
<value>1</value> | ||
</property> | ||
|
||
<!-- | ||
<property> | ||
<name>tez.shuffle-vertex-manager.desired-task-input-size</name> | ||
<value>true</value> | ||
</property> | ||
--> | ||
|
||
<property> | ||
<name>tez.shuffle-vertex-manager.min-src-fraction</name> | ||
<value>0.10</value> | ||
</property> | ||
<property> | ||
<name>tez.shuffle-vertex-manager.max-src-fraction</name> | ||
<value>1.00</value> | ||
</property> | ||
|
||
<property> | ||
<name>tez.am.launch.cmd-opts</name> | ||
<value>-server -Djava.net.preferIPv4Stack=true -XX:+UseNUMA -XX:+UseParallelGC -Dhadoop.metrics.log.level=WARN</value> | ||
</property> | ||
<property> | ||
<name>tez.am.resource.memory.mb</name> | ||
<value>1024</value> | ||
</property> | ||
|
||
<property> | ||
<name>tez.task.launch.cmd-opts</name> | ||
<value>-server -Djava.net.preferIPv4Stack=true -XX:+UseNUMA -XX:+UseParallelGC -Dhadoop.metrics.log.level=WARN</value> | ||
</property> | ||
<property> | ||
<name>tez.task.resource.memory.mb</name> | ||
<value>1024</value> | ||
</property> | ||
<property> | ||
<name>tez.task.resource.cpu.vcores</name> | ||
<value>1</value> | ||
</property> | ||
<!-- | ||
<property> | ||
<name>tez.runtime.sort.spill.percent</name> | ||
<value>0.5</value> | ||
</property> | ||
<property> | ||
<name>tez.runtime.shuffle.merge.percent</name> | ||
<value>0.5</value> | ||
</property> | ||
<property> | ||
<name>tez.runtime.shuffle.buffersize</name> | ||
<value>8192</value> | ||
</property> | ||
--> | ||
<property> | ||
<name>tez.runtime.sort.threads</name> | ||
<value>1</value> | ||
</property> | ||
<property> | ||
<name>tez.runtime.io.sort.factor</name> | ||
<value>100</value> | ||
</property> | ||
<!-- | ||
<property> | ||
<name>tez.runtime.task.input.buffer.percent</name> | ||
<value>0.2</value> | ||
</property> | ||
<property> | ||
<name>shuffle.memory.limit.percent</name> | ||
<value>0.5</value> | ||
</property> | ||
--> | ||
<property> | ||
<name>tez.runtime.shuffle.memory-to-memory.enable</name> | ||
<value>false</value> | ||
</property> | ||
<property> | ||
<name>tez.runtime.optimize.local.fetch</name> | ||
<value>true</value> | ||
</property> | ||
|
||
<property> | ||
<name>hive.tez.container.size</name> | ||
<value>1024</value> | ||
</property> | ||
|
||
</configuration> |
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