Tuning Presto - Presto on Teradata Appliance for Hadoop

Presto on Teradata Appliance for Hadoop 6 Installation, Configuration, and Upgrade Guide

Product
Presto on Teradata Appliance for Hadoop
Release Number
157t
Published
February 2017
Language
English (United States)
Last Update
2018-04-17
dita:mapPath
jpl1484678832656.ditamap
dita:ditavalPath
Generic_no_ie_no_tempfilter.ditaval
dita:id
jpl1484678832656
Product Category
Open Source

Presto requires a minimum of 16 GB of memory on the coordinator and worker nodes.

To view the amount of memory configured for the coordinator node and each worker node in a deployed configuration, log in to the prestoadmin node and use the following commands.
  • cat /home/prestoadmin/.prestoadmin/coordinator/jvm.config
  • cat /home/prestoadmin/.prestoadmin/workers/jvm.config

When you use the commands, something similar to the following displays. In the following example, memory for the default jvm.config file is shown in bold.

-server
-Xmx16G
-XX:-UseBiasedLocking
-XX:+UseG1GC-XX:+ExplicitGCInvokesConcurrent
-XX:+HeapDumpOnOutOfMemoryError
-XX:+UseGCOverheadLimit
-XX:OnOutOfMemoryError=kill -9 %p 
-XX:ReservedCodeCacheSize=512M
For information about tuning Presto after installation, see: http://teradata.github.io/presto/docs/current/index.html.