Skip to content

Instantly share code, notes, and snippets.

@tzach
Created June 27, 2016 07:32
Show Gist options
  • Select an option

  • Save tzach/31e44b23926e92e3ff3d28630c2ba422 to your computer and use it in GitHub Desktop.

Select an option

Save tzach/31e44b23926e92e3ff3d28630c2ba422 to your computer and use it in GitHub Desktop.
## Presto
$ cd etc
etc$ ls -la
total 28
drwxrwxr-x 3 tzach tzach 4096 Jun 27 10:24 .
drwxr-xr-x 8 tzach tzach 4096 Jun 27 10:24 ..
drwxrwxr-x 2 tzach tzach 4096 Jun 27 10:19 catalog
-rw-rw-r-- 1 tzach tzach 203 Jun 27 10:19 config.properties
-rw-rw-r-- 1 tzach tzach 176 Jun 27 10:18 jvm.config
-rw-rw-r-- 1 tzach tzach 25 Jun 27 10:18 log.properties
-rw-rw-r-- 1 tzach tzach 126 Jun 27 09:50 node.properties
$ cat config.properties
coordinator=true
node-scheduler.include-coordinator=true
http-server.http.port=8080
query.max-memory=5GB
query.max-memory-per-node=1GB
discovery-server.enabled=false
discovery.uri=http://example.net:8080
$ cat jvm.config
-server
-Xmx4G
-XX:+UseG1GC
-XX:G1HeapRegionSize=32M
-XX:+UseGCOverheadLimit
-XX:+ExplicitGCInvokesConcurrent
-XX:+HeapDumpOnOutOfMemoryError
-XX:OnOutOfMemoryError=kill -9 %p
$ cat log.properties
com.facebook.presto=INFO
$ cat node.properties
node.environment=production
node.id=ffffffff-ffff-ffff-ffff-ffffffffffff
$ cat catalog/cassandra.properties
connector.name=cassandra
cassandra.contact-points=127.0.0.1
$ cd ..
$ bin/launcher run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment