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 AD372200C4F for ; Sat, 18 Mar 2017 00:34:26 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id ABC6C160B8C; Fri, 17 Mar 2017 23:34:26 +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 CD284160B80 for ; Sat, 18 Mar 2017 00:34:25 +0100 (CET) Received: (qmail 42839 invoked by uid 500); 17 Mar 2017 23:34:24 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flink.apache.org Delivered-To: mailing list user@flink.apache.org Received: (qmail 42829 invoked by uid 99); 17 Mar 2017 23:34:24 -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; Fri, 17 Mar 2017 23:34:24 +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 576D2C12BE for ; Fri, 17 Mar 2017 23:34:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.803 X-Spam-Level: * X-Spam-Status: No, score=1.803 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.096, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Kj_64uS8_hWm for ; Fri, 17 Mar 2017 23:34:23 +0000 (UTC) Received: from mail-vk0-f43.google.com (mail-vk0-f43.google.com [209.85.213.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 487255F46F for ; Fri, 17 Mar 2017 23:34:23 +0000 (UTC) Received: by mail-vk0-f43.google.com with SMTP id x75so48711760vke.2 for ; Fri, 17 Mar 2017 16:34:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=7RXJrSGhYH95W/6WgLO8YxOhmQVl38WBpWqjitWyRkg=; b=m9nPNQAGpS4GSJXUf5ewep7ahrwmNp4g+GSMmIZIDpMq4dGXJ8ycVfrg8huErq4C0k 2ro44CWIYh9Kc7avoebCj/3txpE0H2ep4L3jj/GdkcX8rzpDgeqg+9fvcIH2n6zW7yv/ eYrlX4GO/qqR5PVUs4HWdSzrWAvb56lsiKlgvN45b7t8VdqkrT2cMcVc1kVKSxCPFSqQ i00iGO98jVKtKwVKKHPPEjsLIfraasdnTnXZP54AkL/5+Ib8184U+MgQYKSWecuFZp4V z0Oafk8dvPbIcmanjiDKKweWmcD3nDQefvue5LWjP9YBQIpVUy7vzyyyve6h6duV7CHv H5wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=7RXJrSGhYH95W/6WgLO8YxOhmQVl38WBpWqjitWyRkg=; b=IrRTzzS1rZIaP0HCwsEtVtH6XSaAAs17npLp2+/c2ydXppaac0NszlCYCMiB2Ba/Pr 1wooVTd+1hFjDbqB0ZbgPS3h9MrZk/SGkDoQ9x4k3bHugeFbRNA1KmMewiDbvs9k3tFQ XA8JG2kXzFxsXPd5Vshi1OuT8KXar6g62wvqtX3dCpP0bF0f6HOam87HbRlxSe3l+JTF owndrx29pCEWpg9oHHKDikEJfj3/DcIyxGEWDjoE8b8/CRCQ6XIpAeQZjCiNtVawGq52 9W1QHQDugxe77MSaYCyp8VfJg88sk8yT2j7WEOABiWlIp6ReLuDLG4Lic5HSnsIR4M/v ddig== X-Gm-Message-State: AFeK/H2T5R4UzNEWtgqgoPeJMvMiS3kxxLOsSk255Q9/lynwHaWZPoH9lctkW7ygMja5NAIMWVAcr923AR82oQ== X-Received: by 10.31.244.198 with SMTP id s189mr6931225vkh.86.1489793238982; Fri, 17 Mar 2017 16:27:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.130.139 with HTTP; Fri, 17 Mar 2017 16:26:58 -0700 (PDT) From: Tarandeep Singh Date: Fri, 17 Mar 2017 16:26:58 -0700 Message-ID: Subject: flink-1.2 and unit testing / flinkspector To: user@flink.apache.org Content-Type: multipart/alternative; boundary=94eb2c03bc7ecc76f4054af58414 archived-at: Fri, 17 Mar 2017 23:34:26 -0000 --94eb2c03bc7ecc76f4054af58414 Content-Type: text/plain; charset=UTF-8 Hi, Is someone using flinkspector unit testing framework with flink-1.2? I added the following dependencies in my pom.xml file: org.flinkspector flinkspector-datastream_2.10 0.5 org.flinkspector flinkspector-core_2.10 0.5 However, I keep getting NullPointer exception. It seems it is using ForkableFlinkMiniCluster which is probably removed in 1.2. I tried to build flinkspector locally by replacing ForkableFlinkMiniCluster by org.apache.flink.runtime.minicluster.LocalFlinkMiniCluster However, I am getting this error- ERROR] Failed to execute goal on project flinkspector-core_2.11: Could not resolve dependencies for project org.flinkspector:flinkspector-core_2.11:jar:0.6-SNAPSHOT: Could not find artifact org.apache.directory.jdbm:apacheds-jdbm1:bundle:2.0.0-M2 in central (https://repo.maven.apache.org/maven2) -> [Help 1] I am not able to resolve this error. Has anyone successfully used flinkspector with flink-1.2 (or build it locally)? Flinkspector seems like a easy to use unit test framework. Is this the recommended framework? If other people are using some other tool, can someone please point me to an example. Thank you, Tarandeep --94eb2c03bc7ecc76f4054af58414 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

Is someone using flinkspector unit testing framework with flink-1.2?
I added the following dependencies in my pom.xml file:

=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <dependency>
=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <groupId>org.flin= kspector</groupId>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 <artifactId>flinkspector-datastream_2.10</ar= tifactId>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 <version>0.5</version>
=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 </dependency>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 <dependency>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 <groupId>org.flinkspector</groupId>
= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <arti= factId>flinkspector-core_2.10</artifactId>
=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <version>0.5</ver= sion>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </dependency><= br>
However, I keep getting NullPointer exception. It seems it is = using ForkableFlinkMiniCluster wh= ich is probably removed in 1.2.
I tried to build flinkspector loca= lly by replacing ForkableFlinkMiniCluster by=C2=A0 org.apache.flink.runtime.minicluster.LocalFlinkMiniCluster

However, I am getting this error-
ERROR] Failed to execute goal on project flinkspector-core_2.11= : Could not resolve dependencies for project org.flinkspector:flinkspector-= core_2.11:jar:0.6-SNAPSHOT: Could not find artifact org.apache.directory.jd= bm:apacheds-jdbm1:bundle:2.0.0-M2 in central (https://repo.maven.apache.org/maven2) -> [Help 1= ]

I am not able to resolve this error.
Has anyone su= ccessfully used flinkspector with flink-1.2 (or build it locally)?

<= /div>Flinkspector seems like a easy to use unit test framework. Is this the= recommended framework? If other people are using some other tool, can some= one please point me to an example.

Thank you,
Tarand= eep
--94eb2c03bc7ecc76f4054af58414--