Specify or create an Ozone bucket for Cloudera Data Warehouse on premises logs
This topic describes how to specify an Ozone bucket to store Cloudera Data Warehouse on premises Hive and Impala logs.
You can either re-use the Ozone bucket that is automatically configured for storing
Cloudera AI Private Cloud logs or create a new bucket to store
Cloudera Data Warehouse logs separately. The Ozone bucket used to store Cloudera AI logs usually has a cdplogs-
prefix.
-
To select an existing Ozone bucket, use the
ozone sh bucket list
command from the Ozone shell on your Cloudera Base on premises cluster. The following example shows how you can list buckets by thecdplogs-
prefix:ozone sh bucket list o3://ozone1/s3v --prefix=cdplogs { "metadata" : { }, "volumeName" : "s3v", "name" : "cdplogs-av-dwx-env-96c47aa9", "storageType" : "DISK", "versioning" : false, "creationTime" : "2020-08-01T18:29:08.686z", "modificationTime" : "2020-08-03T18:29:08.686z", "encryptionKeyName" : null, "sourceVolume" : null, "sourceBucket" : null }
-
To create a new bucket on Ozone, use the ozone sh bucket create command from the Ozone shell on your Cloudera Base on premises cluster. The following example shows how to create a new Ozone bucket named
cdw-logs-bucket
:ozone sh bucket create o3://ozone1/s3v/cdw-logs-bucket