Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can start it by going to the hadoop-dist/target/hadoop-3.2.0-SNAPSHOT directory and start the cluster.

Configuration

There is a detailed documentation about the configuration of Ozone cluster. But If you would like to get started, just save the following snippet to the etc/hadoop/ozone-site.xml file (inside your hadoop distribution)

Code Block
languagexml
<properties>
<property><name>ozone.om.address</name><value>localhost</value></property>
<property><name>ozone.scm.datanode.id</name><value>/tmp/datanode.id</value></property>
<property><name>ozone.scm.names</name><value>localhost</value></property>
<property><name>ozone.handler.type</name><value>distributed</value></property>
<property><name>ozone.container.metadata.dirs</name><value>/tmp/metadata</value></property>
<property><name>ozone.scm.block.client.address</name><value>localhost</value></property>
<property><name>ozone.scm.client.address</name><value>localhost</value></property>
<property><name>ozone.enabled</name><value>True</value></property>
</properties>

Run

Ozone is designed to run concurrently with HDFS. The simplest way to start is to run start-dfs.sh from the $HADOOP/sbin/start-dfs.sh. Once HDFS is running, please verify it is fully functional by running some commands like.

...