Configuration property for setting up ofs
Specify the hostname or the Ozone Service ID as the value of the
fs.defaultFS
property in core-site.xml
to set up
ofs
on your Ozone cluster.
Consider the following example:
<property>
<name>fs.defaultFS</name>
<value>ofs://ozservice1</value>
</property>
Here, ozservice1
is the Ozone Service ID.
After the value of the fs.defaultFS
property is added, the client can
access every volume and bucket on the cluster without specifying the hostname or Service
ID.