Return-Path: X-Original-To: apmail-flink-dev-archive@www.apache.org Delivered-To: apmail-flink-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3E55517563 for ; Mon, 1 Jun 2015 19:46:27 +0000 (UTC) Received: (qmail 91746 invoked by uid 500); 1 Jun 2015 19:46:27 -0000 Delivered-To: apmail-flink-dev-archive@flink.apache.org Received: (qmail 91695 invoked by uid 500); 1 Jun 2015 19:46:27 -0000 Mailing-List: contact dev-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list dev@flink.apache.org Received: (qmail 91683 invoked by uid 99); 1 Jun 2015 19:46:27 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jun 2015 19:46:27 +0000 Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 88C991A01AB for ; Mon, 1 Jun 2015 19:46:26 +0000 (UTC) Received: by wgez8 with SMTP id z8so122989452wge.0 for ; Mon, 01 Jun 2015 12:46:25 -0700 (PDT) X-Received: by 10.180.37.230 with SMTP id b6mr23737234wik.14.1433187985326; Mon, 01 Jun 2015 12:46:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.225.8 with HTTP; Mon, 1 Jun 2015 12:46:04 -0700 (PDT) In-Reply-To: References: <5565DF13.3090809@informatik.hu-berlin.de> <55682517.6070702@informatik.hu-berlin.de> From: Robert Metzger Date: Mon, 1 Jun 2015 21:46:04 +0200 Message-ID: Subject: Re: Storm compatibility layer currently does not support Storm's SimpleJoin example To: "dev@flink.apache.org" Content-Type: multipart/alternative; boundary=e89a8f64701dc30a6b05177a1467 --e89a8f64701dc30a6b05177a1467 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Great to see that you two are working together on the storm compatibility layer. Please let the other Flink committers know when Matthias PR is in a state that we can review it again (=3D when you think its ready). Given the feedback from Peter and the long list of missing features and the current rework, I would suggest to merge the storm compatiblilty layer after the 0.9 release. The issues from the document Stephan send around two weeks ago are making good progress, so the release will probably forked-off rather soon. On Fri, May 29, 2015 at 2:10 PM, Szab=C3=B3 P=C3=A9ter wrote: > Thank you very much, this explains a lot of things :) > I'm aware of that currently the support of TopologyContext is limited, so= I > do not expect it to work smoothly. However, there was another issue with > the grouping by the "id" field, which seemed very strange. Anyway, I will > live the SimpleJoin example to you, then. I will write if I find out > something important. > > I think the Strom compatibility layer is a really nice extension of the > Flink streaming API. It would be great if you could add more functionalit= y > to it in the future. > By the way, I'm not completely sure if you know: I was asked by Marton to > prepare your pull request for merging into the master. I restructured you= r > commits, cleaned up the code and rebased the branch on the current master= . > Actually, to follow the changes in the behaviour of the Flink streaming > sources, I'm doing a second refactor right now. If you are working on > something, and have not rebased yet, you can use my storm branch to follo= w > up. > > Here are the links to my storm branches: > - storm-backup (exmaples and other experiments; currently a little bit > outdated, because it is supposed to be a backup branch): > https://github.com/mbalassi/flink/tree/storm-backup > - storm (last clean state of my work on the flink-storm-compatibility pul= l > request, including code cleanup & refactor and one or two simple examples= ): > https://github.com/mbalassi/flink/tree/storm > > Peter > > > 2015-05-29 10:36 GMT+02:00 Matthias J. Sax >: > > > Hi Peter, > > > > I started to look into the issue. However, I could not find the > > following classes in the git repository: > > > > org.apache.flink.stormcompatibility.util.AbstractStormSpout > > org.apache.flink.stormcompatibility.util.OutputFormatter > > org.apache.flink.stormcompatibility.util.StormBoltFileSink > > org.apache.flink.stormcompatibility.util.StormBoltPrintSink > > org.apache.flink.stormcompatibility.util.TupleOutputFormatter > > > > Thus, I cannot compile and run the code. Can you please update the git. > > > > However, I had a quick look into the code, and see a few issues right > > away. For example the code uses "tuple.select(...)" what is not > > supported so far. Right now, attributes can only be accessed via index. > > Furthermore, the example uses a lot of meta information that cannot be > > provided easily in Flink (ie, TopologyContext is only supported very > > limited). > > > > To add those things, I will need much more time. I don't think I should > > be part of the first pull request, but be added later. I will integrate > > the SingleJoinBolt example as a ITCase if the functionality is there. I= t > > seems to be a good idea, to add more examples from storm-starter to > > flink-storm-examples. > > > > > > -Matthias > > > > > > On 05/28/2015 09:37 AM, Szab=C3=B3 P=C3=A9ter wrote: > > > Hi Matthias, > > > > > > Of course, here is the package that contains the example's source > > classes. > > > > > > https://github.com/mbalassi/flink/tree/storm-backup/flink-staging/flink-s= treaming/flink-storm-examples/src/main/java/org/apache/flink/stormcompatibi= lity/singlejoin > > > It is mostly a copy-paste of SimpleJoin from storm-starter, though, I > > > separated the spouts and the join bolt from the rest of the topology. > > > I would be happy, if you could fix it. Probably I'm overlooking > > something. > > > > > > Peter > > > > > > 2015-05-27 17:13 GMT+02:00 Matthias J. Sax < > > mjsax@informatik.hu-berlin.de>: > > > > > >> Hi Peter, > > >> > > >> Thanks a lot for your feedback. It's exiting to see, that somebody > uses > > >> the layer already. :) > > >> > > >> The current prototype is going to be merged soon. However, I am more > > >> than happy to extend the functionality of the layer. Can you please > > >> share your example with me, so I can see what the problem is and fix > it? > > >> > > >> I am pretty sure, that the fix will be merged later on, too. There a= re > > >> many other limitation in the layer. Right now, it is still in beta > > state. > > >> ;) > > >> > > >> -Matthias > > >> > > >> > > >> On 05/27/2015 03:48 PM, Szab=C3=B3 P=C3=A9ter wrote: > > >>> Hey everyone, > > >>> > > >>> I experimented with the Storm compatibility layer Matthias wrote, a= nd > > ran > > >>> some Storm examples on Flink. I found that Storm's SimpleJoin examp= le > > >> does > > >>> not work. I suppose it is because of the multiple input streams. I'= m > > >>> willing to add another example instead. > > >>> Right now, I'm getting it through Aljoscha's streaming refactor. > > >>> > > >>> Peter > > >>> > > >> > > >> > > > > > > > > --e89a8f64701dc30a6b05177a1467--