Disabling the automatic creation of user home directories

If you have enabled fine-grained authorization to access S3, then Hue is configured to automatically create user home directories, by default. You can disable the automatic creation of user home directories by setting the autocreate_user_dir flag to false in the Hue Service Advanced Configuration Snippet.

  1. Log in to the CDP web interface as an Administrator.
  2. Go to Data Hub Clusters and select your cluster.
  3. Click on the CM URL to open Cloudera Manager.
  4. Go to Clusters > Hue service > Configuration > Hue Service Advanced Configuration Snippet (Safety Valve) for hue_safety_valve.ini and add the following lines:
    [desktop]
    [[raz]]
    autocreate_user_dir=false
  5. Click Save Changes.
  6. Restart the Hue service.