You must set the following configuration in Cloudera Manager to create a bucket with
default layout.
In Cloudera Manager, you must configure ozone-site.xml to define the
default value for bucket layout during bucket creation if the client has not specified
the bucket layout argument. Supported values are OBJECT_STORE,
FILE_SYSTEM_OPTIMIZED, and LEGACY. By
default, this config value is empty. Ozone will default to LEGACY bucket layout if
it finds an empty config value. You must add the below property and provide the
value.
-
Log in to Cloudera Manager UI
-
Navigate to Clusters
-
Select the Ozone service
-
Go to Configurations
-
Search for Ozone Manager Advanced Configuration Snippet (Safety
Valve) for ozone-conf/ozone-site.xml
-
Click Add
-
Click View as XML
-
Copy and paste:
<property> <name>ozone.default.bucket.layout</name>
<value/> </property>
-
Click View Editor. You must provide the values
for the properties.
Property name |
Value |
ozone.default.bucket.layout |
Name of the property. By default, Legacy is the
bucket type.
|
Value |
Supported values are OBJECT_STORE or FILE_SYSTEM_OPTIMIZED or LEGACY |
Description |
Enter the Description for the property |
-
Click Save Changes
-
Restart the Ozone service