How to optimally configure Ranger RAZ client performance

How to find and set configurations for RAZ client performance.

This topic presents a set of best- balanced configs for Ranger RAZ clients, based on our past experience and testing. The majority of the time, the default config set for Ranger RAZ client is sufficient. We do not recommend any update in these default Ranger RAZ client configs, as it might result in unwanted outcomes.

In some cases, you may want to update these configs to optimize/ suit your environment and if you are willing to take risks.

The following table lists some useful configs and short descriptions, which will help you optimize.

  1. Go to Cloudera Manager > HDFS > Configuration.
  2. In Search, type core-site.xml.
  3. Add the following configurations in Cluster-wide Advanced Configuration Snippet (Safety Valve) for core-site.xml:
    Table 1. RAZ client configuration properites and default values
    Configuration Name Description Default Value
    ranger.raz.client.max.retry Ranger Raz client retries (high layer), must not be negative 3 Lower layer retries, must not be negative 3 Connection timeout in milliseconds 120000 Read timeout in milliseconds 30000