Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-1923

ZKLocksService locks are not re-entrant like MemoryLocks

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.0
    • Component/s: HA
    • Labels:
      None

      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.

        Attachments

        1. OOZIE-1923-V2.patch
          12 kB
          Purshotam Shah
        2. OOZIE-1923-V1.patch
          11 kB
          Purshotam Shah

          Issue Links

            Activity

              People

              • Assignee:
                puru Purshotam Shah
                Reporter:
                puru Purshotam Shah
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: