mirror of
https://github.com/apache/druid.git
synced 2025-02-09 03:24:55 +00:00
remove need for tmp extensions dir (#3211)
correct lib path relative to base distribution dir
This commit is contained in:
parent
d2636d1a64
commit
99844dfeb5
@ -39,24 +39,20 @@ for the (hypothetical) extension *com.example:druid-example-extension:1.0.0*, ru
|
|||||||
|
|
||||||
```
|
```
|
||||||
java \
|
java \
|
||||||
-cp "dist/druid/lib/*" \
|
-cp "lib/*" \
|
||||||
-Ddruid.extensions.directory="extensions-tmp" \
|
-Ddruid.extensions.directory="extensions" \
|
||||||
-Ddruid.extensions.hadoopDependenciesDir="hadoop-dependencies-tmp" \
|
-Ddruid.extensions.hadoopDependenciesDir="hadoop-dependencies" \
|
||||||
io.druid.cli.Main tools pull-deps \
|
io.druid.cli.Main tools pull-deps \
|
||||||
--no-default-hadoop \
|
--no-default-hadoop \
|
||||||
-c "com.example:druid-example-extension:1.0.0"
|
-c "com.example:druid-example-extension:1.0.0"
|
||||||
```
|
```
|
||||||
|
|
||||||
You can install downloaded extensions by copying them into `extensions`. For example,
|
|
||||||
|
|
||||||
```
|
|
||||||
cp -R extensions-tmp/druid-example-extension extensions/druid-example-extension
|
|
||||||
```
|
|
||||||
|
|
||||||
You only have to install the extension once. Then, add `"druid-example-extension"` to
|
You only have to install the extension once. Then, add `"druid-example-extension"` to
|
||||||
`druid.extensions.loadList` in common.runtime.properties to instruct Druid to load the extension. If
|
`druid.extensions.loadList` in common.runtime.properties to instruct Druid to load the extension.
|
||||||
you used *pull-deps*, then once an extension is installed, you can remove the `extensions-tmp` and
|
|
||||||
`hadoop-dependencies-tmp` directories that it created.
|
<div class="note info">
|
||||||
|
Please make sure all the Extensions related configuration properties listed <a href="../configuration/index.html">here</a> are set correctly.
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="note info">
|
<div class="note info">
|
||||||
The Maven groupId for almost every <a href="../development/extensions.html#community-extensions">community extension</a> is io.druid.extensions.contrib. The artifactId is the name
|
The Maven groupId for almost every <a href="../development/extensions.html#community-extensions">community extension</a> is io.druid.extensions.contrib. The artifactId is the name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user