Enabling DSL search for Hue

Domain-Specific Language (DSL) calls used for polling Atlas use the LIKE operator and hence they are inefficient, resource-intensive, and expensive. By default, Hue uses a basic search to look up data in Atlas. If needed, you can enable DSL for polling Atlas entities by setting the search_cluster property in the Advanced Configuration Snippet.

Obtain the Atlas metadata namespace from the Atlas application properties file. Search the file for the search_cluster property and note its value.

  1. Log in to Cloudera Manager as an Administrator.
  2. Go to Clusters > Hue > Configuration.
  3. Set the value of the search_cluster property in the Hue Service Advanced Configuration Snippet (Safety Valve) for hue_safety_valve.ini field:
    [metadata]
    [[catalog]]
    api_url=https://[***HOSTNAME***]:[***PORT***]
    interface=atlas
    search_cluster=cm ([***ATLAS.METADATA.NAMESPACE***])
    kerberos_enabled=true
    enable_basic_search=false
    Replace [***ATLAS.METADATA.NAMESPACE***] with the value of the search_cluster property you obtained from the Atlas application properties file.
  4. Click Save Changes.
  5. Restart the Hue service.