[ 
https://issues.apache.org/jira/browse/LENS-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15541884#comment-15541884
 ] 

Amareshwari Sriramadasu commented on LENS-1326:
-----------------------------------------------

What could be scenarios where SESSION_MAP has entry and actually session is not 
there. We need to fix this because all session checks happen on SESSION_MAP and 
they should be in sync.

So, I see catching exception and logging as error is only causing the problem 
to sit somewhere else.

> session/sessions API returning no data on GUI/API though there are active 
> sessions
> ----------------------------------------------------------------------------------
>
>                 Key: LENS-1326
>                 URL: https://issues.apache.org/jira/browse/LENS-1326
>             Project: Apache Lens
>          Issue Type: Bug
>            Reporter: Puneet Gupta
>            Assignee: Lavkesh Lahngir
>         Attachments: getsession-error.patch, getsession-error.patch
>
>
> The lens GUI and API is showing no sessions via sessions REST end point.
> Server metrics are showing active sessions  though. 
> {noformat}
> "org.apache.lens.server.api.session.SessionService.active-sessions" : {
>      "value" : 5324
>    },
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to