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

Amareshwari Sriramadasu commented on LENS-273:
----------------------------------------------

bq. the lock might be held almost for a similar time even with a increased 
block size, as long as the locking scope includes file::close()
Holding lock for close should not cause any issue because we are changing the 
lock to be separate from class level lock. 

The concern that [~himanshu.gahlaut] expressed is for writing into output 
stream itself getting blocked, because writing in output stream is done by 
individual services and the services might be locking other objects during 
write.

> Persisting server state should not lock LensServices
> ----------------------------------------------------
>
>                 Key: LENS-273
>                 URL: https://issues.apache.org/jira/browse/LENS-273
>             Project: Apache Lens
>          Issue Type: Bug
>          Components: server
>            Reporter: Amareshwari Sriramadasu
>            Priority: Critical
>             Fix For: 2.1
>
>
> We are seeing issues when writing to HDFS which locked LensServices, the 
> requests on Lens are waiting to lock LensServices again.



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

Reply via email to