[
https://issues.apache.org/jira/browse/DRILL-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15191434#comment-15191434
]
Krystal commented on DRILL-4354:
--------------------------------
git.commit.id.abbrev=64ab0a8
disabled authentication in drill-override.conf with
drill.exec.http.session_max_idle_secs=10.
With debug turned on, saw the following session info in the drillbit.log file
using drill-1.5:
2016-03-11 09:55:12,368 [qtp747584933-50] DEBUG
o.a.drill.exec.client.DrillClient - Connecting to server <hostname>:31010
2016-03-11 09:55:23,382 [Scheduler-1866682207] DEBUG
o.apache.drill.exec.rpc.BasicClient - Closing client
2016-03-11 09:55:23,382 [Client-1] INFO o.a.drill.exec.rpc.user.UserClient -
Channel closed /<ip>:57195 <--> /<ip>:31010.
In drill-1.6, the above session info is no longer present for anonymous
connections.
> Remove sessions in anonymous (user auth disabled) mode in WebUI server
> ----------------------------------------------------------------------
>
> Key: DRILL-4354
> URL: https://issues.apache.org/jira/browse/DRILL-4354
> Project: Apache Drill
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.5.0
> Reporter: Venki Korukanti
> Assignee: Venki Korukanti
> Fix For: 1.6.0
>
>
> Currently we open anonymous sessions when user auth disabled. These sessions
> are cleaned up when they expire (controlled by boot config
> {{drill.exec.http.session_max_idle_secs}}). This may lead to unnecessary
> resource accumulation. This JIRA is to remove anonymous sessions and only
> have sessions when user authentication is enabled.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)