Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/docs/maintenance/configurations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import catalogConfigurationHtml from '@site/generated/catalog_configuration.html
import hiveCatalogConfigurationHtml from '@site/generated/hive_catalog_configuration.html';
import hiveConnectorConfigurationHtml from '@site/generated/hive_connector_configuration.html';
import jdbcCatalogConfigurationHtml from '@site/generated/jdbc_catalog_configuration.html';
import zooKeeperCatalogLockConfigurationHtml from '@site/generated/zoo_keeper_catalog_lock_configuration.html';
import flinkCatalogConfigurationHtml from '@site/generated/flink_catalog_configuration.html';
import flinkConnectorConfigurationHtml from '@site/generated/flink_connector_configuration.html';
import sparkCatalogConfigurationHtml from '@site/generated/spark_catalog_configuration.html';
Expand Down Expand Up @@ -66,6 +67,12 @@ Options for Jdbc catalog.

<ConfigTable html={jdbcCatalogConfigurationHtml} />

### ZooKeeperCatalogLockOptions

Options for ZooKeeper catalog locks.

<ConfigTable html={zooKeeperCatalogLockConfigurationHtml} />

### FlinkCatalogOptions

Flink catalog options for paimon.
Expand Down
66 changes: 66 additions & 0 deletions docs/generated/zoo_keeper_catalog_lock_configuration.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<table class="configuration table table-bordered">
<thead>
<tr>
<th class="text-left" style="width: 20%">Key</th>
<th class="text-left" style="width: 15%">Default</th>
<th class="text-left" style="width: 10%">Type</th>
<th class="text-left" style="width: 55%">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><h5>lock.zookeeper.connection-timeout</h5></td>
<td style="word-wrap: break-word;">15 s</td>
<td>Duration</td>
<td>ZooKeeper connection timeout.</td>
</tr>
<tr>
<td><h5>lock.zookeeper.quorum</h5></td>
<td style="word-wrap: break-word;">(none)</td>
<td>String</td>
<td>ZooKeeper connect string, e.g. 'host1:2181,host2:2181'. Required.</td>
</tr>
<tr>
<td><h5>lock.zookeeper.retry-base-sleep</h5></td>
<td style="word-wrap: break-word;">1 s</td>
<td>Duration</td>
<td>Initial backoff between ZooKeeper connection retries.</td>
</tr>
<tr>
<td><h5>lock.zookeeper.retry-max-attempts</h5></td>
<td style="word-wrap: break-word;">5</td>
<td>Integer</td>
<td>Maximum ZooKeeper connection retry attempts.</td>
</tr>
<tr>
<td><h5>lock.zookeeper.root</h5></td>
<td style="word-wrap: break-word;">"paimon/locks"</td>
<td>String</td>
<td>Root znode namespace for Paimon catalog locks.</td>
</tr>
<tr>
<td><h5>lock.zookeeper.session-timeout</h5></td>
<td style="word-wrap: break-word;">30 s</td>
<td>Duration</td>
<td>ZooKeeper session timeout.</td>
</tr>
</tbody>
</table>
47 changes: 47 additions & 0 deletions paimon-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,55 @@ under the License.
</exclusions>
</dependency>

<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
<version>${curator.version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>${zookeeper.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
<exclusion>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</exclusion>
</exclusions>
</dependency>

<!--
Same nearest-declaration-wins concern as zookeeper above: hadoop-common pulls in
curator-client 2.7.1 at a shallower depth than curator-recipes's own transitive
curator-client, so it would otherwise win and mismatch curator-recipes/curator-framework.
-->
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-client</artifactId>
<version>${curator.version}</version>
<scope>provided</scope>
</dependency>

<!-- test dependencies -->

<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-test</artifactId>
<version>${curator.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.paimon</groupId>
<artifactId>paimon-arrow</artifactId>
Expand Down
Loading
Loading