Ozone Configurations

Ozone Environment Directories

  • PID - /var/run/hadoop-ozone
  • log - /var/log/hadoop-ozone
  • conf - /etc/hadoop-ozone/conf
  • om conf - /etc/hadoop-ozone/conf/ozone.om
  • lib - /usr/odp/{stack_version}/ozone/share/ozone/lib
  • ozone home - /usr/odp/{stack_version}/ozone

Metadata Directories

Ozone Manager (OM)

Configuration KeyDefault ValuePurpose
ozone.om.db.dirs/var/lib/ozone/om/ozone-metadataOzone Manager Metadata directories. This should be specified as a single directory
ozone.om.ratis.storage.dir/var/lib/ozone/om/ratisUsed for storing OM's Ratis metadata like logs. If undefined, OM ratis storage dir will fallback to ozone.metadata.dirs.
ozone.om.ratis.snapshot.dir/var/lib/ozone/om-snapshotsDirectory to store OM's snapshot related files like the ratisSnapshotIndex and DB checkpoint from leader OM.

Storage Container Manager (SCM)

Configuration KeyDefault ValuePurpose
ozone.scm.db.dirs/var/lib/ozone/scm/dataDirectory where the StorageContainerManager stores its metadata. This should be specified as a single directory. If the directory does not exist then the SCM will attempt to create it.
ozone.scm.ha.ratis.storage.dir/var/lib/ozone/scm/ratisStorage directory used by SCM to write Ratis logs.
hdds.metadata.dir/var/lib/ozone/hdds-metadataAbsolute path to HDDS metadata dir. Part of SCM balancer properties.

Datanode (DN)

Configuration KeyDefault ValuePurpose
hdds.datanode.dir/data/hadoop-ozone/datanode/dataDetermines where on the local filesystem HDDS data will be stored. Defaults to dfs.datanode.data.dir if not specified.
ozone.metadata.dirs/var/lib/ozone/services-metadata/dn-metadataFallback location for SCM, OM, Recon and DataNodes to store their metadata. In ODP ozone, used only for datanode metadata.
dfs.container.ratis.datanode.storage.dir/var/lib/ozone/datanode/ratis/dataOzone Datanode Ratis Data Directory, to store metadata like logs
ozone.scm.datanode.id.dir/var/lib/ozone/datanodeThe path that datanodes will use to store the datanode ID.

Recon Service

Configuration KeyDefault ValuePurpose
ozone.recon.db.dir/var/lib/ozone/recon/dataOzone RECON UI data directory. This should be specified as a single directory. If the directory does not exist then the Recon will attempt to create it.
ozone.recon.om.db.dir/var/lib/ozone/recon/om/dataDirectory where the Recon Server stores its OM snapshot DB. This should be specified as a single directory. If the directory does not exist then the Recon will attempt to create it.
ozone.recon.scm.db.dirs/var/lib/ozone/recon/scm/dataDirectory where the Recon Server stores its SCM snapshot DB. This should be specified as a single directory. If the directory does not exist then the Recon will attempt to create it.

Ozone Service Endpoints

To view the list of Ozone service endpoints, see Configuring Ports.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated