Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 676ED200CAE for ; Wed, 21 Jun 2017 16:43:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 660B7160BE2; Wed, 21 Jun 2017 14:43:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id AC298160BD0 for ; Wed, 21 Jun 2017 16:43:10 +0200 (CEST) Received: (qmail 36755 invoked by uid 500); 21 Jun 2017 14:43:09 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 36742 invoked by uid 99); 21 Jun 2017 14:43:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jun 2017 14:43:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 2412E188ABB for ; Wed, 21 Jun 2017 14:43:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.479 X-Spam-Level: ** X-Spam-Status: No, score=2.479 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gridgain-com.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id QkmBZ7lIHiYe for ; Wed, 21 Jun 2017 14:43:07 +0000 (UTC) Received: from mail-qk0-f173.google.com (mail-qk0-f173.google.com [209.85.220.173]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 4AB6460E6A for ; Wed, 21 Jun 2017 14:43:07 +0000 (UTC) Received: by mail-qk0-f173.google.com with SMTP id p21so12075055qke.3 for ; Wed, 21 Jun 2017 07:43:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gridgain-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Ry7t1QOPADZJwl3Oqdb12CvEiL4uWv9bC9ZdTICBSjY=; b=hrFkUCMIg/llLKBMhmvZ+9RHqJINN/WP5HUbSZ8iySAqoUelyoiDgtxk/BvXjEHUKl e3RcWj2aDAhRwDnJI4U4LRaaMOaSoOlj00VqGMm8iSBhEsJcjrkWVm6j6pWo5EBOrv10 4VtW7GvBYtdT1f/6bVISS4JTdOC2bSQr17LvSZRPDZ6OetPoxgp304TF3p1OCSk4+INc Q5UBmbgs5wKBAECmKYyoMc/kRy1cwGh4TmsoHKZ106D3Udh42nMsny6vD/bVpDaiBdHv KQ3k1ppjhV3vMncXYBigEG0DHPDCaJfHDYn/3PBkgOQ3+al5NJPRB5WtjoccPNU13sgi 3JkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Ry7t1QOPADZJwl3Oqdb12CvEiL4uWv9bC9ZdTICBSjY=; b=Fg+kyh9XV5NsFecAVOlCkFAN0i8QC3/s2on6x68p1IHGR8wZvEO8UJx/pV0qXLos0l D9fJVBkPa2RPLq7G4hnBUac9gFwdmOTr1IeFl3UzjJJfSLnvt7rCWQKfKTBliGK2q2an HVL2p8I/vqS9ifEW5fnDXabrmSv5wIVl+k7mj1axK0nVI91Rgkc4agXgrp0M/WhbswX2 J3M/O5k+TSgYbHe234xfz+/NQ/3s91gfeRg9WS9cMpqZKjai39Z+Ihlr3vvPHA1MckEa VYreKE7yaifxO3svEKn+DYp+f0J1eKCAfcyTv6gmIl1s/IWPglL1zetHRhFcdFcp/i5a jWfg== X-Gm-Message-State: AKS2vOyWbxFwWgGwiqHxNPi4WgXnR+PRV1TSeIXJZTeeAi14/v5H5hXY YuWIxRZP7wLkYj7clsXD4qVw1ZzdqBKRCak= X-Received: by 10.55.75.204 with SMTP id y195mr18502552qka.183.1498056185991; Wed, 21 Jun 2017 07:43:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.129.66 with HTTP; Wed, 21 Jun 2017 07:43:05 -0700 (PDT) In-Reply-To: <624bc857.6136.15cca3f285d.Coremail.sahala232@163.com> References: <624bc857.6136.15cca3f285d.Coremail.sahala232@163.com> From: Alexey Kuznetsov Date: Wed, 21 Jun 2017 21:43:05 +0700 Message-ID: Subject: Re: Replace Cron4J with Quartz for ignite-schedule module. To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary="001a114a8234d1e7d40552796259" archived-at: Wed, 21 Jun 2017 14:43:11 -0000 --001a114a8234d1e7d40552796259 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi! Good point, I will take a look. On Wed, Jun 21, 2017 at 5:42 PM, =E6=9D=8E=E7=8E=89=E7=8F=8F wrote: > Hi=EF=BC=8C > > > There is also an alternative that the community can consider using the > scheduling functionality in the spring-context module, for the following > reasons: > 1.quartz is a very heavy framework, and most functions we don't need; > 2., we already have spring dependencies in our project without introducin= g > new dependencies; > 3.spring is also Apache 2.0 license; > 4.spring's scheduler supports standard CRON, and cron4j does not support > standard CRON; > 5.spring's code quality is very good, maintainability is good, and the > quality of quartz code is not very good. > On 06/21/2017 13:26=EF=BC=8CAlexey Kuznetsov wrote= =EF=BC=9A > Hi! > > 1) Cron4J is very old: > Latest Cron4j 2.2.5 released: *28-Dec-2011 * > Latest Quarz 2.3.0 released: *20-Apr-2017* > > 2) Not very friendly license: > CronJ4 licensed under GNU LESSER GENERAL PUBLIC LICENSE > Quartz is freely usable, licensed under the *Apache 2.0* license. > > So, if we replace Cron4J with Quartz we can move *ignite-schedule* modul= e > from lgpl profile to main distribution. > > Any objections? > > If no, I will create JIRA issue and implement this change. > > -- > Alexey Kuznetsov > --=20 Alexey Kuznetsov GridGain Systems www.gridgain.com --001a114a8234d1e7d40552796259--