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 53EC418F78 for ; Thu, 19 Nov 2015 22:47:31 +0000 (UTC) Received: (qmail 67706 invoked by uid 500); 19 Nov 2015 22:47:31 -0000 Delivered-To: apmail-apex-dev-archive@apex.apache.org Received: (qmail 67637 invoked by uid 500); 19 Nov 2015 22:47:31 -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 67625 invoked by uid 99); 19 Nov 2015 22:47:31 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Nov 2015 22:47:30 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 86453180AA8 for ; Thu, 19 Nov 2015 22:47:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.001 X-Spam-Level: *** X-Spam-Status: No, score=3.001 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=datatorrent-com.20150623.gappssmtp.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id tkSw-b7ikyEX for ; Thu, 19 Nov 2015 22:47:19 +0000 (UTC) Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 46F2A23048 for ; Thu, 19 Nov 2015 22:47:19 +0000 (UTC) Received: by wmdw130 with SMTP id w130so259398714wmd.0 for ; Thu, 19 Nov 2015 14:47:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datatorrent-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=S82Yh0JTlQJxDKcUXwhyrQGeWCl6sCrxdqUgzY7Rl/Q=; b=V4lvoETDY+FoADMUGwVG1IS0AJ2L5Tj95uvGUeZoFCir69fZ3Hz5MJzEXRWIi/PVGw VIEzM18MO1kP667GPK+C71DZfLEfNyKYnaZq0ZF6Nwf95qXxIRnQz1aA/4gpmCRM10AP p2BBPim34qg3EZtQjmDSKmBqOJUuOpsS2oMo5CzWeFqKRqkVP2joLXGaiu1jpksbIQHW dCahP2dKZfnV6rx9n7xM5h05ZyLElDkx2ZoUNKK6XNpQNeJKXYYfvnLpLqqxGQZ52YBD FaADGGjIziXZXAGKaNLB+GoLaaL67RDWBgeJqXCCkk8qKie4ZAtOqsSpOCu/ooaQKTtC DjcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=S82Yh0JTlQJxDKcUXwhyrQGeWCl6sCrxdqUgzY7Rl/Q=; b=l3Ju+Z1qR8GlvJTjuQOuBCN+FnOmhhalXQKB6mkUbfLKGDyxAi4VhG4IY1HzEV/eoG CkmuAGBHKfiXWhhYrjk0nr77SK5JmJ6t1gZSvdqeLDgoIEuxMlD36bjOvRBOSRahwhbN 6JXtdrfJSlorcM3SWLUZrcLINGQqlBfhjL3mKUu2DNcXytHZFXr91rG2lgggo0gmjcRk dJN3aMEjYVRmYNyo5UpoX90Xw9lA0eLRv6dKl8Ez3tJlnvMXauV9yGM5p//6Yu5CVh8k T/iFJ6qqCVN0GeF7TwUEduh20XigfT2XHf45jcTdfG7ujY/+ZstXxhDntpd79OXOxDgK L9BQ== X-Gm-Message-State: ALoCoQlX1s/kTn3LggoqpZVqtdfTcIo4p6fzdk+cldXLO6PMAbM8hH9feaAvHEHSezxROSjnQw5V MIME-Version: 1.0 X-Received: by 10.28.8.15 with SMTP id 15mr261186wmi.50.1447973238754; Thu, 19 Nov 2015 14:47:18 -0800 (PST) Received: by 10.28.127.209 with HTTP; Thu, 19 Nov 2015 14:47:18 -0800 (PST) In-Reply-To: References: <95895BF14D8F9440BE1D6043012551A6053DC547@KDCPEXCMB13.cof.ds.capitalone.com> Date: Thu, 19 Nov 2015 14:47:18 -0800 Message-ID: Subject: Re: Word Count Tutorial Failure From: Chandni Singh To: dev@apex.incubator.apache.org Content-Type: multipart/alternative; boundary=001a11443ee08a6ad30524ec8a60 --001a11443ee08a6ad30524ec8a60 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sandesh, I am not just referring to myself. I have worked with people who are not committers and it doesn't take longer than 5 minutes. Chandni On Thu, Nov 19, 2015 at 2:42 PM, Sandesh Hegde wrote: > It doesn't matter how long the Apex committers takes to create "Your firs= t > application", If people outside this circle are taking more time then we > need to examine our guides. > > > On Thu, Nov 19, 2015 at 2:36 PM Chandni Singh > wrote: > > > Starting a project or creating a new executable project should honestly > > take no longer than 5 minutes. > > > > This literally doesn't take more than 5 minutes as the way Ram has > > described in > > https://www.datatorrent.com/buildingapps under "Your first application" > > section. > > > > Chandni > > > > On Thu, Nov 19, 2015 at 1:55 PM, Ganelin, Ilya < > > Ilya.Ganelin@capitalone.com> > > wrote: > > > > > Ram - > > > I=C2=B9ve reviewed the Apex_Development_Setup page and the blog. I am= not > new > > > to Apex, I=C2=B9ve built apps in Apex and understand the process but = putting > > > myself in as a newcomer to the project, given the existing > documentation, > > > it=C2=B9s still really confusing to get started. We=C2=B9re presently= teaching > > > others within C1 how to get Apex up and rolling and getting going fro= m > > > ground zero is far from easy. > > > > > > As a developer, the things that I need to be crystal clear and concis= e > > are: > > > > > > 1) How do I get the codebase > > > 2) How do I import the codebase into an IDE > > > 3) How do I build and run examples > > > 4) How do I create a new project, what do I need to add to maven to d= o > > this > > > 5) How do I build > > > 6) How do I test > > > > > > At the moment, the documentation doesn=C2=B9t paint a clear picture o= f this. > > > The present version is a massive improvement over what was there > before, > > > but at the moment there aren=C2=B9t a few clear steps, with minimal > > > configuration and involvement that get a person rolling. > > > > > > Starting a project or creating a new executable project should honest= ly > > > take no longer than 5 minutes. > > > > > > With regards to the top N tutorial, if it=C2=B9s too complicated to e= asily > set > > > up, let=C2=B9s have tutorials that aren=C2=B9t! A tutorial should ill= ustrate > basic > > > concepts and be easy to get up and running, otherwise it=C2=B9s > disheartening. > > > > > > Does this help clarify a little more? > > > > > > > > > > > > On 11/19/15, 11:47 AM, "Munagala Ramanath" > wrote: > > > > > > >Ilya, > > > > > > > >Completely agree about starting from scratch. My suggestion to clone > > > >the examples repo which > > > >contains the entire TopNWords example project was in response to you= r > > > >suggestion in item 5 of > > > >your message. > > > > > > > >For a simpler "Hello World" project, the steps at > > > >https://docs.datatorrent.com/apex_development_setup/ > > > >should work -- it involves running a just a couple of commands on th= e > > > >comand line and, for those wanting > > > >an even simpler process, a script is provided that automates things > > > >even further. > > > > > > > >A similarly super-simple approach to gettting started is outlined in > > > >my blog: https://www.datatorrent.com/buildingapps/ > > > >People can directly run many of the existing demos after building co= re > > > >and malhar and then > > > >experiment with modifying the sources of those demos. > > > > > > > >For a more substantial example like Top N Words, there is a fair bit > > > >of code needed in multiple files; > > > >the process outlined in the tutorial on the website is simply trying > > > >to save some time by copying > > > >existing files over from Malhar and making the minimal changes neede= d > > > >to incorporate them into > > > >a standalone project. > > > > > > > >For someone wanting to get involved with Apex, I think it is > > > >imperative to get familiar with running tools like > > > >git and maven from the command line, so the tutorials rely on those > > tools. > > > > > > > >Please let me know if you run into problems with any of the above > steps. > > > > > > > >Ram > > > > > > > >On Thu, Nov 19, 2015 at 11:07 AM, Ganelin, Ilya > > > > wrote: > > > >> Ram - the use case I'm targeting is having someone create a new > > project > > > >>from scratch based on an example. This is a little bit different. > This > > > >>is why I was basing it on the documentation from the website. > > > >> > > > >> The above is a necessity for getting new members involved with the > > > >>project. > > > >> > > > >> > > > >> > > > >> Thank you, > > > >> Ilya Ganelin > > > >> > > > >> > > > >> > > > >> -----Original Message----- > > > >> From: Munagala Ramanath > > > >>[ram@datatorrent.com] > > > >> Sent: Thursday, November 19, 2015 01:50 PM Eastern Standard Time > > > >> To: dev@apex.incubator.apache.org > > > >> Subject: Re: Word Count Tutorial Failure > > > >> > > > >> > > > >> Ilya, > > > >> > > > >> Could you please clone: https://github.com/DataTorrent/examples > > > >> You'll find the complete project in tutorials/topnwords/app > > > >> You should be able to build it successfully with: mvn clean packag= e > > > >>-DskipTests > > > >> I just tried it. Let me know if you run into any issues. > > > >> > > > >> Ram > > > >> > > > >> > > > >> On Thu, Nov 19, 2015 at 10:18 AM, Ganelin, Ilya > > > >> wrote: > > > >>> Hi all =C2=AD I just attempted to follow the instructions here: > > > >>> http://docs.datatorrent.com/tutorials/topnwords-c2/ > > > >>> > > > >>> For standing up top N words in Java. > > > >>> > > > >>> As it stands, things did not work. I was using IntelliJ Idea 14. > > There > > > >>>were a number of issues, a short (not comprehensive) list is below= . > > > >>> > > > >>> 1. There are discrepancies between the selected language level = in > > > >>>the project settings and certain constructs in the code > > > >>> * In WordReader.java diamonds are used, which are only > > supported > > > >>>in java 7 but the language level is set to 5 > > > >>> 2. The apex version is out of date in the pom.xml file (it=C2= =B9s set > to > > > >>>2.2) > > > >>> 3. ApplicationWithQuerySupport.java does not compile with newer > > > >>>versions of Apex > > > >>> > > > >>> I spent about 15 minutes trying to get this thing to work in its > > > >>>present state and it simply was not an easy and ready to roll > example. > > > >>> > > > >>> General thoughts: > > > >>> > > > >>> 1. We should not be asking users to manually copy example files > > from > > > >>>one place to another > > > >>> 2. We should not be asking them to rename packages to get thing= s > to > > > >>>work > > > >>> 3. We should not be asking them to modify existing example code > to > > > >>>construct another example. > > > >>> * I think a better approach is to provide a complete exampl= e > > > >>>(that works out of the box) and that we can then walk through line > by > > > >>>line to explain what it=C2=B9s doing. > > > >>> 4. We shouldn=C2=B9t be asking them to copy-paste in settings. > Instead, > > > >>>we should walk them through what it means to set settings and have= a > > > >>>simple enough example that it=C2=B9s straightforward to configure. > > > >>> 5. Standing up a word count example should be a 1-button-click > > > >>>deployment that is ready to run without any user input. Any furthe= r > > > >>>configuration should only be necessary for the sake of teaching, n= ot > > > >>>for the sake of operationalizing the project. > > > >>> > > > >>> I hope this helps, I=C2=B9m happy to offer further feedback. Than= ks! > > > >>> ________________________________________________________ > > > >>> > > > >>> The information contained in this e-mail is confidential and/or > > > >>>proprietary to Capital One and/or its affiliates and may only be > used > > > >>>solely in performance of work or services for Capital One. The > > > >>>information transmitted herewith is intended only for use by the > > > >>>individual or entity to which it is addressed. If the reader of th= is > > > >>>message is not the intended recipient, you are hereby notified tha= t > > any > > > >>>review, retransmission, dissemination, distribution, copying or > other > > > >>>use of, or taking of any action in reliance upon this information = is > > > >>>strictly prohibited. If you have received this communication in > error, > > > >>>please contact the sender and delete the material from your > computer. > > > >> ________________________________________________________ > > > >> > > > >> The information contained in this e-mail is confidential and/or > > > >>proprietary to Capital One and/or its affiliates and may only be us= ed > > > >>solely in performance of work or services for Capital One. The > > > >>information transmitted herewith is intended only for use by the > > > >>individual or entity to which it is addressed. If the reader of thi= s > > > >>message is not the intended recipient, you are hereby notified that > any > > > >>review, retransmission, dissemination, distribution, copying or oth= er > > > >>use of, or taking of any action in reliance upon this information i= s > > > >>strictly prohibited. If you have received this communication in > error, > > > >>please contact the sender and delete the material from your compute= r. > > > > > > ________________________________________________________ > > > > > > The information contained in this e-mail is confidential and/or > > > proprietary to Capital One and/or its affiliates and may only be used > > > solely in performance of work or services for Capital One. The > > information > > > transmitted herewith is intended only for use by the individual or > entity > > > to which it is addressed. If the reader of this message is not the > > intended > > > recipient, you are hereby notified that any review, retransmission, > > > dissemination, distribution, copying or other use of, or taking of an= y > > > action in reliance upon this information is strictly prohibited. If y= ou > > > have received this communication in error, please contact the sender > and > > > delete the material from your computer. > > > > > > > > > --001a11443ee08a6ad30524ec8a60--