Data Eng Weekly


Hadoop Weekly Issue #219

04 June 2017

Lots of great technical posts this week, including several on using Amazon S3 cloud storage and building data systems with Apache Kafka. There's also a post on the Luigi workflow engine, writing Cucumber tests for Spark, and several news/release posts.

Technical

The Pivotal blog has a tutorial (with sample code) for building a machine learning pipeline using the Luigi workflow engine. The main functionality in the example is Apache MADlib (incubating), which is executed via PL/pgSQL from the Luigi tasks.

http://engineering.pivotal.io/post/luigi-data-science/

This post describes how to use Apache Apex to write data from Apache Kafka to Apache Kudu. In addition to the basics, the post covers how to implement exactly once semantics, how to handle partial (single column) updates, and some of the operational metrics that are captured as part of the process.

http://www.atrato.io/blog/2017/05/28/apex-kudu-output/

The Databricks blog has two posts on cloud storage. In the first, they describe a number of advantages of using Amazon S3 over HDFS when in AWS—including 5x cost savings and higher availability and durability. The second post is on transactional writes to Amazon S3, the absence of which has often been a drawback. While other cloud services got this functionality previously (e.g. Amazon EMR introduced EMR-FS in 2014), Databricks is getting a new feature to improve on the support available in vanilla Hadoop's S3 implementation.

https://databricks.com/blog/2017/05/31/top-5-reasons-for-choosing-s3-over-hdfs.html
https://databricks.com/blog/2017/05/31/transactional-writes-cloud-storage.html

The MapR blog has an in-depth overview of performance tuning on a real-life application that involves Apache Kafka, Spark Streaming, and Apache Ignite (for caching of RDDs). Improvements include increasing the number of Kafka partitions, fixing an RPC timeout setting, tuning memory of both Spark and Ignite, and modifying the batch interval.

https://mapr.com/blog/performance-tuning-kafka-spark-streaming-telecom/

This post makes the case that "Apache Kafka is more disruptive than merely being faster ETL." It highlights several advantages that Kafka brings, including integration between streaming/applications/databases, distributing ETL (rather than a centralized monolith), and scale & reliability.

https://www.confluent.io/blog/build-services-backbone-events/

Datanami has a post describing Pandora's Kafka deployment, which uses Kafka Connect to write Apache Parquet files to a Hadoop cluster. The are making use of the Kafka Schema Registry, and they've written a custom Gradle plugin for migrations. As the post highlights, they've had a positive overall experience despite some issues (e.g. when HDFS is unavailable, the HDFS Sink Connector can corrupt its WAL).

https://www.datanami.com/2017/05/31/pandora-uses-kafka/

As a nice follow up to the Databricks posts on S3 vs. HDFS, this post describes some of the main features and options of S3DistCP for copying data from HDFS to S3. Based on Hadoop's DistCP, S3DistCP is optimized for S3 and offers features like changing file compression.

https://aws.amazon.com/blogs/big-data/seven-tips-for-using-s3distcp-on-amazon-emr-to-move-data-efficiently-between-hdfs-and-amazon-s3/

This post provides an overview of how to use Apache Spark with Cucumber for automated testing.

https://databricks.com/blog/2017/06/02/integrating-apache-spark-cucumber-behavioral-driven-development.html

News

The Confluent Log Compaction post includes a preview of what to expect in Kafka 0.11.0.0. New features include exactly-once semantics, a new admin API, and improvements to Kafka Connect and operations.

https://www.confluent.io/blog/log-compaction-highlights-in-the-apache-kafka-and-stream-processing-community-may-2017/

Apache SystemML, which is a machine learning library that's built for scaling out on Apache Spark and Apache Hadoop, has become a top-level project. The press release includes an overview and quotes from some companies that are using it.

https://blogs.apache.org/foundation/entry/the-apache-software-foundation-announces13

Spark Summit is this week in San Francisco. This post has a preview of several of the keynotes and community talks as well as a promo code for a last minute registration.

https://databricks.com/blog/2017/06/01/almost-time-spark-summit-2017-san-francisco.html

In just over a week (June 13-15), the DataWorks Summit/Hadoop Summit takes place in San Jose. This press release has a brief overview of what to expect.

https://hortonworks.com/press-releases/dataworks-summit-2017/

Apache Hadoop CVE-2017-7669 is a privilege escalation in the docker feature that was added to Apache Hadoop 2.8.0 (and other alpha releases). There isn't yet a fix for the 2.8.x line, so mitigation is to disable Docker support.

https://lists.apache.org/thread.html/564ab65658141afa19c8d9a04417dd5249476c52c07495f0d7157e7c@%3Cgeneral.hadoop.apache.org%3E

The team at StreamSets has raised $20 million for product development and expansion in Europe.

https://venturebeat.com/2017/05/31/streamsets-raises-20-million-to-help-companies-manage-big-data/

Releases

Apache Avro 1.8.2 was released. It is a bug fix release (across Java, C++, Py3, and ruby), and there are also a small number of improvements.

https://lists.apache.org/thread.html/cc8d2f83dcb9a1a2c952b08777a1d6a92ad40d3ec53329dbe0f161ce@%3Cuser.avro.apache.org%3E

Apache Flink 1.3.0 was released with several major areas of improvement. Specifically, there are improvements to recovery (and state handling), the DataStream API, the Table API (SQL), and deployment and tooling (including watermark monitoring the web front-end). More details about the new features can be found at the release announcement.

https://flink.apache.org/news/2017/06/01/release-1.3.0.html

Events

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

California

Pre-Spark Summit Bay Area Apache Spark Meetup (San Francisco) - Monday, June 5
https://www.meetup.com/spark-users/events/239467755/

Meet the SMACK Stack Experts AMA Meetup (San Francisco) - Monday, June 5
https://www.meetup.com/Bay-Area-Mesos-User-Group/events/240212186/

Spark in Adtech (San Francisco) - Tuesday, June 6
https://www.meetup.com/SF-Spark-and-Friends/events/239736345/

Women in Big Data Luncheon at Spark Summit West (San Francisco) - Wednesday, June 7
https://www.meetup.com/Women-in-Big-Data-Meetup/events/240431668/

Integrated Dataflow Processing with Spark and StreamSets (San Francisco) - Wednesday, June 7
https://www.meetup.com/hadoopsf/events/239675820/

Dr. Elephant Meetup: Spark Summit Edition (San Francisco) - Wednesday, June 7
https://www.meetup.com/Dr-Elephant-Meetup/events/239650328/

Just Enough Scala for Spark (San Francisco) - Thursday, June 8
https://www.meetup.com/SF-Spark-and-Friends/events/240078598/

Apache Spark: Cool Magic and ML Futures (San Francisco) - Thursday, June 8
https://www.meetup.com/BigDataDevelopers/events/240119549/

Illinois

Slim Baltagi Presents: Kafka Streams for Java Enthusiasts (Chicago) - Thursday, June 8
https://www.meetup.com/ChicagoJUG/events/239267304/

North Carolina

Real-Time Data Processing with NiFi and Kafka (Raleigh) - Thursday, June 8
https://www.meetup.com/futureofdata-triangle/events/240293479/

FRANCE

Data Science, Spark With RapidMiner and Serverless (Paris) - Thursday, June 8
https://www.meetup.com/futureofdata-paris/events/240317067/

Stream Processing with Apache Flink (Talence) - Thursday, June 8
https://www.meetup.com/BordeauxJUG/events/240460871/

NETHERLANDS

June Kafka Meetup (Utrecht) - Thursday, June 8
https://www.meetup.com/Kafka-Meetup-Utrecht/events/239689519/

GERMANY

Spark/Flink, Emma, and Kafka Meetup (Berlin) - Wednesday, June 7
https://www.meetup.com/Big-Data-Beers/events/239676283/

POLAND

KrkDataLink#2: Guerilla Streaming Data Platform (Krakow) - Wednesday, June 7
https://www.meetup.com/KrkDataLink/events/239475172/

ROMANIA

Big Data Talks and Drinks (Bucharest) - Wednesday, June 7
https://www.meetup.com/Bucharest-Big-Data-Meetup/events/240051012/

If you didn't receive this email directly, and you'd like to subscribe to weekly emails please visit https://hadoopweekly.com