Configuring idle session timeout for Cloudera Data Explorer (Hue)

By configuring idle session timeout, you can prevent unauthorized access to your data by automatically logging out users when they are not actively using the Data Explorer web interface. Data Explorer warns the users and then logs them out after a set period of inactivity that you specify in the Data Explorer configuration.

By default, the value of the idle_session_timeout property is set to “-1”, which means that the users are not logged out until they manually log out of Data Explorer.

  1. Log in to the Cloudera Data Warehouse service as an administrator.
  2. Go to the Virtual Warehouse in which Data Explorer (Hue) is running and click Edit.
  3. Go to CONFIGURATIONS > Data Explorer (Hue) and select hue-safety-valve from the Configuration files drop-down list and add the following lines:
    [desktop]
    [[auth]]
    idle_session_timeout=[***TIME-IN-SECONDS***]
  4. Click APPLY.
    The Virtual Warehouse restarts to update the configuration.