Skip to content

Commit 915c512

Browse files
authored
Merge pull request #215962 from sreekzz/patch-117
New page-ambari-web-ui-auto-logout.md
2 parents 304ca00 + c679431 commit 915c512

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

articles/hdinsight/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ items:
179179
items:
180180
- name: Manage clusters using the Apache Ambari web UI
181181
href: ./hdinsight-hadoop-manage-ambari.md
182+
- name: Disable auto logout from Ambari Web UI
183+
href: ./ambari-web-ui-auto-logout.md
182184
- name: Optimize with Apache Ambari
183185
items:
184186
- name: Optimize clusters
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: Disable auto logout in Azure HDInsight Ambari Web UI if the session is inactive.
3+
description: Disable able auto logout from Ambari Web UI.
4+
ms.service: hdinsight
5+
ms.topic: how-to
6+
ms.custom: hdinsightactive,seoapr2022
7+
ms.date: 10/30/2022
8+
---
9+
10+
# Disable auto logout from Ambari Web UI
11+
12+
By default, the auto logout feature is enabled for Ambari UI. With this feature, we set a standard 30 mins before the user is logged out due to inactivity. The user will be presented with an automatic logout dialog 60 seconds prior to auto logout. User can click to remain logged in or if no activity occurs, Ambari UI will automatically log out the user and redirect the application to the login page.
13+
14+
> [!NOTE]
15+
> It is recommended to keep this auto logout feature on enable mode only.
16+
17+
To disable the auto logout feature,
18+
19+
1. On the Ambari Server host, open /etc/ambari-server/conf/ambari.properties with a text editor.
20+
1. There are two properties for the inactivity timeout setting.
21+
22+
|Property|Description|
23+
|---|---|
24+
|user.inactivity.timeout.default|Sets the inactivity timeout (in seconds) for all users except Read-Only users|
25+
|user.inactivity.timeout.role.readonly.default|Sets the inactivity timeout (in seconds) for all Read-Only users|
26+
27+
1. Modify the values to 0 for both the properties to disable the feature.
28+
1. Save changes and restart the running Ambari Server.
29+
30+
**Next steps**
31+
32+
* [Optimize clusters with Apache Ambari in Azure HDInsight](/azure/hdinsight/hdinsight-changing-configs-via-ambari.md)
33+

0 commit comments

Comments
 (0)