Hadoop Weekly


Hadoop Weekly Issue #242

03 December 2017

Lots of great articles this week—after skipping last week it's a double issue. A bunch of content on Kafka (both technical posts and a few releases from Confluent), and posts about several different cloud services from AWS, Databricks, Google, and more. MapR 6.0 was announced, and Impala has graduated from the Apache incubator.

Technical

This post describes Apache Kafka's transactions in detail—it shows the API (both producer and consumer), details the transaction coordinator, and the data flow of a transaction. It's a good overview of the design as well as how to use them (and what the tradeoffs are) in practice.

https://www.confluent.io/blog/transactions-apache-kafka/

Spotify uses Google PubSub as part of their Event Delivery System. This post describes how they scale consumers, which are deployed via Docker and write data to Google Cloud Storage. There are some interesting work-arounds for Docker bugs and how they interact with Puppet/Google Cloud autoscaling.

https://labs.spotify.com/2017/11/20/autoscaling-pub-sub-consumers/

This post provides a brief overview of Google Cloud Dataprep, which is currently in open beta. Dataprep is an ETL-as-a-Service tool with BigQuery integration.

https://medium.com/mark-rittman/google-cloud-dataprep-spreadsheet-style-data-wrangling-powered-by-google-cloud-dataflow-a48c405d81c

A good overview of the evolution of data processing frameworks in the past few years, this post looks at the older (e.g. Storm and Samza) as well as newer (e.g. Beam, Spark, and Flink) stream processing frameworks.

https://lethain.com/from-lambda-to-kappa-dataflow-paradigms/

The Apache Flink blog has a look at what's ahead in release 1.4 and 1.5, including a new deployment model, improved latency via a reworked network stack, and faster recovery from failures via incremental snapshots.

http://flink.apache.org/news/2017/11/22/release-1.4-and-1.5-timeline.html

Qubole has written about a prototype that they've built for running Apache Spark via AWS Lambda. With it, they scan 1TB of data for about $1.18 and can sort 100 GB of data using about $7.50. Lambda doesn't allow functions to directly communicate with one another, so the Qubole team has written a custom scheduler and state store (described in more detail in the post) for Spark 2.1.0. The code is on github, and there's a roadmap of future work.

https://www.qubole.com/blog/spark-on-aws-lambda/

The Databricks blog has a recap, with slides and video, from the Women in Big Data Meetup. There are talks on stereotypes in CS, Spark performance (including future work to get better insights into bottlenecks), and using Spark to build a Deep Learning pipeline.

https://databricks.com/blog/2017/11/27/women-in-big-data-apache-spark-and-ai-bay-area-spark-meetup-at-databricks-summary.html

RubiX is a caching file system atop of Amazon S3, which offers performance improvements by caching metadata about block locations and other object store details. This post walks through how to use it (source code on github) with Presto, Hive, and Spark.

https://www.qubole.com/blog/caching-emr-using-rubix-performance-benchmark-benefits/

The AWS blog has a post from NUVIAD about their big data infrastructure for an online ad systems. The full post has a lot of interesting details, but some highlights include that Redshift Spectrum with data in Parquet format is sometimes faster than traditional Redshift, its quite simple to use AWS Lambda and AWS Glue to convert data from CSV to Parquet, and it's important to sort data within a Parquet file by a commonly used key.

https://aws.amazon.com/blogs/big-data/using-amazon-redshift-spectrum-amazon-athena-and-aws-glue-with-node-js-in-production/

This post describes how to run Twitter Heron on Google Cloud Platform with Kubernetes.

https://streaml.io/blog/heron-on-gke-power-by-kubernetes/

This post argues that the CQRS and Event Sourcing models are in many ways similar to functional program (with immutable data, side-effect free functions). This post makes the comparison of this model vs. the traditional model (which is referred to here as object-oriented) by walking through the way data flows, failure scenarios, latency, and more.

https://www.confluent.io/blog/toward-functional-programming-analogy-microservices/

Streamlio has an overview of Apache Pulsar (incubating) that highlights how it compares to Apache Kafka. There's a table at the end to summarize the extra features in Pulsar.

https://streaml.io/blog/pulsar-streaming-queuing/

News

The Data Engineering Podcast has an interview with Doug Cutting (creator of Hadoop and Avro) and Julien Le Dem (creator of Parquet). The interview covers data serialization formats, including the development effort, trade-offs of formats, and the future of this area.

https://www.dataengineeringpodcast.com/data-serialization-with-doug-cutting-and-julien-le-dem-episode-8/

Apache Impala has graduated to a top-level project. It had spent just short of 2 years in the Apache Incubator after originally being developed as an open-source project at Cloudera.

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

Releases

MapR 6.0 was announced with new encryption/security features, a new change data capture framework, an improved MapR Control System (their management software), and more.

http://www.zdnet.com/article/mapr-6-0-converges-control-of-data-at-rest-and-in-motion-on-the-same-pane-of-glass/

