Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
5 changes: 5 additions & 0 deletions hadoop-hdds/docs/content/interface/O3fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,12 @@ Please add the following entry to the core-site.xml.
<value>o3fs://bucket.volume</value>
</property>
```
<div class="alert alert-warning" role="alert">

Tip: For the OM HA cluster, you need to specify the ozone service id.
Comment thread
sky76093016 marked this conversation as resolved.
Outdated
For non-HA, it can be `o3fs://bucket.volume`.

</div>
This will make this bucket to be the default Hadoop compatible file system and register the o3fs file system type.

You also need to add the ozone-filesystem-hadoop3.jar file to the classpath:
Expand Down
7 changes: 7 additions & 0 deletions hadoop-hdds/docs/content/interface/O3fs.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ ozone sh bucket create /volume/bucket
</property>
{{< /highlight >}}

<div class="alert alert-warning" role="alert">

提示:对于 OM HA 集群,需要指定 ozone service id。
对于非 HA,它可以是 `o3fs://bucket.volume`。

</div>

这样会使指定的桶成为 HDFS 的 dfs 命令的默认文件系统,并且将其注册为了 o3fs 文件系统类型。

你还需要将 ozone-filesystem.jar 文件加入 classpath:
Expand Down