region:us
{
"questions": [
{
"question": "What is the purpose of the Node Properties file?",
"answer": "The node properties file (etc/node.properties) contains configuration specific to each node in the Presto cluster. It is typically created by the deployment system when Presto is first installed. It includes properties like node.environment, node.id, and node.data-dir."
},
{
"question": "What is the significance of the JVM Config file?",
"answer": "The JVM config file (etc/jvm.config) contains a list of command line options used for launching the Java Virtual Machine that runs Presto. It specifies options like -Xmx for heap size, -XX options for garbage collection, etc."
},
{
"question": "What does the Config Properties file do?",
"answer": "The config properties file (etc/config.properties) contains configuration for the Presto server. It specifies whether the Presto instance is a coordinator or worker, the HTTP server port, query memory settings, and more."
},
{
"question": "What is the purpose of the Catalog Properties file?",
"answer": "The catalog properties files (e.g., etc/catalog/hive.properties) are used to configure connectors that Presto uses to access data. Each catalog corresponds to a specific connector, and it defines properties like connector.name, hive.metastore.uri, etc."
},
{
"question": "What is the role of the resource manager in a disaggregated coordinator setup?",
"answer": "In a disaggregated coordinator setup, the resource manager aggregates data from coordinators and workers and constructs a global view of the cluster. It helps manage resource allocation and coordination across the cluster."
},
{
"question": "How can Presto be started using Docker?",
"answer": "Presto can be run inside a Docker container. The provided Dockerfile downloads Presto, copies configuration files, sets up connectors, and specifies an entry point to start the Presto server. The container can be built and started using Docker commands."
},
{
"question": "What files are present in the etc/ directory to configure Presto?",
"answer": "The etc/ directory contains several configuration files for Presto: config.properties, jvm.config, log.properties, node.properties, and additional catalog properties files (e.g., etc/catalog/tpch.properties). These files define various aspects of Presto's behavior and connector configurations."
},
{
"question": "What is the function of the log levels file?",
"answer": "The optional log levels file (etc/log.properties) allows setting the minimum log level for named logger hierarchies in Presto. It allows you to control the log levels for different parts of Presto's codebase."
}
]
}