Apache Bigtop 1.2.1 was released—it includes a Docker provisioner, is built on JDK8 and has upgrades of several ecosystem projects.

https://blogs.apache.org/bigtop/entry/release-of-apache-bigtop-11

Apache ZooKeeper 3.4.11 includes a number of bug fixes and improvements.

https://lists.apache.org/thread.html/15246e418129eab4707c95d772df7b48f342cd4da5eb5c908a19d74e@%3Cannounce.apache.org%3E

Confluent has made a number of announcements over the past two weeks. The biggest ticket items are the general availability of their hosted Kafka solution, Confluent Cloud, and version 4.0 of the Confluent Platform. In addition, an update to the KSQL developer preview is also out. Confluent Cloud provides a 99.95% uptime SLA, and Confluent Platform 4.0 is based on Apache Kafka 1.0 and has updates to the Confluent Control Center.

https://www.confluent.io/blog/november-update-ksql-developer-preview-available/
https://www.confluent.io/blog/confluent-cloud-enterprise-ready-hosted-apache-kafka/
https://www.confluent.io/blog/introducing-confluent-platform-4-0/

Version 4.5.1 of Apache BooKeeper was released this week. It resolves a number of critical bugs.

https://lists.apache.org/thread.html/296f461c7c61b281ce9fdfaad227e053125396cc789ae5306d391247@%3Cannounce.apache.org%3E

StreamSets has announced version 3.0 of their StreamSets Data Collector (SDC) and a new Data Collector Edge, which is a go-binary that's lightweight. The new version of their SDC has a number of new features, including related to AWS and Google Cloud, MapR, Kafka, Oracle CDC, and more.

https://streamsets.com/blog/announcing-streamsets-data-collector-edge/
https://streamsets.com/blog/announcing-streamsets-data-collector-version-3-0/

Version 1.0.0 of Burrow, the monitoring tool for Apache Kafka, has been released. Since originally announced a bit earlier, there are a number of new features and bug fixes.

https://github.com/linkedin/Burrow/releases/tag/v1.0.0

Events

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

UNITED STATES

California

Stream Processing with Apache Kafka & Apache Samza (Sunnyvale) - Monday, December 4
https://www.meetup.com/Stream-Processing-Meetup-LinkedIn/events/244889719/

Vespa Meetup (Sunnyvale) - Monday, December 4
https://www.meetup.com/hadoop/events/245544709/

Airflow Meetup @ Airbnb (San Francisco) - Monday, December 4
https://www.meetup.com/Bay-Area-Apache-Airflow-Incubating-Meetup/events/244525050/

Building an In-House Elastic Hadoop/Spark Service on Multi-Cloud Environments (San Francisco) - Tuesday, December 5
https://www.meetup.com/SF-Big-Analytics/events/245017447/

Kickoff Meeting: Data Engineering Meetup (San Diego) - Wednesday, December 6
https://www.meetup.com/Data-Engineering-San-Diego/events/244760768/

Big Data Processing at Spotify: The Road to Scio (Santa Clara) - Wednesday, December 6
https://www.meetup.com/futureofdata-siliconvalley/events/245322891/

Texas

Cloudera User Group Featuring Ascension Health and StreamSets (Austin) - Wednesday, December 6
https://www.meetup.com/Austin-Cloudera-User-Group/events/245006886/

Minnesota

The Founder of Kafka on the Rise of the Streaming Platform (Minneapolis) - Monday, December 4
https://www.meetup.com/Skyway-Software-Symposium/events/243364042/

Wisconsin

Get an Update on HDF 3.0 (Madison) - Tuesday, December 5
https://www.meetup.com/BigDataMadison/events/234268619/

IRELAND Apache Spark Fundamentals (Dublin) - Saturday, December 9
https://www.meetup.com/Data-Science-and-Engineering-Club/events/245237402/

UNITED KINGDOM

Apache Kafka: Real-Time Scalable Data Pipelines, by Dan Cook (Bristol) - Monday, December 4
https://www.meetup.com/Data-Engineering-Bristol/events/244140937/

An Evening of Apache Kafka (Manchester) - Wednesday, December 6
https://www.meetup.com/HadoopManchester/events/245437338/

NORWAY

Getting to Know Apache Kafka (Oslo) - Tuesday, December 5
https://www.meetup.com/Data-Engineering-Oslo/events/245256585/

NETHERLANDS

Sports Results and Music Videos, Powered by Apache Kafka (Amsterdam) - Thursday, December 7
https://www.meetup.com/Amsterdam-Kafka-Meetup/events/245463273/

GERMANY

Our First Kafka Meetup! (Hamburg) - Monday, December 4
https://www.meetup.com/Hamburg-Kafka/events/245338636/

INDIA

Hadoop Meetup @ Microsoft (Bangalore) - Friday, December 8
https://www.meetup.com/Bangalore-Hadoop-Meetups/events/245123037/

Deep Dive into Spark Tuning (Bangalore) - Saturday, December 9
https://www.meetup.com/Bangalore-Apache-Spark-Meetup/events/245181798/