Return-Path: X-Original-To: apmail-apex-dev-archive@minotaur.apache.org Delivered-To: apmail-apex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7981818C52 for ; Tue, 12 Jan 2016 06:16:42 +0000 (UTC) Received: (qmail 77789 invoked by uid 500); 12 Jan 2016 06:16:42 -0000 Delivered-To: apmail-apex-dev-archive@apex.apache.org Received: (qmail 77733 invoked by uid 500); 12 Jan 2016 06:16:42 -0000 Mailing-List: contact dev-help@apex.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apex.incubator.apache.org Delivered-To: mailing list dev@apex.incubator.apache.org Received: (qmail 77722 invoked by uid 99); 12 Jan 2016 06:16:42 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2016 06:16:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id AC5861A09C6 for ; Tue, 12 Jan 2016 06:16:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.227 X-Spam-Level: * X-Spam-Status: No, score=1.227 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.554, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id QaNfMBuNvCMQ for ; Tue, 12 Jan 2016 06:16:41 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with SMTP id 92C5043E7D for ; Tue, 12 Jan 2016 06:16:40 +0000 (UTC) Received: (qmail 77137 invoked by uid 99); 12 Jan 2016 06:16:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2016 06:16:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 04C0F2C1F6B for ; Tue, 12 Jan 2016 06:16:40 +0000 (UTC) Date: Tue, 12 Jan 2016 06:16:40 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@apex.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (APEXMALHAR-1970) ArrayOutOfBoundary error in One_To_Many Partitioner for 0.9 kafka input operator MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/APEXMALHAR-1970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15093375#comment-15093375 ] ASF GitHub Bot commented on APEXMALHAR-1970: -------------------------------------------- Github user siyuanh commented on a diff in the pull request: https://github.com/apache/incubator-apex-malhar/pull/167#discussion_r49418985 --- Diff: kafka/src/test/java/org/apache/apex/malhar/kafka/KafkaInputOperatorTest.java --- @@ -48,26 +48,30 @@ private int totalBrokers = 0; + private String partition = null; - - @Parameterized.Parameters(name = "multi-cluster: {0}, multi-partition: {1}") - public static Collection testScenario() + @Parameterized.Parameters(name = "multi-cluster: {0}, multi-partition: {1}, partition: {2}") + public static Collection testScenario() { - return Arrays.asList(new Boolean[][]{{true, false}, // multi cluster with single partition - {true, true}, // multi cluster with multi partitions - {false, true}, // single cluster with multi partitions - {false, false}, // single cluster with single partitions + return Arrays.asList(new Object[][]{{true, false, "one_to_one"},// multi cluster with single partition --- End diff -- Add different partition strategy settings > ArrayOutOfBoundary error in One_To_Many Partitioner for 0.9 kafka input operator > -------------------------------------------------------------------------------- > > Key: APEXMALHAR-1970 > URL: https://issues.apache.org/jira/browse/APEXMALHAR-1970 > Project: Apache Apex Malhar > Issue Type: Bug > Reporter: Siyuan Hua > Assignee: Siyuan Hua > Fix For: 3.4.0 > > > Should have the same support as found in the 0.8.x implementation. -- This message was sent by Atlassian JIRA (v6.3.4#6332)