This article is second in the series about Ozone – a distributed key-value store that can efficiently manage small and large files alike.
An earlier article introduced the Ozone design philosophy. The current article is for users who want to try Ozone. We discuss an overview of Ozone concepts, describe how to bring up an Ozone cluster and use the Ozone command shell.
Ozone is made up of volumes, buckets and Keys.
3.1. Get the Binaries
3.2. Deploy a cluster
There are multiple ways to setup an Ozone cluster.
4.1. Working with Volumes, Buckets, Keys
The Alpha release includes the following interfaces:
Let’s look at a few examples of using the command-line shell to perform object store operations.
4.1.1. Create a Volume
The following command creates a new volume named videos, owned by the user alice. Creating new volumes is an administrative operation.
4.1.2. Create a Bucket
The following command creates a new bucket named vacation in videos.
4.1.3. Upload a Key
This is the equivalent of ‘putting’ a file into the object store. The following command will upload the local file video-001.mp4 to the ozone bucket with the name machu-picchu.mp4.
4.1.4. List Keys in a Bucket
4.1.5. List Buckets in a Volume
4.1.6. List Volumes
This may have been caused by one of the following: