Configuring YARN resources for MapReduce conversion jobs

Cloudera Storage Optimizer uses MapReduce jobs for data conversion. Configure sufficient YARN resources for MapReduce conversion jobs.

Table 1. Recommended YARN resources by data volume
Daily conversion volume Concurrent mappers YARN memory YARN vCores Estimated time for conversion
Less than 10 TB 10 10 GB 10 2 to 4 hours
10 to 50 TB 20 20 GB 20 3 to 6 hours
50 to 100 TB 30 30 GB 30 4 to 8 hours
Greater than 100 TB 50 50 GB 50 6 to 12 hours
The YARN cluster must meet the following minimum requirements:
  • Container Memory: 1 GB per mapper
  • Container vCores: 1 vCore per mapper
  • Concurrent Mappers: 10 by default (configurable using the Key Conversion Concurrent Mappers setting)
  • Total Minimum: 10 GB RAM and 10 vCores
  1. Sign in to Cloudera Manager.
  2. In the left navigation, click Clusters and select the Ozone cluster.
  3. Go to the Instances tab and click Ozone Tiering in the Role Type column. The Cloudera Storage Optimizer UI page is displayed.
  4. Go to the Configuration tab.
  5. Click Ozone Key Settings.
  6. Provide the following settings:
    • Key Conversion Batches Per Mapper: Specify the number of batches that can be converted per mapper to control the split size. The default value is 10.
    • Key Conversion Concurrent Mappers: Specify the number of key conversion mappers that are required concurrently. Increase the value for faster conversion rate. Cloudera recommends using 20 to 50 mappers for large buckets. Conversion runs as standard priority jobs in the default queue.