<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Scheduled Jobs &amp; clustering - Multi/Single cluster node execution? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/scheduled-jobs-clustering-multi-single-cluster-node-execution/m-p/293982#M247112</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are looking at the trigger.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you look at the Job implementation e.g. ContentStoreCleanupJob you will see the locking.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well I do on HEAD/trunk!&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It may not be there on 4.2.&amp;nbsp;&amp;nbsp;&amp;nbsp; Can't remember when job locking went in.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jul 2015 14:43:57 GMT</pubDate>
    <dc:creator>mrogers</dc:creator>
    <dc:date>2015-07-31T14:43:57Z</dc:date>
    <item>
      <title>Scheduled Jobs &amp; clustering - Multi/Single cluster node execution?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/scheduled-jobs-clustering-multi-single-cluster-node-execution/m-p/293979#M247109</link>
      <description>Could you tell me whether the scheduled jobs provided with Alfresco are cluster aware, such that when triggered will only run on one node at a time?Additionally, how do I define triggered jobs (possibly with examples), that: - run on one node of the cluster, when triggered - run on all nodes, when t</description>
      <pubDate>Wed, 29 Jul 2015 22:46:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/scheduled-jobs-clustering-multi-single-cluster-node-execution/m-p/293979#M247109</guid>
      <dc:creator>ajmas</dc:creator>
      <dc:date>2015-07-29T22:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled Jobs &amp; clustering - Multi/Single cluster node execution?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/scheduled-jobs-clustering-multi-single-cluster-node-execution/m-p/293980#M247110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jobs run on all nodes.&amp;nbsp;&amp;nbsp; Typically they will use the JobLock service if its important that only a single instance of a job runs at a time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 15:56:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/scheduled-jobs-clustering-multi-single-cluster-node-execution/m-p/293980#M247110</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2015-07-30T15:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled Jobs &amp; clustering - Multi/Single cluster node execution?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/scheduled-jobs-clustering-multi-single-cluster-node-execution/m-p/293981#M247111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was looking at nodeServiceCleanupTrigger and contentStoreCleanerTrigger, as jobs that I imagine shouldn't be running in parallel, but I couldn't see evidence of JobLock Service being used here, when looking via Spring config and source code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you provide some clarification here? For contentStoreCleanerTrigger, does it run in parallel once triggered, in a clustered environment, and if so, does that not potentially cause issues, given the work it is doing? If it isn't, where is the JobLock service being used, since I am probably not looking in the right place?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 16:56:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/scheduled-jobs-clustering-multi-single-cluster-node-execution/m-p/293981#M247111</guid>
      <dc:creator>ajmas</dc:creator>
      <dc:date>2015-07-30T16:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled Jobs &amp; clustering - Multi/Single cluster node execution?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/scheduled-jobs-clustering-multi-single-cluster-node-execution/m-p/293982#M247112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are looking at the trigger.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you look at the Job implementation e.g. ContentStoreCleanupJob you will see the locking.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well I do on HEAD/trunk!&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It may not be there on 4.2.&amp;nbsp;&amp;nbsp;&amp;nbsp; Can't remember when job locking went in.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 14:43:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/scheduled-jobs-clustering-multi-single-cluster-node-execution/m-p/293982#M247112</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2015-07-31T14:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled Jobs &amp; clustering - Multi/Single cluster node execution?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/scheduled-jobs-clustering-multi-single-cluster-node-execution/m-p/293983#M247113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've just checked.&amp;nbsp;&amp;nbsp; 4.2 does not appear to have job locking.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well it does have the job lock service,&amp;nbsp; but it doesn't look like its applied to the content store cleaner in that version.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 14:46:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/scheduled-jobs-clustering-multi-single-cluster-node-execution/m-p/293983#M247113</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2015-07-31T14:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled Jobs &amp; clustering - Multi/Single cluster node execution?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/scheduled-jobs-clustering-multi-single-cluster-node-execution/m-p/293984#M247114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you. I see it in 4.2:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/Alfresco/community-edition/blob/V4.2a/root/projects/repository/source/java/org/alfresco/repo/content/cleanup/ContentStoreCleaner.java" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/community-edition/blob/V4.2a/root/projects/repository/source/java/org/alfresco/repo/content/cleanup/ContentStoreCleaner.java&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://github.com/Alfresco/community-edition/blob/V4.2a/root/projects/repository/source/java/org/alfresco/repo/node/cleanup/AbstractNodeCleanupWorker.java" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/community-edition/blob/V4.2a/root/projects/repository/source/java/org/alfresco/repo/node/cleanup/AbstractNodeCleanupWorker.java&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looks like it went in early, around version 2.2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at the code it makes be wonder whether it would make sense to have an AbstractLockableJob, that could then be extended. I say this based on what seems to be code duplication and clarification by extension that the Job is lockable?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 15:06:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/scheduled-jobs-clustering-multi-single-cluster-node-execution/m-p/293984#M247114</guid>
      <dc:creator>ajmas</dc:creator>
      <dc:date>2015-07-31T15:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled Jobs &amp; clustering - Multi/Single cluster node execution?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/scheduled-jobs-clustering-multi-single-cluster-node-execution/m-p/293985#M247115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Perhaps…&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd also like to change the way jobs are scheduled and configured.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 16:06:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/scheduled-jobs-clustering-multi-single-cluster-node-execution/m-p/293985#M247115</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2015-07-31T16:06:44Z</dc:date>
    </item>
  </channel>
</rss>

