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
16 changes: 16 additions & 0 deletions docs/lakehouse/catalogs/hive-catalog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ Hive transactional tables are supported from version 3.x onwards. For details, r
* [AWS S3](../storages/s3.md)
* [Google Cloud Storage](../storages/gcs.md)
* [Azure Blob](../storages/azure-blob.md)
* [Apache Ozone](../storages/ozone.md) (supported since 4.0.4)
* [Alibaba Cloud OSS](../storages/aliyun-oss.md)
* [Tencent Cloud COS](../storages/tencent-cos.md)
* [Huawei Cloud OBS](../storages/huawei-obs.md)
Expand Down Expand Up @@ -359,6 +360,21 @@ Hive transactional tables are supported from version 3.x onwards. For details, r
);
```
</TabItem>
<TabItem value='Ozone' label='Ozone'>
Supported since 4.0.4
```sql
CREATE CATALOG `hive_hms_on_ozone_new_catalog` PROPERTIES (
'type' = 'hms',
'hive.metastore.uris' = 'thrift://127.0.0.1:9383',
'fs.ozone.support' = 'true',
'ozone.endpoint' = 'http://ozone-s3g:9878',
'ozone.access_key' = '<ak>',
'ozone.secret_key' = '<sk>',
'ozone.region' = 'us-east-1',
'ozone.use_path_style' = 'true'
);
```
</TabItem>
<TabItem value='MinIO' label='MinIO'>
```sql
CREATE CATALOG test_hive_on_hms_minio_catalog PROPERTIES (
Expand Down
17 changes: 17 additions & 0 deletions docs/lakehouse/catalogs/iceberg-catalog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ CREATE CATALOG [IF NOT EXISTS] catalog_name PROPERTIES (
* [AWS S3](../storages/s3.md)
* [Google Cloud Storage](../storages/gcs.md)
* [Azure Blob](../storages/azure-blob.md)
* [Apache Ozone](../storages/ozone.md) (supported since 4.0.4)
* [Aliyun OSS](../storages/aliyun-oss.md)
* [Tencent COS](../storages/tencent-cos.md)
* [Huawei OBS](../storages/huawei-obs.md)
Expand Down Expand Up @@ -409,6 +410,22 @@ Support for Nested Namespace needs to be explicitly enabled. For details, please
);
```
</TabItem>
<TabItem value='Ozone' label='Ozone'>
Supported since 4.0.4
```sql
CREATE CATALOG iceberg_fs_on_ozone_catalog PROPERTIES (
'type' = 'iceberg',
'iceberg.catalog.type' = 'hadoop',
'warehouse' = 's3a://bucket/iceberg_warehouse',
'fs.ozone.support' = 'true',
'ozone.endpoint' = 'http://ozone-s3g:9878',
'ozone.access_key' = '<ak>',
'ozone.secret_key' = '<sk>',
'ozone.region' = 'us-east-1',
'ozone.use_path_style' = 'true'
);
```
</TabItem>
<TabItem value='MinIO' label='MinIO'>
```sql
CREATE CATALOG test_iceberg_on_hms_minio_catalog PROPERTIES (
Expand Down
19 changes: 19 additions & 0 deletions docs/lakehouse/catalogs/paimon-catalog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ The currently dependent Paimon version is 1.0.0.

* [Google Cloud Storage](../storages/gcs.md)

* [Apache Ozone](../storages/ozone.md) (supported since 4.0.4)

* [Alibaba Cloud OSS](../storages/aliyun-oss.md)

* [Tencent Cloud COS](../storages/tencent-cos.md)
Expand Down Expand Up @@ -261,6 +263,23 @@ Supported since version 4.0.3, `timestamp_with_local_time_zone` can be mapped to
);
```
</TabItem>
<TabItem value='Ozone' label='Ozone'>
Supported since 4.0.4
```sql
CREATE CATALOG paimon_hms_on_ozone_catalog PROPERTIES (
'type' = 'paimon',
'paimon.catalog.type' = 'hms',
'warehouse' = 's3a://test-bucket/paimon-warehouse',
'hive.metastore.uris' = 'thrift://127.0.0.1:9383',
'fs.ozone.support' = 'true',
'ozone.endpoint' = 'http://ozone-s3g:9878',
'ozone.access_key' = '<ak>',
'ozone.secret_key' = '<sk>',
'ozone.region' = 'us-east-1',
'ozone.use_path_style' = 'true'
);
```
</TabItem>
<TabItem value='MinIO' label='MinIO'>
```sql
CREATE CATALOG paimon_hms_on_minio_catalog PROPERTIES (
Expand Down
68 changes: 68 additions & 0 deletions docs/lakehouse/storages/ozone.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
{
"title": "Apache Ozone | Storages",
"language": "en",
"description": "Starting from version 4.0.4, Doris supports accessing Apache Ozone through the S3 Gateway.",
"sidebar_label": "Apache Ozone"
}
Comment on lines +1 to +7
Copy link

Copilot AI Feb 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Front matter title is set to "Apache Ozone | Storages", but other storage docs use just the storage name as the title (e.g. docs/lakehouse/storages/s3.md, azure-blob.md). Consider aligning this to "Apache Ozone" (and rely on sidebar/category for context) to keep titles consistent across storage pages.

Copilot uses AI. Check for mistakes.
---

# Apache Ozone

Starting from version 4.0.4, Doris supports accessing Apache Ozone through the S3 Gateway.

This document describes the parameters required to access Apache Ozone. These parameters apply to:

- Catalog properties
- Table Valued Function properties
- Broker Load properties
- Export properties
- Outfile properties

**To use Ozone as a dedicated storage type, configure `"fs.ozone.support" = "true"` explicitly.**

## Parameter Overview

| Property Name | Legacy Name | Description | Default Value | Required |
| --- | --- | --- | --- | --- |
| ozone.endpoint | s3.endpoint | Ozone S3 Gateway endpoint, for example `http://ozone-s3g:9878` | None | Yes |
| ozone.region | s3.region | Region of Ozone S3 Gateway | `us-east-1` | No |
| ozone.access_key | s3.access_key, s3.access-key-id | Access key used for authentication | None | No* |
| ozone.secret_key | s3.secret_key, s3.secret-access-key | Secret key used for authentication | None | No* |
| ozone.session_token | s3.session_token, s3.session-token | Session token | None | No |
| ozone.connection.maximum | s3.connection.maximum | Maximum number of connections | `100` | No |
| ozone.connection.request.timeout | s3.connection.request.timeout | Request timeout in milliseconds | `10000` | No |
| ozone.connection.timeout | s3.connection.timeout | Connection timeout in milliseconds | `10000` | No |
| ozone.use_path_style | use_path_style, s3.path-style-access | Whether to use path-style access | `true` | No |
| ozone.force_parsing_by_standard_uri | force_parsing_by_standard_uri | Whether to force standard URI parsing | `false` | No |
| fs.ozone.support | | Whether to enable Ozone as storage type | `false` | Yes |

Notes:

- `ozone.access_key` and `ozone.secret_key` must be configured together.
- `fs.s3a.*` keys are not parsed directly by Ozone properties. Use `ozone.*` or compatible `s3.*` keys.
- Ozone supports `s3://`, `s3a://`, and `s3n://` URI schemas.

## Example Configuration

Using `ozone.*` keys:

```properties
"fs.ozone.support" = "true",
"ozone.endpoint" = "http://ozone-s3g:9878",
"ozone.access_key" = "hadoop",
"ozone.secret_key" = "hadoop",
"ozone.region" = "us-east-1",
"ozone.use_path_style" = "true"
```

Using compatible `s3.*` aliases:

```properties
"fs.ozone.support" = "true",
"s3.endpoint" = "http://ozone-s3g:9878",
"s3.access_key" = "hadoop",
"s3.secret_key" = "hadoop",
"s3.region" = "us-east-1",
"s3.path-style-access" = "true"
```
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ CREATE CATALOG [IF NOT EXISTS] catalog_name PROPERTIES (

* [Azure Blob](../storages/azure-blob.md)

* [Apache Ozone](../storages/ozone.md)(自 4.0.4 起支持)

* [阿里云 OSS](../storages/aliyun-oss.md)

* [腾讯云 COS](../storages/tencent-cos.md)
Expand Down Expand Up @@ -370,6 +372,21 @@ CREATE CATALOG [IF NOT EXISTS] catalog_name PROPERTIES (
);
```
</TabItem>
<TabItem value='Ozone' label='Ozone'>
自 4.0.4 起支持
```sql
CREATE CATALOG `hive_hms_on_ozone_new_catalog` PROPERTIES (
'type' = 'hms',
'hive.metastore.uris' = 'thrift://127.0.0.1:9383',
'fs.ozone.support' = 'true',
'ozone.endpoint' = 'http://ozone-s3g:9878',
'ozone.access_key' = '<ak>',
'ozone.secret_key' = '<sk>',
'ozone.region' = 'us-east-1',
'ozone.use_path_style' = 'true'
);
```
</TabItem>
<TabItem value='MinIO' label='MinIO'>
```sql
CREATE CATALOG test_hive_on_hms_minio_catalog PROPERTIES (
Expand Down Expand Up @@ -1101,4 +1118,3 @@ DROP DATABASE [IF EXISTS] hive_ctl.hive_db;
| -------- | ------------------------------------ |
| 2.1.6 | 支持 Hive 表数据写回 |
| 3.0.4 | 支持 JsonSerDe 格式的 Hive 表。支持 Hive4 的事务表。 |

Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ CREATE CATALOG [IF NOT EXISTS] catalog_name PROPERTIES (

* [Azure Blob](../storages/azure-blob.md)

* [Apache Ozone](../storages/ozone.md)(自 4.0.4 起支持)

* [阿里云 OSS](../storages/aliyun-oss.md)

* [腾讯云 COS](../storages/tencent-cos.md)
Expand Down Expand Up @@ -1125,6 +1127,22 @@ Iceberg 的元数层级关系是 Catalog -> Namespace -> Table。其中 Namespac
);
```
</TabItem>
<TabItem value='Ozone' label='Ozone'>
自 4.0.4 起支持
```sql
CREATE CATALOG iceberg_fs_on_ozone_catalog PROPERTIES (
'type' = 'iceberg',
'iceberg.catalog.type' = 'hadoop',
'warehouse' = 's3a://bucket/iceberg_warehouse',
'fs.ozone.support' = 'true',
'ozone.endpoint' = 'http://ozone-s3g:9878',
'ozone.access_key' = '<ak>',
'ozone.secret_key' = '<sk>',
'ozone.region' = 'us-east-1',
'ozone.use_path_style' = 'true'
);
```
</TabItem>
<TabItem value='MinIO' label='MinIO'>
```sql
CREATE CATALOG test_iceberg_fs_on_minio PROPERTIES (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ CREATE CATALOG [IF NOT EXISTS] catalog_name PROPERTIES (

* [Google Cloud Storage](../storages/gcs.md)

* [Apache Ozone](../storages/ozone.md)(自 4.0.4 起支持)

* [阿里云 OSS](../storages/aliyun-oss.md)

* [腾讯云 COS](../storages/tencent-cos.md)
Expand Down Expand Up @@ -263,6 +265,23 @@ CREATE CATALOG [IF NOT EXISTS] catalog_name PROPERTIES (
);
```
</TabItem>
<TabItem value='Ozone' label='Ozone'>
自 4.0.4 起支持
```sql
CREATE CATALOG paimon_hms_on_ozone_catalog PROPERTIES (
'type' = 'paimon',
'paimon.catalog.type' = 'hms',
'warehouse' = 's3a://test-bucket/paimon-warehouse',
'hive.metastore.uris' = 'thrift://127.0.0.1:9383',
'fs.ozone.support' = 'true',
'ozone.endpoint' = 'http://ozone-s3g:9878',
'ozone.access_key' = '<ak>',
'ozone.secret_key' = '<sk>',
'ozone.region' = 'us-east-1',
'ozone.use_path_style' = 'true'
);
```
</TabItem>
<TabItem value='MinIO' label='MinIO'>
```sql
CREATE CATALOG paimon_hms_on_minio_catalog PROPERTIES (
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
{
"title": "Apache Ozone | Storages",
"language": "zh-CN",
"description": "自 4.0.4 版本起,Doris 支持通过 S3 Gateway 访问 Apache Ozone。",
"sidebar_label": "Apache Ozone"
}
Comment on lines +1 to +7
Copy link

Copilot AI Feb 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Front matter 的 title 使用了 "Apache Ozone | Storages",但现有 storage 文档通常只用存储名作为标题(例如 docs/lakehouse/storages/s3.mdazure-blob.md)。建议统一为 "Apache Ozone" 以保持标题风格一致。

Copilot uses AI. Check for mistakes.
---

# Apache Ozone

自 4.0.4 版本起,Doris 支持通过 S3 Gateway 访问 Apache Ozone。

本文档介绍访问 Apache Ozone 所需的参数,这些参数适用于以下场景:

- Catalog 属性
- Table Valued Function 属性
- Broker Load 属性
- Export 属性
- Outfile 属性

**如果要将 Ozone 作为独立存储类型使用,需要显式配置 `"fs.ozone.support" = "true"`。**

## 参数总览

| 属性名称 | 曾用名 | 描述 | 默认值 | 是否必须 |
| --- | --- | --- | --- | --- |
| ozone.endpoint | s3.endpoint | Ozone S3 Gateway 访问端点,例如 `http://ozone-s3g:9878` | 无 | 是 |
| ozone.region | s3.region | Ozone S3 Gateway 区域 | `us-east-1` | 否 |
| ozone.access_key | s3.access_key, s3.access-key-id | 用于认证的 Access Key | 无 | 否* |
| ozone.secret_key | s3.secret_key, s3.secret-access-key | 用于认证的 Secret Key | 无 | 否* |
| ozone.session_token | s3.session_token, s3.session-token | Session Token | 无 | 否 |
| ozone.connection.maximum | s3.connection.maximum | 最大连接数 | `100` | 否 |
| ozone.connection.request.timeout | s3.connection.request.timeout | 请求超时时间(毫秒) | `10000` | 否 |
| ozone.connection.timeout | s3.connection.timeout | 连接超时时间(毫秒) | `10000` | 否 |
| ozone.use_path_style | use_path_style, s3.path-style-access | 是否使用 path-style 访问 | `true` | 否 |
| ozone.force_parsing_by_standard_uri | force_parsing_by_standard_uri | 是否强制使用标准 URI 解析 | `false` | 否 |
| fs.ozone.support | | 是否启用 Ozone 存储类型 | `false` | 是 |

说明:

- `ozone.access_key` 和 `ozone.secret_key` 需要成对配置。
- `fs.s3a.*` 参数不会被 Ozone 属性直接解析,请使用 `ozone.*` 或兼容的 `s3.*` 参数。
- Ozone 支持 `s3://`、`s3a://`、`s3n://` 三种 URI 协议。

## 配置示例

使用 `ozone.*` 参数:

```properties
"fs.ozone.support" = "true",
"ozone.endpoint" = "http://ozone-s3g:9878",
"ozone.access_key" = "hadoop",
"ozone.secret_key" = "hadoop",
"ozone.region" = "us-east-1",
"ozone.use_path_style" = "true"
```

使用兼容的 `s3.*` 参数:

```properties
"fs.ozone.support" = "true",
"s3.endpoint" = "http://ozone-s3g:9878",
"s3.access_key" = "hadoop",
"s3.secret_key" = "hadoop",
"s3.region" = "us-east-1",
"s3.path-style-access" = "true"
```
1 change: 1 addition & 0 deletions sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,7 @@ const sidebars: SidebarsConfig = {
items: [
'lakehouse/storages/hdfs',
'lakehouse/storages/s3',
'lakehouse/storages/ozone',
'lakehouse/storages/azure-blob',
'lakehouse/storages/gcs',
'lakehouse/storages/aliyun-oss',
Expand Down