Skip to content

Commit

Permalink
[xc2oVWgi] document warnings for dependencies excluded from APOC Core…
Browse files Browse the repository at this point in the history
… jar
  • Loading branch information
nadja-muller committed Jan 27, 2023
1 parent ca05324 commit d161bea
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/asciidoc/modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
** xref::installation/index.adoc#neo4j-server[Neo4j Server]
** xref::installation/index.adoc#docker[Docker]
** xref::installation/index.adoc#restricted[Load and unrestrict procedures/functions]
** xref::installation/index.adoc#dependencies[Additional dependencies excluded from the APOC Core jar]
* xref::usage/index.adoc[]
* xref::help/index.adoc[]
Expand Down
4 changes: 2 additions & 2 deletions docs/asciidoc/modules/ROOT/pages/import/web-apis.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ CALL apoc.load.json("https://github.com/neo4j-contrib/neo4j-apoc-procedures/blob

include::partial$s3-protocol.adoc[]

== Using hdfs protocol
== Using HDFS protocol

To use the hdfs protocol we need to download and copy the additional jars not included in the APOC Library.
To use the HDFS protocol we need to download and copy the additional jars not included in the APOC Library.
We can download it from https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/{apoc-release}/apoc-redis-dependencies-{apoc-release}.jar[this link] or locally downloading the apoc repository:
----
git clone http://github.com/neo4j-contrib/neo4j-apoc-procedures
Expand Down
21 changes: 20 additions & 1 deletion docs/asciidoc/modules/ROOT/pages/installation/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,23 @@ include::partial$docker.adoc[tags=docker,leveloffset=1]
[[restricted]]
== Load and unrestrict procedures/function

include::partial$restricted.adoc[tags=warnings,leveloffset=1]
include::partial$restricted.adoc[tags=warnings,leveloffset=1]

[[dependencies]]
== Additional dependencies excluded from the APOC Core jar
Some functionalities require additional jars in order to be used.
This includes xref::import/index.adoc[loading] and xref:export/index.adoc[exporting] data when using services such as:

* Amazon S3 (`s3://<path>`)
* Apache Hadoop (`hdfs://<path>`)
* Google Cloud Storage (`gs://<path>`)


These dependencies are specifically not included in the APOC Core jar, but
can be added as separate jars as described xref::import/web-apis.adoc[here].
If the extra dependencies are not included, warnings will show in the debug log file (debug.log)
that can be ignored if the respective functionality is not needed.
An example of such a warning would be:
```
Failed to load `apoc.util.s3.S3URLConnection`
```

0 comments on commit d161bea

Please sign in to comment.