Data Eng Weekly


Hadoop Weekly Issue #143

25 October 2015

There are several articles this week showing Spark's versatility for data analysis—from geospatial indexing with Magellan to using Spark with OCR libraries to Spark with Redshift. And speaking of Spark, Spark Summit Europe is this week in Amsterdam. Also, there's an interview with Arun Murthy about the future of Hadoop, and Luigi hit version 2.0.0.

Technical

InMobi has capped off a four part blog post series about Real-Time Stream Processing. Throughout the series which focusses on comparing Storm and Spark Streaming, they've described the uses cases at InMobi, given an overview of the two platforms, described various evaluation criteria, and presented their findings and recommendation. Citing Storm's maturity (and many other differences), they have chosen Storm for their internal systems.

http://technology.inmobi.com/blog/real-time-stream-processing-at-inmobi-part-4

The Cloudera blog has a post describing how to build a Spark job to index scanned documents and store results in HBase. The actual Spark job is short and easy to understand, so the majority of the post is devoted to background, installation details (OCR libraries require some native system libraries), and how to configure Cloudera Search to index extracted data.

http://blog.cloudera.com/blog/2015/10/how-to-index-scanned-pdfs-at-scale-using-fewer-than-50-lines-of-code/

Hortonworks has a tutorial for Magellan, which is a Spark package for geospatial analytics. To demonstrate some of Magellan's features, the tutorial joins data about Uber trips with neighborhood data to analyze neighborhoods popular for trips (which requires some transformations).

http://hortonworks.com/blog/magellan-geospatial-analytics-in-spark/

To demonstrate Spark ML pipelines and their Spark Extensions Library, Collective has written a guest post on the Databricks blog about Audience Modeling. Much of the post is devoted to how they use the Google S2 Geometry Library for building geo features, and it wraps up by showing how to use the ML pipelines API to train a model.

https://databricks.com/blog/2015/10/20/audience-modeling-with-spark-ml-pipelines.html

This post on Scalding is the latest in a series describing how to implement an outer join in various Hadoop frameworks. It serves as a good introduction to using Scalding for a non-trivial task and how to test a Scalding job.

http://blog.matthewrathbone.com/2015/10/20/scalding-tutorial.html

This post describes how to use the Apache Ambari REST API to fetch and update the configuration for a cluster, which is a great way to automate configuration changes.

https://developer.ibm.com/hadoop/blog/2015/10/20/update-open-source-component-configurations-via-ambari-part-two/

The Livy Job Server provides a REST API for interacting with Spark. Livy supports running a job by specifying a jar in HDFS, a main-class, and job arguments in an HTTP POST. After submitting, output can be fetched using the API. The overview also describes how to run Spark Streaming and Python jobs using this API.

http://gethue.com/how-to-use-the-livy-spark-rest-job-server-api-for-submitting-batch-jar-python-and-streaming-spark-jobs/

The MapR blog has a post introducing the new analytic and window functions in the Apache Drill 1.2 release. The post uses Yelp review data to illustrate OVER, FIRSTVALUE, LASTVALUE, LAG, LEAD, and more.

https://www.mapr.com/blog/leveraging-new-features-drill-12-ansi-sql-analytic-window-functions

The IBM Hadoop Dev blog has a post on the HDFS trash. It describes the important settings, checkpoints, how to empty the trash, and best practices for a production cluster.

https://developer.ibm.com/hadoop/blog/2015/10/22/hdfs-trash/

News

Spark Summit Europe is this week in Amsterdam. The full schedule is available online, and there is a live stream on Wednesday and Thursday.

https://spark-summit.org/eu-2015/

SD Times has an interview with Arun Murthy of Hortonworks on the future of Hadoop. The whole article is worth reading, but a few things stood out—Arun predicts that YARN and HDFS will become "POSIX for the data world" and he is thinking a lot about how to improve the process of writing apps for YARN (both Docker and Apache Slider are mentioned in this context).

http://sdtimes.com/arun-murthy-discusses-the-future-of-hadoop/

The Hortonworks blog has a recap of the recent Apache Ambari Hackfest. The winning projects were an Ambari Cassandra Service, a Catalog Service for Ambari, and an Ambari Service Deployer. The post has links with more details on these and other projects from the event.

http://hortonworks.com/blog/apache-ambari-hackfest-on-a-serene-saturday/

Releases

spark-redshift is a new package that provides a Spark DataSource for Amazon Redshift. For large data sets, the package offers better performance than the JDBC drivers, particularly when loading data into Redshift (by using the Redshift COPY command rather than JDBC INSERTs).

