Skip to content

Commit 1cbafb3

Browse files
Update the README
1 parent 4fb7967 commit 1cbafb3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

extensions/federation/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
### Using the `HadoopFederatedCatalogFactory`
22

3-
This module is an independent compilation unit and will be built into the Polaris binary only when the following flag is set in gradle.properties or as a JVM arg at compile time:
4-
3+
This `HadoopFederatedCatalogFactory` module is an independent compilation unit and will be built into the Polaris binary only when the following flag is set in the gradle.properties file:
54
```
65
NonRESTCatalogs=HADOOP,<alternates>
76
```
87

8+
The other option is to pass it as an argument to the gradle JVM as follows:
9+
```
10+
./gradlew build DNonRESTCatalogs=HADOOP
11+
```
12+
913
Without this flag, the Hadoop factory won't be compiled into Polaris and therefore Polaris will not load the class at runtime, throwing an unsupported exception for federated catalog calls.

0 commit comments

Comments
 (0)