mirror of
https://github.com/apache/druid.git
synced 2025-02-09 03:24:55 +00:00
Update realtime node configs for examples; fixes #1111
This commit is contained in:
parent
31e248736d
commit
63338e6e35
@ -93,7 +93,7 @@ You should be comfortable starting Druid nodes at this point. If not, it may be
|
|||||||
1. Real-time nodes can be started with:
|
1. Real-time nodes can be started with:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
java -Xmx256m -Duser.timezone=UTC -Dfile.encoding=UTF-8 -Ddruid.realtime.specFile=examples/indexing/wikipedia.spec -classpath lib/*:config/realtime io.druid.cli.Main server realtime
|
java -Xmx512m -Duser.timezone=UTC -Dfile.encoding=UTF-8 -Ddruid.realtime.specFile=examples/indexing/wikipedia.spec -classpath lib/*:config/realtime io.druid.cli.Main server realtime
|
||||||
```
|
```
|
||||||
|
|
||||||
2. A realtime.spec should already exist for the data source in the Druid tarball. You should be able to find it at:
|
2. A realtime.spec should already exist for the data source in the Druid tarball. You should be able to find it at:
|
||||||
|
@ -280,7 +280,7 @@ Now we should be handing off segments every 6 minutes or so.
|
|||||||
To start the realtime node that was used in our first tutorial, you simply have to issue:
|
To start the realtime node that was used in our first tutorial, you simply have to issue:
|
||||||
|
|
||||||
```
|
```
|
||||||
java -Xmx256m -Duser.timezone=UTC -Dfile.encoding=UTF-8 -Ddruid.realtime.specFile=examples/wikipedia/wikipedia_realtime.spec -classpath lib/*:config/realtime io.druid.cli.Main server realtime
|
java -Xmx512m -Duser.timezone=UTC -Dfile.encoding=UTF-8 -Ddruid.realtime.specFile=examples/wikipedia/wikipedia_realtime.spec -classpath lib/*:config/realtime io.druid.cli.Main server realtime
|
||||||
```
|
```
|
||||||
|
|
||||||
The configurations are located in `config/realtime/runtime.properties` and should contain the following:
|
The configurations are located in `config/realtime/runtime.properties` and should contain the following:
|
||||||
@ -293,7 +293,7 @@ druid.service=realtime
|
|||||||
# We can only 1 scan segment in parallel with these configs.
|
# We can only 1 scan segment in parallel with these configs.
|
||||||
# Our intermediate buffer is also very small so longer topNs will be slow.
|
# Our intermediate buffer is also very small so longer topNs will be slow.
|
||||||
druid.processing.buffer.sizeBytes=100000000
|
druid.processing.buffer.sizeBytes=100000000
|
||||||
druid.processing.numThreads=1
|
druid.processing.numThreads=2
|
||||||
|
|
||||||
# Enable Real monitoring
|
# Enable Real monitoring
|
||||||
# druid.monitoring.monitors=["com.metamx.metrics.SysMonitor","com.metamx.metrics.JvmMonitor","io.druid.segment.realtime.RealtimeMetricsMonitor"]
|
# druid.monitoring.monitors=["com.metamx.metrics.SysMonitor","com.metamx.metrics.JvmMonitor","io.druid.segment.realtime.RealtimeMetricsMonitor"]
|
||||||
|
@ -22,7 +22,7 @@ druid.service=realtime
|
|||||||
# We can only 1 scan segment in parallel with these configs.
|
# We can only 1 scan segment in parallel with these configs.
|
||||||
# Our intermediate buffer is also very small so longer topNs will be slow.
|
# Our intermediate buffer is also very small so longer topNs will be slow.
|
||||||
druid.processing.buffer.sizeBytes=100000000
|
druid.processing.buffer.sizeBytes=100000000
|
||||||
druid.processing.numThreads=1
|
druid.processing.numThreads=2
|
||||||
|
|
||||||
# Enable Real monitoring
|
# Enable Real monitoring
|
||||||
# druid.monitoring.monitors=["com.metamx.metrics.SysMonitor","com.metamx.metrics.JvmMonitor","io.druid.segment.realtime.RealtimeMetricsMonitor"]
|
# druid.monitoring.monitors=["com.metamx.metrics.SysMonitor","com.metamx.metrics.JvmMonitor","io.druid.segment.realtime.RealtimeMetricsMonitor"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user