https://databricks.com/blog/2015/10/19/introducing-the-spark-redshift-package.html

Splice Machine has announced version 1.5 of their Hadoop RDBMS. The new version improves SQL compliance, improves compatibility with BI tools, adds new incremental backup support, provides new Window functions for analytical queries, and improves performance.

http://www.splicemachine.com/splice-machine-announces-version-1-5-of-hadoop-rdbms-2/

Cloudera Enterprise 5.3.8 is a new bug fix release addressing issues in CDH and Cloudera Manager.

http://community.cloudera.com/t5/Release-Announcements/Announcing-Cloudera-Enterprise-5-3-8/m-p/33347

Version 2.0.0 of Luigi, the data workflow system, was released. It includes a new visualizer, a new summary at the end of CLI runs, support for Amazon EC2 Container Service, speedups to scheduling, and more.

https://github.com/spotify/luigi/releases/tag/2.0.0

Events

Curated by Datadog ( http://www.datadoghq.com )

UNITED STATES

California

Accelerating Hadoop Projects with the Cask Data Application Platform (San Francisco) - Tuesday, October 27
http://www.meetup.com/SV-Data-Engineering/events/225521060/

Deep Learning Architecture Using Tachyon and Spark + Tachyon New Features (Sunnyvale) - Wednesday, October 28
http://www.meetup.com/Tachyon/events/226030510/

Special Event with Kostas and Stephan: Updates on Flink Forward 2015 (Santa Clara) - Wednesday, October 28
http://www.meetup.com/Bay-Area-Apache-Flink-Meetup/events/226218250/

An Evening with Jay Kreps, Author of Apache Kafka, Samza, Voldemort & Azkaban (Playa Vista) - Friday, October 30
http://www.meetup.com/Los-Angeles-Big-Data-Users-Group/events/226089288/

Washington

Cask Data + Azure Data Lake (Seattle) - Wednesday, October 28
http://www.meetup.com/Seattle-Scalability-Meetup/events/223620390/

Texas

IoT with Spark Streaming & Hadoop with Kudu (Austin) - Monday, October 26
http://www.meetup.com/Austin-Cloudera-User-Group/events/225453521/

Illinois

Architecture of Flink's Streaming Runtime & Flink at Capital One (Chicago) - Thursday, October 29
http://www.meetup.com/Chicago-Apache-Flink-Meetup/events/225924306/

Ohio

NiFi, Zeppelin, HBase (Dublin) - Tuesday, October 27
http://www.meetup.com/MOHUG-Mid-Ohio-Hadoop-User-Group/events/224901793/

North Carolina

Hadoop Data Security with Apache Ranger (Durham) - Tuesday, October 27
http://www.meetup.com/TriHUG/events/226010734/

New York

Mesos @ Bloomberg (New York) - Monday, October 26
http://www.meetup.com/Apache-Mesos-NYC-Meetup/events/225283105/

Massachusetts

Felipe Hoffa on Massive Public Data Sets and Google BigQuery (Cambridge) - Tuesday, October 27
http://www.meetup.com/BigDataBoston/events/226218640/

FRANCE

Spark Meetup with Databricks and IBM (Paris) - Monday, October 26
http://www.meetup.com/Paris-Spark-Meetup/events/226170066/

#8 Big Data & Hadoop (Toulouse) - Wednesday, October 28
http://www.meetup.com/Tlse-Data-Science/events/226052891/

Apache Flink: A Simple and Practical Introduction! (Paris) - Thursday, October 29
http://www.meetup.com/Paris-Apache-Flink-Meetup/events/225577395/

BELGIUM

Spark after Dark with Chris Fregly & IBM (Brussels) - Friday, October 30
http://www.meetup.com/Spark-Belgium/events/224845854/

NETHERLANDS

Pre-Summit Event: Factorization Machines in Spark and TBA (Amsterdam) - Tuesday, October 27
http://www.meetup.com/Amsterdam-Spark/events/224202449/

All-Star Cassandra/Spark Night at ING (Amsterdam) - Wednesday, October 28
http://www.meetup.com/Netherlands-Cassandra-Users/events/226059093/

POLAND

Spark Introduction (Warsaw) - Wednesday, October 28
http://www.meetup.com/Poland-CodiLime-Tech-Talk/events/226054818/

AUSTRALIA

Apache Spark In-Memory Data Processing (Perth) - Wednesday, October 28
http://www.meetup.com/Big-Data-Perth/events/225941224/