cloudera / hue

Open source SQL Query Assistant service for Databases/Warehouses
https://cloudera.com
Apache License 2.0
1.16k stars 364 forks source link

Hue launches multiple livy interactive sessions for the same user #3801

Open rangareddy opened 1 month ago

rangareddy commented 1 month ago

Description

Problem Statement: Hue is launching the multiple livy interactive sessions for the same user.

HueSpark_SQL_afterMultipleRefreshes

This is occurred due to end user refresh the browser or if the browser session expires and refresh after expire is launching new applications. Old Livy sessions stay until it reaches livy.server.session.timeout value.

Improvement:

Either use the existing livy session or create a new session by terminating old session.

Harshg999 commented 1 month ago

Hey @rangareddy, thanks for reporting this issue. I remember these duplicate Livy sessions gets cleaned up automatically if users are using the SparkSQL editor. Is this not the case for you after running some SparkSQL queries?

github-actions[bot] commented 1 week ago

This issue is stale because it has been open 30 days with no activity and is not labeled "Prevent stale". Remove "stale" label or comment or this will be closed in 10 days.