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

Queue operation taking longer time

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.1
    • 4.1.0
    • None
    • None

    Description

      Purshotam Shah added a comment - 24/May/14 00:36
      We noticed that this fix is causing congestion. Queue operation were talking longer time than expected.
      There are two lock being used for queuing commands, which is causing delay.
      First, all queue command function of CallableQueueService is synchronized.

      Second, add function of PriorityDelayQueue need to acquire ReentrantLock
      lock, which was added as part of this patch.

      Acquiring two lock for queueing a single command was slowing down the system.
      Server was taking more than 4 sec, just to queue a command.
      After we rollback this patch and server was back to normal.

      Attachments

        1. OOZIE-1886.patch
          2 kB
          Shwetha GS

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            shwethags Shwetha GS
            shwethags Shwetha GS
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment