Return-Path: X-Original-To: apmail-flink-user-archive@minotaur.apache.org Delivered-To: apmail-flink-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BF5F9195F3 for ; Thu, 28 Apr 2016 08:48:18 +0000 (UTC) Received: (qmail 26717 invoked by uid 500); 28 Apr 2016 08:48:18 -0000 Delivered-To: apmail-flink-user-archive@flink.apache.org Received: (qmail 26629 invoked by uid 500); 28 Apr 2016 08:48:18 -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 26619 invoked by uid 99); 28 Apr 2016 08:48:18 -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; Thu, 28 Apr 2016 08:48:18 +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 F073DC1413 for ; Thu, 28 Apr 2016 08:48:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.28 X-Spam-Level: * X-Spam-Status: No, score=1.28 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=radicalbit-io.20150623.gappssmtp.com 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 HPWf3CasFEMu for ; Thu, 28 Apr 2016 08:48:16 +0000 (UTC) Received: from mail-lf0-f50.google.com (mail-lf0-f50.google.com [209.85.215.50]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 3C5125F369 for ; Thu, 28 Apr 2016 08:48:16 +0000 (UTC) Received: by mail-lf0-f50.google.com with SMTP id j11so86750359lfb.1 for ; Thu, 28 Apr 2016 01:48:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=radicalbit-io.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to; bh=/12jP88I3ENRbW43oOf0ueN6nYlFLBYUueWb0x0P300=; b=HBTY6EcQk0wO9e8ok90P0M84hPYWtMBoIRPQKG0xtTZIKo5/wtST2uEKgITMjn+RXM ZK90IfWlanDcdXA+JYrGJX7DI5C+zGZvweI7qnOZ5naQCiQl49+eKx3WZXffCzHH0pqx KMKfVoM/ZzC0Biy7srqJYSpyM7uFwvddlz5VZl4IjdOBS/eE46pkzVPtbqphl/4a1rGM tpDdaEmJwwcVbcxt/JknPTa9Wj0uEIyyUfKBZZ3wEkGnv0rb1W8/T5Vh1fRod03VawfC L2T0mmFZBI9F8jJOoF1EBO6KLp16N+J5DuTOkt0kAejycOszkDM2qO0ThkuDV0+tenSV O//Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=/12jP88I3ENRbW43oOf0ueN6nYlFLBYUueWb0x0P300=; b=KMh8j29S/uAchuxcgd2tLGorjcJHFnKb3z77rlETO2je0hkGnN1H8S6PNRC3RfQpwo 9ycnvhfNLc3tK4SrzYoNg9+UaWdmcp2e3M89Y3ctpgJAoiyTbt7YnUShwB38RnRWR1OM AsGUqzw2APEmtkmhddaSmPBB1CPue3NzPJt9SrgfDUdYwA965hopF02e43clGtJyYtNB ruqzpoCoGFnIDbNH4Y0uKPo8t2H38BhYeb6eIi5wt7EhxzAPDSjnXakjBL9cKnzsGYoH E187RyEfF1R4ojkuS2i2xSfbwdRMMTkxY5WXMxtUUD3clxVl0B0JWToPG3aA419N0cvg iiAA== X-Gm-Message-State: AOPr4FVRsJzxpQHOj2Nm/IFlZA0a3qvQIcDLG8pZBHAeA8Lq0oo3+GPBjVnPUveNygiKPaCRMTtGl6ZihfgsaM+K MIME-Version: 1.0 X-Received: by 10.25.86.144 with SMTP id k138mr5477129lfb.6.1461833295641; Thu, 28 Apr 2016 01:48:15 -0700 (PDT) Received: by 10.25.15.209 with HTTP; Thu, 28 Apr 2016 01:48:15 -0700 (PDT) Date: Thu, 28 Apr 2016 10:48:15 +0200 Message-ID: Subject: Create a cluster inside Flink From: Simone Robutti To: user@flink.apache.org Content-Type: multipart/alternative; boundary=001a1140820e4ed87905318796e3 --001a1140820e4ed87905318796e3 Content-Type: text/plain; charset=UTF-8 Hello everyone, I'm approaching a rather big and complex integration with an existing software and I would like to hear the opinion of more experienced users on how to tackle a few issues. This software builds a cloud with its own logic. What I need is to keep these nodes as instances inside the TaskManagers and use these instances to perform operation with dedicated operators. I need to move tabular data back and forth from and to Flink's Datasets and be able to call methods on these instances. I would like to receive suggestions on how to implement this behaviour. First I thought about using Flink's actor system but I discovered it is not accessible. So I would like to understand how to properly create these instances (new thread inside a mapPartition?), how to call methods on them (create a custom context?) and convert data from a Dataset or a Table to the custom format of this software (this probably won't be much of a problem, I will write wrappers or at worst replicate the data). Any suggestion is welcome. Thanks, Simone --001a1140820e4ed87905318796e3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello everyone,

I'm approaching a r= ather big and complex integration with an existing software and I would lik= e to hear the opinion of more experienced users on how to tackle a few issu= es.

This software builds a cloud with its own logi= c. What I need is to keep these nodes as instances inside the TaskManagers = and use these instances to perform operation with dedicated operators. I ne= ed to move tabular data back and forth from and to Flink's Datasets and= be able to call methods on these instances. =C2=A0

I would like to receive suggestions on how to implement this behaviour. F= irst I thought about using Flink's actor system but I discovered it is = not accessible. So I would like to understand how to properly create these = instances (new thread inside a mapPartition?), how to call methods on them = (create a custom context?) and convert data from a Dataset or a Table to th= e custom format of this software (this probably won't be much of a prob= lem, I will write wrappers or at worst replicate the data).

<= /div>
Any suggestion is welcome.

Thanks,
=

Simone
--001a1140820e4ed87905318796e3--