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 DAE96200BA8 for ; Mon, 24 Oct 2016 11:21:47 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D98DA160AEB; Mon, 24 Oct 2016 09:21:47 +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 2C41A160AE1 for ; Mon, 24 Oct 2016 11:21:47 +0200 (CEST) Received: (qmail 19751 invoked by uid 500); 24 Oct 2016 09:21:46 -0000 Mailing-List: contact commits-help@eagle.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@eagle.incubator.apache.org Delivered-To: mailing list commits@eagle.incubator.apache.org Received: (qmail 19742 invoked by uid 99); 24 Oct 2016 09:21:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Oct 2016 09:21:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id D1A8BC0587 for ; Mon, 24 Oct 2016 09:21:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -6.219 X-Spam-Level: X-Spam-Status: No, score=-6.219 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ftSeera5NIs0 for ; Mon, 24 Oct 2016 09:21:45 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 2DF715FADC for ; Mon, 24 Oct 2016 09:21:44 +0000 (UTC) Received: (qmail 19706 invoked by uid 99); 24 Oct 2016 09:21:43 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Oct 2016 09:21:43 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 04FB2DFB81; Mon, 24 Oct 2016 09:21:42 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jinhuwu@apache.org To: commits@eagle.incubator.apache.org Message-Id: <5270c46bad984c4981803443a84cd561@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-eagle git commit: [EAGLE-674] fix grouping between AlertBolt and AlertPublisher Date: Mon, 24 Oct 2016 09:21:42 +0000 (UTC) archived-at: Mon, 24 Oct 2016 09:21:48 -0000 Repository: incubator-eagle Updated Branches: refs/heads/master c15e7f814 -> 8a34294ec [EAGLE-674] fix grouping between AlertBolt and AlertPublisher Author: wujinhu Closes #557 from wujinhu/EAGLE-673. Project: http://git-wip-us.apache.org/repos/asf/incubator-eagle/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-eagle/commit/8a34294e Tree: http://git-wip-us.apache.org/repos/asf/incubator-eagle/tree/8a34294e Diff: http://git-wip-us.apache.org/repos/asf/incubator-eagle/diff/8a34294e Branch: refs/heads/master Commit: 8a34294ec604b42bee5dd99f40ba6e9f9fc498b5 Parents: c15e7f8 Author: wujinhu Authored: Mon Oct 24 17:21:37 2016 +0800 Committer: wujinhu Committed: Mon Oct 24 17:21:37 2016 +0800 ---------------------------------------------------------------------- .../org/apache/eagle/alert/engine/runner/UnitTopologyRunner.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/8a34294e/eagle-core/eagle-alert-parent/eagle-alert/alert-engine/src/main/java/org/apache/eagle/alert/engine/runner/UnitTopologyRunner.java ---------------------------------------------------------------------- diff --git a/eagle-core/eagle-alert-parent/eagle-alert/alert-engine/src/main/java/org/apache/eagle/alert/engine/runner/UnitTopologyRunner.java b/eagle-core/eagle-alert-parent/eagle-alert/alert-engine/src/main/java/org/apache/eagle/alert/engine/runner/UnitTopologyRunner.java index 287d5db..3b40afd 100755 --- a/eagle-core/eagle-alert-parent/eagle-alert/alert-engine/src/main/java/org/apache/eagle/alert/engine/runner/UnitTopologyRunner.java +++ b/eagle-core/eagle-alert-parent/eagle-alert/alert-engine/src/main/java/org/apache/eagle/alert/engine/runner/UnitTopologyRunner.java @@ -205,7 +205,8 @@ public class UnitTopologyRunner { // connect alert bolt and alert publish bolt, this is the last bolt in the pipeline BoltDeclarer boltDeclarer = builder.setBolt(alertPublishBoltName, publisherBolt, numOfPublishExecutors).setNumTasks(numOfPublishTasks); for (int i = 0; i < numOfAlertBolts; i++) { - boltDeclarer.fieldsGrouping(alertBoltNamePrefix + i, new Fields(AlertConstants.FIELD_0)); + //boltDeclarer.fieldsGrouping(alertBoltNamePrefix + i, new Fields(AlertConstants.FIELD_0)); + boltDeclarer.shuffleGrouping(alertBoltNamePrefix + i); } return builder.createTopology();