From 48e6bef25025af2c70bd42326133c607d829810a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20L=C3=A9aut=C3=A9?= Date: Mon, 3 Nov 2014 09:25:39 -0800 Subject: [PATCH] update documentation with new property names --- docs/content/Configuration.md | 24 +++++++++---------- docs/content/Ingestion-FAQ.md | 6 ++--- docs/content/Middlemanager.md | 6 ++--- docs/content/MySQL.md | 2 +- .../Production-Cluster-Configuration.md | 20 ++++++++-------- docs/content/Realtime-Config.md | 16 ++++++------- docs/content/Simple-Cluster-Configuration.md | 12 +++++----- .../Tutorial:-Loading-Your-Data-Part-1.md | 6 ++--- docs/content/Tutorial:-The-Druid-Cluster.md | 12 +++++----- 9 files changed, 52 insertions(+), 52 deletions(-) diff --git a/docs/content/Configuration.md b/docs/content/Configuration.md index 5d09851a924..9aae64dcf51 100644 --- a/docs/content/Configuration.md +++ b/docs/content/Configuration.md @@ -245,18 +245,18 @@ These properties specify the jdbc connection and other configuration around the |Property|Description|Default| |--------|-----------|-------| -|`druid.db.connector.user`|The username to connect with.|none| -|`druid.db.connector.password`|The password to connect with.|none| -|`druid.db.connector.createTables`|If Druid requires a table and it doesn't exist, create it?|true| -|`druid.db.connector.useValidationQuery`|Validate a table with a query.|false| -|`druid.db.connector.validationQuery`|The query to validate with.|SELECT 1| -|`druid.db.tables.base`|The base name for tables.|druid| -|`druid.db.tables.segmentTable`|The table to use to look for segments.|druid_segments| -|`druid.db.tables.ruleTable`|The table to use to look for segment load/drop rules.|druid_rules| -|`druid.db.tables.configTable`|The table to use to look for configs.|druid_config| -|`druid.db.tables.tasks`|Used by the indexing service to store tasks.|druid_tasks| -|`druid.db.tables.taskLog`|Used by the indexing service to store task logs.|druid_taskLog| -|`druid.db.tables.taskLock`|Used by the indexing service to store task locks.|druid_taskLock| +|`druid.metadata.storage.connector.user`|The username to connect with.|none| +|`druid.metadata.storage.connector.password`|The password to connect with.|none| +|`druid.metadata.storage.connector.createTables`|If Druid requires a table and it doesn't exist, create it?|true| +|`druid.metadata.storage.connector.useValidationQuery`|Validate a table with a query.|false| +|`druid.metadata.storage.connector.validationQuery`|The query to validate with.|SELECT 1| +|`druid.metadata.storage.tables.base`|The base name for tables.|druid| +|`druid.metadata.storage.tables.segmentTable`|The table to use to look for segments.|druid_segments| +|`druid.metadata.storage.tables.ruleTable`|The table to use to look for segment load/drop rules.|druid_rules| +|`druid.metadata.storage.tables.configTable`|The table to use to look for configs.|druid_config| +|`druid.metadata.storage.tables.tasks`|Used by the indexing service to store tasks.|druid_tasks| +|`druid.metadata.storage.tables.taskLog`|Used by the indexing service to store task logs.|druid_taskLog| +|`druid.metadata.storage.tables.taskLock`|Used by the indexing service to store task locks.|druid_taskLock| ### Jackson Config Manager Module diff --git a/docs/content/Ingestion-FAQ.md b/docs/content/Ingestion-FAQ.md index 972e62a6a23..c2dd2c83207 100644 --- a/docs/content/Ingestion-FAQ.md +++ b/docs/content/Ingestion-FAQ.md @@ -17,9 +17,9 @@ Make sure that the `druid.publish.type` on your real-time nodes is set to "db". ``` druid.publish.type=db -druid.db.connector.connectURI=jdbc\:mysql\://localhost\:3306/druid -druid.db.connector.user=druid -druid.db.connector.password=diurd +druid.metadata.storage.connector.connectURI=jdbc\:mysql\://localhost\:3306/druid +druid.metadata.storage.connector.user=druid +druid.metadata.storage.connector.password=diurd druid.storage.type=s3 druid.storage.bucket=druid diff --git a/docs/content/Middlemanager.md b/docs/content/Middlemanager.md index 5736268a693..5dfd06e90bc 100644 --- a/docs/content/Middlemanager.md +++ b/docs/content/Middlemanager.md @@ -29,9 +29,9 @@ With the following JVM configuration: -Ddruid.zk.service.host=localhost --Ddruid.db.connector.connectURI=jdbc:mysql://localhost:3306/druid --Ddruid.db.connector.user=druid --Ddruid.db.connector.password=diurd +-Ddruid.metadata.storage.connector.connectURI=jdbc:mysql://localhost:3306/druid +-Ddruid.metadata.storage.connector.user=druid +-Ddruid.metadata.storage.connector.password=diurd -Ddruid.selectors.indexing.serviceName=overlord -Ddruid.indexer.runner.startPort=8092 -Ddruid.indexer.fork.property.druid.computation.buffer.size=268435456 diff --git a/docs/content/MySQL.md b/docs/content/MySQL.md index c2b542a50dd..ae15d8f31be 100644 --- a/docs/content/MySQL.md +++ b/docs/content/MySQL.md @@ -7,7 +7,7 @@ MySQL is an external dependency of Druid. We use it to store various metadata ab Segments Table -------------- -This is dictated by the `druid.db.tables.segments` property. +This is dictated by the `druid.metadata.storage.tables.segments` property. This table stores metadata about the segments that are available in the system. The table is polled by the [Coordinator](Coordinator.html) to determine the set of segments that should be available for querying in the system. The table has two main functional columns, the other columns are for indexing purposes. diff --git a/docs/content/Production-Cluster-Configuration.md b/docs/content/Production-Cluster-Configuration.md index 21190792663..144a57d7342 100644 --- a/docs/content/Production-Cluster-Configuration.md +++ b/docs/content/Production-Cluster-Configuration.md @@ -67,11 +67,11 @@ druid.discovery.curator.path=/prod/discovery druid.s3.accessKey=#{ACCESS_KEY} druid.s3.secretKey=#{SECRET_KEY} -druid.db.connector.connectURI=jdbc:mysql://#{MYSQL_URL}:3306/druid -druid.db.connector.user=#{MYSQL_USER} -druid.db.connector.password=#{MYSQL_PW} -druid.db.connector.useValidationQuery=true -druid.db.tables.base=prod +druid.metadata.storage.connector.connectURI=jdbc:mysql://#{MYSQL_URL}:3306/druid +druid.metadata.storage.connector.user=#{MYSQL_USER} +druid.metadata.storage.connector.password=#{MYSQL_PW} +druid.metadata.storage.connector.useValidationQuery=true +druid.metadata.storage.tables.base=prod # Only required if you are autoscaling middle managers druid.indexer.autoscale.doAutoscale=true @@ -229,11 +229,11 @@ druid.zk.paths.base=/druid/prod druid.discovery.curator.path=/prod/discovery -druid.db.connector.connectURI=jdbc:mysql://#{MYSQL_URL}:3306/druid -druid.db.connector.user=#{MYSQL_USER} -druid.db.connector.password=#{MYSQL_PW} -druid.db.connector.useValidationQuery=true -druid.db.tables.base=prod +druid.metadata.storage.connector.connectURI=jdbc:mysql://#{MYSQL_URL}:3306/druid +druid.metadata.storage.connector.user=#{MYSQL_USER} +druid.metadata.storage.connector.password=#{MYSQL_PW} +druid.metadata.storage.connector.useValidationQuery=true +druid.metadata.storage.tables.base=prod druid.selectors.indexing.serviceName=druid:prod:overlord diff --git a/docs/content/Realtime-Config.md b/docs/content/Realtime-Config.md index 92ab9382f81..6b1d28ac326 100644 --- a/docs/content/Realtime-Config.md +++ b/docs/content/Realtime-Config.md @@ -38,9 +38,9 @@ druid.realtime.specFile=/path/to/specFile # Choices: db (hand off segments), noop (do not hand off segments). druid.publish.type=db -druid.db.connector.connectURI=jdbc\:mysql\://localhost\:3306/druid -druid.db.connector.user=druid -druid.db.connector.password=diurd +druid.metadata.storage.connector.connectURI=jdbc\:mysql\://localhost\:3306/druid +druid.metadata.storage.connector.user=druid +druid.metadata.storage.connector.password=diurd druid.processing.buffer.sizeBytes=100000000 ``` @@ -84,11 +84,11 @@ druid.zk.paths.base=/druid/prod druid.s3.accessKey=#{ACCESS_KEY} druid.s3.secretKey=#{SECRET_KEY} -druid.db.connector.connectURI=jdbc:mysql://#{MYSQL_URL}:3306/druid -druid.db.connector.user=#{MYSQL_USER} -druid.db.connector.password=#{MYSQL_PW} -druid.db.connector.useValidationQuery=true -druid.db.tables.base=prod +druid.metadata.storage.connector.connectURI=jdbc:mysql://#{MYSQL_URL}:3306/druid +druid.metadata.storage.connector.user=#{MYSQL_USER} +druid.metadata.storage.connector.password=#{MYSQL_PW} +druid.metadata.storage.connector.useValidationQuery=true +druid.metadata.storage.tables.base=prod druid.publish.type=db diff --git a/docs/content/Simple-Cluster-Configuration.md b/docs/content/Simple-Cluster-Configuration.md index c25f349f0b0..ceab54e3f45 100644 --- a/docs/content/Simple-Cluster-Configuration.md +++ b/docs/content/Simple-Cluster-Configuration.md @@ -30,9 +30,9 @@ Configuration: -Ddruid.extensions.coordinates=["io.druid.extensions:druid-kafka-seven:0.6.160"] --Ddruid.db.connector.connectURI=jdbc:mysql://localhost:3306/druid --Ddruid.db.connector.user=druid --Ddruid.db.connector.password=diurd +-Ddruid.metadata.storage.connector.connectURI=jdbc:mysql://localhost:3306/druid +-Ddruid.metadata.storage.connector.user=druid +-Ddruid.metadata.storage.connector.password=diurd -Ddruid.selectors.indexing.serviceName=overlord -Ddruid.indexer.queue.startDelay=PT0M @@ -66,9 +66,9 @@ druid.port=8082 druid.zk.service.host=localhost -druid.db.connector.connectURI=jdbc\:mysql\://localhost\:3306/druid -druid.db.connector.user=druid -druid.db.connector.password=diurd +druid.metadata.storage.connector.connectURI=jdbc\:mysql\://localhost\:3306/druid +druid.metadata.storage.connector.user=druid +druid.metadata.storage.connector.password=diurd druid.coordinator.startDelay=PT70s ``` diff --git a/docs/content/Tutorial:-Loading-Your-Data-Part-1.md b/docs/content/Tutorial:-Loading-Your-Data-Part-1.md index eed3030c71e..5916a822301 100644 --- a/docs/content/Tutorial:-Loading-Your-Data-Part-1.md +++ b/docs/content/Tutorial:-Loading-Your-Data-Part-1.md @@ -93,9 +93,9 @@ druid.zk.service.host=localhost druid.extensions.coordinates=["io.druid.extensions:druid-kafka-seven:0.6.160"] -druid.db.connector.connectURI=jdbc:mysql://localhost:3306/druid -druid.db.connector.user=druid -druid.db.connector.password=diurd +druid.metadata.storage.connector.connectURI=jdbc:mysql://localhost:3306/druid +druid.metadata.storage.connector.user=druid +druid.metadata.storage.connector.password=diurd druid.selectors.indexing.serviceName=overlord druid.indexer.queue.startDelay=PT0M diff --git a/docs/content/Tutorial:-The-Druid-Cluster.md b/docs/content/Tutorial:-The-Druid-Cluster.md index 7b21b72aa69..05a8a44d9f2 100644 --- a/docs/content/Tutorial:-The-Druid-Cluster.md +++ b/docs/content/Tutorial:-The-Druid-Cluster.md @@ -116,9 +116,9 @@ druid.port=8082 druid.zk.service.host=localhost -druid.db.connector.connectURI=jdbc\:mysql\://localhost\:3306/druid -druid.db.connector.user=druid -druid.db.connector.password=diurd +druid.metadata.storage.connector.connectURI=jdbc\:mysql\://localhost\:3306/druid +druid.metadata.storage.connector.user=druid +druid.metadata.storage.connector.password=diurd druid.coordinator.startDelay=PT70s ``` @@ -246,9 +246,9 @@ druid.extensions.coordinates=["io.druid.extensions:druid-examples:0.6.160","io.d druid.publish.type=noop # These configs are only required for real hand off -# druid.db.connector.connectURI=jdbc\:mysql\://localhost\:3306/druid -# druid.db.connector.user=druid -# druid.db.connector.password=diurd +# druid.metadata.storage.connector.connectURI=jdbc\:mysql\://localhost\:3306/druid +# druid.metadata.storage.connector.user=druid +# druid.metadata.storage.connector.password=diurd druid.processing.buffer.sizeBytes=100000000 druid.processing.numThreads=1