Skip to content

Commit 40c3a4e

Browse files
committed
Add development server
1 parent 4c57774 commit 40c3a4e

15 files changed

+255
-136
lines changed

etc/catalog/jmx.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
connector.name=jmx

etc/catalog/memory.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
connector.name=memory

etc/catalog/tpcds.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
connector.name=tpcds

etc/catalog/tpch.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
connector.name=tpch
2+
tpch.splits-per-node=4

etc/config-pre-466.properties

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
node.id=coordinator
2+
node.environment=test
3+
4+
coordinator=true
5+
node-scheduler.include-coordinator=true
6+
http-server.http.port=8080
7+
query.max-memory=1GB
8+
discovery.uri=http://localhost:8080
9+
10+
# Disable http request log
11+
http-server.log.enabled=false

etc/config.properties

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
node.id=coordinator
2+
node.environment=test
3+
4+
coordinator=true
5+
experimental.concurrent-startup=true
6+
node-scheduler.include-coordinator=true
7+
http-server.http.port=8080
8+
query.max-memory=1GB
9+
discovery.uri=http://localhost:8080
10+
11+
# Use task.min-writer-count > 1, as this allows to expose writer-concurrency related bugs.
12+
task.min-writer-count=2
13+
task.concurrency=2
14+
task.max-writer-count=2
15+
16+
# Experimental protocol spooling settings
17+
protocol.spooling.enabled=true
18+
protocol.spooling.shared-secret-key=jxTKysfCBuMZtFqUf8UJDQ1w9ez8rynEJsJqgJf66u0=
19+
protocol.spooling.retrieval-mode=coordinator_proxy
20+
21+
# Disable http request log
22+
http-server.log.enabled=false

etc/jvm-pre-466.config

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
-server
2+
-Xmx2G
3+
-XX:G1HeapRegionSize=32M
4+
-XX:+ExplicitGCInvokesConcurrent
5+
-XX:+ExitOnOutOfMemoryError
6+
-XX:+HeapDumpOnOutOfMemoryError
7+
-XX:-OmitStackTraceInFastThrow
8+
-XX:ReservedCodeCacheSize=150M
9+
-XX:PerMethodRecompilationCutoff=10000
10+
-XX:PerBytecodeRecompilationCutoff=10000
11+
-Djdk.attach.allowAttachSelf=true
12+
# jdk.nio.maxCachedBufferSize controls what buffers can be allocated in per-thread "temporary buffer cache" (sun.nio.ch.Util). Value of 0 disables the cache.
13+
-Djdk.nio.maxCachedBufferSize=0
14+
# Allow loading dynamic agent used by JOL
15+
-XX:+EnableDynamicAgentLoading
16+
-XX:+UnlockDiagnosticVMOptions

etc/jvm.config

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
-server
2+
-Xmx2G
3+
-XX:G1HeapRegionSize=32M
4+
-XX:+ExplicitGCInvokesConcurrent
5+
-XX:+ExitOnOutOfMemoryError
6+
-XX:+HeapDumpOnOutOfMemoryError
7+
-XX:-OmitStackTraceInFastThrow
8+
-XX:ReservedCodeCacheSize=150M
9+
-XX:PerMethodRecompilationCutoff=10000
10+
-XX:PerBytecodeRecompilationCutoff=10000
11+
-Djdk.attach.allowAttachSelf=true
12+
# jdk.nio.maxCachedBufferSize controls what buffers can be allocated in per-thread "temporary buffer cache" (sun.nio.ch.Util). Value of 0 disables the cache.
13+
-Djdk.nio.maxCachedBufferSize=0
14+
# Allow loading dynamic agent used by JOL
15+
-XX:+EnableDynamicAgentLoading
16+
-XX:+UnlockDiagnosticVMOptions
17+
--enable-native-access=ALL-UNNAMED

etc/spooling-manager.properties

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
spooling-manager.name=filesystem
2+
fs.s3.enabled=true
3+
fs.location=s3://spooling/
4+
s3.endpoint=http://172.17.0.1:9000/
5+
s3.region=us-east-1
6+
s3.aws-access-key=minio-access-key
7+
s3.aws-secret-key=minio-secret-key
8+
s3.path-style-access=true
9+
fs.segment.ttl=5m
10+
fs.segment.pruning.interval=15s
11+
fs.segment.pruning.batch-size=250
12+
# Disable as we don't support SSE-C while writing/reading from S3
13+
fs.segment.encryption=false

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@
4646
"pre-commit",
4747
"black",
4848
"isort",
49-
"keyring"
49+
"keyring",
50+
"testcontainers",
51+
"minio"
5052
]
5153

5254
setup(

0 commit comments

Comments
 (0)