From users-return-3488-archive-asf-public=cust-asf.ponee.io@groovy.apache.org Thu May 3 11:09:37 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 1C051180625 for ; Thu, 3 May 2018 11:09:36 +0200 (CEST) Received: (qmail 72832 invoked by uid 500); 3 May 2018 09:09:31 -0000 Mailing-List: contact users-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@groovy.apache.org Delivered-To: mailing list users@groovy.apache.org Received: (qmail 72823 invoked by uid 99); 3 May 2018 09:09:30 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2018 09:09:30 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 8C75EC0346 for ; Thu, 3 May 2018 09:09:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.284 X-Spam-Level: ** X-Spam-Status: No, score=2.284 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972, URI_HEX=1.313] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id k6Ar2FZ5Aqn8 for ; Thu, 3 May 2018 09:09:28 +0000 (UTC) Received: from n5.nabble.com (n5.nabble.com [162.253.133.81]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 136FC5F254 for ; Thu, 3 May 2018 09:09:28 +0000 (UTC) Received: from n5.nabble.com (localhost [127.0.0.1]) by n5.nabble.com (Postfix) with ESMTP id 98B025E98424 for ; Thu, 3 May 2018 02:09:26 -0700 (MST) Date: Thu, 3 May 2018 02:09:26 -0700 (MST) From: "Daniel.Sun" To: users@groovy.incubator.apache.org Message-ID: <1525338566580-0.post@n5.nabble.com> Subject: [FYI] Hadoop and Spark examples in Groovy MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi all, Here are Hadoop example[1] and Spark example[2] in Groovy for your reference. As you can see, Groovy can work very well with the big data frameworks. Even if Spark is implemented in Scala, the code of Spark example in Groovy is as concise as Scala's. The reason why I wrote the examples is to assure you that Groovy is powerful and elegant enough to handle any scenario in the Java world :-) Cheers, Daniel.Sun [1] https://github.com/danielsun1106/hadoop-wordcount [2] https://github.com/danielsun1106/spark-wordcount -- Sent from: http://groovy.329449.n5.nabble.com/Groovy-Users-f329450.html