[ 
https://issues.apache.org/jira/browse/OOZIE-1923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Kanter updated OOZIE-1923:
---------------------------------

    Description: 
This is because we are creating InterProcessReadWriteLock instance for every 
path. 
We should store InterProcessReadWriteLock and reuse for same path like 
MemoryLocksService.

We should also add tests for both ZKLocksService and MemoryLocksService to 
verify.

  was:
This is because we are creating InterProcessReadWriteLock instance for every 
path. 
We should store InterProcessReadWriteLock and reuse for same path like 
MemoryLocksService.


> ZKLocksService locks are not re-entrant like MemoryLocks
> --------------------------------------------------------
>
>                 Key: OOZIE-1923
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1923
>             Project: Oozie
>          Issue Type: Bug
>          Components: HA
>            Reporter: Purshotam Shah
>
> This is because we are creating InterProcessReadWriteLock instance for every 
> path. 
> We should store InterProcessReadWriteLock and reuse for same path like 
> MemoryLocksService.
> We should also add tests for both ZKLocksService and MemoryLocksService to 
> verify.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to