Behavioral Changes in Ozone
Behavioral changes for Cloudera Runtime 7.3.2. introduce functional adjustments and behavioral updates for Ozone.
Cloudera Runtime 7.3.2.10000 SP1
- Introduction of DiskBalancer for Ozone DataNodes
- Previous behavior:
Previously, Ozone DataNodes lacked an internal mechanism to balance data across multiple disks within a single node, leading to uneven disk utilization and storage inefficiency.
- Clarification and separation of --all and --all-status options in ozone sh snapshot lsDiff command.
- Previous behavior:
Previously, the --all option was renamed to --all-status, which unintentionally exposed an underlying --all option. This caused confusion as the distinction between removing pagination limits and filtering by job status was not clearly documented or implemented, leading to inconsistent behavior in scripts.
- Improved Ozone Recon bootup time by making failed delta task reinitialization asynchronous.
- Previous behavior:
Previously, during startup, Ozone Recon would perform a blocking call to reinitialize any delta tasks that had failed in a previous run. This synchronous process delayed the overall bootup time of Recon, especially if there were multiple failed tasks to process.
- Reserved space added to DataNode capacity tooltip
- Previous behavior:
Previously, the capacity tooltip in the DataNodes tab did not display the reserved space, making it difficult to distinguish overall filesystem capacity from the actual capacity available to Ozone.
- Dedicated logging for Ozone Manager deletion services and SnapDiff workers
- Previous behavior:
Previously, deletion service and Snapshot Diff (SnapDiff) worker logs were routed to the main Ozone Manager log file (ozone-om.log), making it difficult to isolate and troubleshoot garbage collection or snapshot activities.
- Ozone snapshot rename feature disabled by default
- Previous behavior:
Previously, the snapshot rename feature was enabled by default, allowing users to rename snapshots despite potential instability that could cause snapshots to become unfindable.
- Ozone snapshot metadata now records successful defragmentation timestamps
- Previous behavior:
Previously, the lastDefragTime field in snapshot metadata YAML files remained unpopulated, leaving administrators without a direct way to verify when a snapshot was last defragmented.
- Locking and new checkpoint endpoint added to Ozone Manager bootstrap process
- Previous behavior:
Previously, the Ozone Manager (OM) bootstrap process did not lock snapshotted RocksDB databases. Active transactions could occur on the snapshot database during bootstrap, creating a race condition that resulted in database corruption on follower nodes and bootstrap failures.
- Ozone snapshot deep cleaning enabled by default
- Previous behavior:
Previously, the ozone.snapshot.deep.cleaning.enabled configuration property defaulted to
false. When a snapshot was deleted, keys marked for deletion were perpetually moved to the next active snapshot in the chain rather than being purged, preventing storage reclamation and causing unreferenced data to accumulate. - Explicit error messages for invalid Ozone bucket and volume names
- Previous behavior:
Previously, creating an Ozone bucket or volume with an invalid name (such as one containing an underscore) generated a generic error message that did not specify why validation failed.
Example,
INVALID_BUCKET_NAME Invalid bucket name: bucket_1 - Ozone create, write, and delete operations now require Read permission
- Previous behavior:
Creating, writing, or deleting an Ozone key did not require
READpermission. If a user lacked access, the system returned aWRITEorDELETEpermission denied error.
Cloudera Runtime 7.3.2.100 CHF 1
There are no behavioral changes in this release.
Cloudera Runtime 7.3.2
- Migration of the ozone debug recover command to the admin om lease recover Ozone admin CLI command
-
The ozone debug recover command, used for lease recovery, now resides under the admin om lease recover Ozone admin CLI command.
Example,# ozone admin om lease recover --path=ofs://<ozone.service.id>/hsyncvol/hsyncbuck/hsync/File_0.txt Lease recovery SUCCEEDED on ofs://<ozone.service.id>/hsyncvol/hsyncbuck/hsync/File_0.txt - Changed functionality of the --all option in the ozone sh snapshot lsDiff command
- Previous behavior:
Previously, the --all option was used to list snapshot diff jobs of any status.
- Changed listing and deleting behavior at volume level
- Previous behavior:
Previously, recursive listing and deleting a volume was supported using the ozone fs command that worked only if FSO bucket existed in volume.
- Migration of the
ozone debug chunkinfoAPI to theozone debug replicas chunk-infoAPI - Previous behavior:Previously, the
ozone debug chunkinfoAPI returned the following JSON response:{ "KeyLocations" : [ [ { "Locations" : { "files" : [ "<block_path>" ], "pipelineID" : "<pipeline_id>" }, "Datanode-HostName" : "<host_name>", "Datanode-IP" : "<host_ip>", "Container-ID" : <id>, "Block-ID" : <blockid> },{},{} ]]} - The S3 Gateway web UI is moved to a new port
- Previous behavior:
The S3 Gateway web UI was accessible on ports 9878 for HTTP and 9879 for HTTPS, just like S3 buckets.
