The source of truth sits in the main hue.ini. It consists in several ini sections. Lines needs to be uncommented to be active.
Hue is using Hadoop impersonation
to be able to communicate properly with certain services. This is described in the following Service Configuration.