Data Eng Weekly


Hadoop Weekly Issue #179

17 July 2016

Folks seem to be taking advantage of the summer lull to publish lots of technical articles. This week is full of great posts covering stream processing, Apache Spark performance, Google BigQuery, HBase debugging, and Storm benchmarking. There is also a recap of Hadoop Summit and news on several upcoming conferences (DataEngConf, Strata+Hadoop World, and Apache Big Data Europe).

Technical

Datanami has an article about Concord, a relative new stream processing system built in C++ and that runs on Mesos. The article mentions a recent benchmark (see second link; and always evaluate a system for your own use case), which shows impressive performance numbers.

http://www.datanami.com/2016/07/14/concord-claims-10x-performance-edge-spark-streaming/
http://concord.io/posts/windowing_performance_analysis_w_spark_streaming

On the topic of performance, this post has five tips for improving performance of Apache Spark jobs. Topics covered include caching and checkpointing RDDs, skewed keys, DataFrames, and Datasets.

http://www.lewisgavin.co.uk/Spark-Performance/

This post describes how to get started with Apache MiNiFi (although the post says the release is forthcoming, it has since been released), which is a new lightweight version of Apache NiFi that's meant for running close to the source of data.

https://pierrevillard.com/2016/07/09/apache-nifi-minifi-is-almost-out/

While there are plenty of open-source options for stream processing, many companies have built their own proprietary systems. Facebook has built several real-time systems—each with its own set of trade-offs. They've written about their systems, and more interestingly, have described design decisions for stream processing frameworks. The design decision section provides an interesting rubric for evaluating all stream processing systems (not just Facebook's).

https://blog.acolyer.org/2016/07/11/realtime-data-processing-at-facebook/

The latest Jepsen post evaluates VoltDB 6.3. VoltDB implements strict serializability (there's a good overview of what this means in the post), although the Jepsen testing finds bugs in version 6.3. The VoltDB team has already put out a new version with several fixes. As always, if you're interested in distributed systems, this Jepsen post is a great read.

https://aphyr.com/posts/331-jepsen-voltdb-6-3

The MapR blog has a tutorial that demonstrates using Apache Spark's implementation of Random Forests. It demonstrates classifying risk of bank loan applications using the spark.ml APIs (the machine learning library for DataFrames).

https://www.mapr.com/blog/predicting-loan-credit-risk-using-apache-spark-machine-learning-random-forests

Scaling an Apache Kafka Streams application is as easy as adding or removing servers. Although simple from an ops perspective, this post describes all that the framework is doing under the covers to preserve/replicate local state and rebalance across the new set of nodes.

http://www.confluent.io/blog/elastic-scaling-in-kafka-streams

Ravelin has a story about how their use of BigQuery. Use cases include distributed tracing, API logging (including headers and status codes), performance analysis, and ad-hoc investigations. The post also describes the types of use-cases that fit well with BigQuery ("map-reduce-esque" querying of immutable data with a schema) and what doesn't fit well (data with lots of updates/deletes, large order by statements).

https://syslog.ravelin.com/powering-real-time-fraud-detection-with-bigquery-4f85b999a4e9

Feedly has written about some recently debugging efforts to resolve a latency issue with their Apache HBase cluster. Feedly handles an impressive amount of traffic, and the post includes details about the infrastructure needed to power it (a 31-node HBase cluster with 240TB of storage). The post describes how they recognized, isolated, and resolved a networking-related performance issue.

https://blog.feedly.com/what-goes-down-better-come-up-a-k-a-adventures-in-hbase-diagnostics/

The Qubole blog describes three techniques for speeding up big data queries—sorted tables, narrow tables, and denormalized tables. The post then describes how the recently open-sourced Quark framework provides the mechanisms for managing some of these optimized structures (notably materialized views).

https://www.qubole.com/blog/product/optimize-queries-with-materialized-views-and-quark/

As a relative young project, Apache Spark is evolving at a fast pace. It seems like only a few months ago that the DataFrame API was the shiny new thing, and the upcoming Spark 2.0 will be adding another API—Datasets. This post describes these two APIs as well as Spark's original RDDs, the trade-offs of each, and when each is most appropriate.

https://databricks.com/blog/2016/07/14/a-tale-of-three-apache-spark-apis-rdds-dataframes-and-datasets.html

The Yahoo Hadoop tumblr has a post on Dynamic Overcommit—a new feature of Apache Hadoop YARN that improves utilization by assigning additional tasks to worker nodes even when a node's resources have been fully allocated. The article describes the core concepts of the implementation, efficiency gained in testing at Yahoo, and next steps for the feature.

http://yahoohadoop.tumblr.com/post/147399828686/moving-the-utilization-needle-with-hadoop

At the inaugural Kafka Hackathon, a team from SVDS built a system that streamed EEG data through Kafka to OpenTSDB (using Kafka Streams and Kafka Connect) for visualization by Grafana. The code is open-source, and this post describes how to compile and run the project.

http://www.svds.com/brain-monitoring-kafka-opentsdb-grafana/

The Hortonworks blog has a benchmark comparing performance of Apache Storm 0.9.0.1 to 1.0.1. There have been a number of changes between these releases (notably a switch from ZeroMQ to Netty for messaging), and the changes seem to have paid off both in terms of throughput (speedups of up to 30x) and latency (reduced by up to 242x).

http://hortonworks.com/blog/microbenchmarking-storm-1-0-performance/

News

In addition to videos, the Hadoop Summit website now has slides from all of the presentations.

http://hadoopsummit.org/san-jose/agenda/

This article has an overview of themes from the recent Hadoop Summit, including Hadoop and Beyond, scalability of HDFS and YARN, Hadoop in the cloud, SQL, and streaming. There summaries/links to talks from Twitter on multi-DC HDFS, Hortonworks on multi-tenancy, Expedia on fighting small files, Microsoft on YARN federation, and more.

http://zhe-thoughts.github.io/2016/07/11/Hadoop-Summit/

Qubole and WANdisco have created the Cloudera Migration Program to enable active data replication from on-premises clusters to Amazon S3. This enables both migrations and hybrid deployments.

https://www.qubole.com/blog/big-data/qubole-and-wandiigration-program-%e2%80%8e/

Forbes has an article about Ancestry.com's migration to Apache Kafka to enable real-time processing (and replace their batch system). The article also includes an interview with Confluent CTO Neha Narkhede about how Confluent is trying to solve the challenges of making data useful in large companies.

http://www.forbes.com/sites/bernardmarr/2016/07/13/big-data-at-ancestry-com-why-data-stewardship-and-open-source-matter-so-much/

DataEngConf NYC 2016 has been announced. The call for papers, which ends on August 15th, is now open.

https://www.hakkalabs.co/articles/call-papers-dataengconf-nyc-2016

The CFP for Apache Big Data Europe is also now open. The conference is November 14-16 in Sevill, Spain, and the CFP closes on September 9th.

http://events.linuxfoundation.org/events/apache-big-data-europe/program/cfp

The schedule for the upcoming Strata + Hadoop World, which takes place September 26-29 in New York, has been announced.

http://conferences.oreilly.com/strata/hadoop-big-data-ny/public/schedule/grid/public/2016-09-28

This post has a question and answer with committers to and users of Apache Beam (20 folks in total). Questions include "What's your favorite feature of Beam?" and "How would you recommend a new person get started with Beam?"

http://www.jesse-anderson.com/2016/07/question-and-answers-with-the-apache-beam-team/

The Hortonworks blog also has a summary of Hadoop Summit. Their post includes summaries of several keynotes.

http://hortonworks.com/blog/hadoop-summit-2016-growth-accelerates/

Releases

kafkastreams-cep is a new library that implements complex event processing via the Kafka Streams APIs. It's still a work in progress but has some working examples.

https://github.com/fhussonnois/kafkastreams-cep

Microsoft has announced the general availability of Azure SQL Data Warehouse, which is their "elastic, parallel, columnar data warehouse as a service." Built on SQL Server 2016, Azure SQL Data Warehouse offers advanced security and access control, elasticity across both data storage and compute, support for structured and unstructured data, and more.

https://blogs.technet.microsoft.com/dataplatforminsider/2016/07/12/the-elastic-future-of-data-warehousing/

Apache Atlas, the governance framework for the Hadoop ecosystem, version 0.7.0-incubating was released. The release resolves over 200 tickets.

http://mail-archives.us.apache.org/mod_mbox/www-announce/201607.mbox/%3CCAAbv78fuzCv51E4Pn8fg7nwkJyOUQo9z2WNhsiz2EstbTvj1Gw@mail.gmail.com%3E

Apache NiFi 0.7.0 was released. This release includes a number of new extensions (Slack, SNMP, MQTT, Lumberjack, DynamoDB, and more), stability fixes, and a new "NiFi in Depth" document.

http://mail-archives.us.apache.org/mod_mbox/www-announce/201607.mbox/%3CCACORodndThtmDbcK2XN4Na98b0Pf5=+LF-QCXrx1V1ZhtXLWLg@mail.gmail.com%3E

Events

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

UNITED STATES

California

The Flink–Apache Bigtop Integration (Palo Alto) - Tuesday, July 19
http://www.meetup.com/Bay-Area-Apache-Flink-Meetup/events/232580562/

Stream Computing: The Engineer’s Perspective (San Francisco) - Tuesday, July 19
http://www.meetup.com/SF-Big-Analytics/events/231317344/

#OCBigData Meetup #18 (Irvine) - Wednesday, July 20
http://www.meetup.com/OCBigData/events/229927329/

July Kafka Meetup (Foster City) - Thursday, July 21
http://www.meetup.com/http-kafka-apache-org/events/232288458/

Apache Spark Streaming with Apache NiFi and Apache Kafka (San Francisco) - Thursday, July 21
http://www.meetup.com/futureofdata-sanfrancisco/events/230910892/

Apache Kudu (Incubating): New Apache Hadoop Storage for Fast Analytics on Fast Data (Palo Alto) - Thursday, July 21
http://www.meetup.com/SVBigData/events/230427069/

Utah

Databricks Community Edition w/ Ilya Reznik (Lehi) - Thursday, July 21
http://www.meetup.com/BigDataUtah/events/231260601/

Texas

CDC to Hadoop & Migrating Analytics Stack from SAS (Dallas) - Thursday, July 21
http://www.meetup.com/Dallas-Big-Data-Science/events/232226080/

Missouri

Lunch with MapR: Apache Spark, with or without Hadoop! (Kansas City) - Wednesday, July 20
http://www.meetup.com/Kansas-City-Big-Data-Projects-Group/events/232110867/

Illinois

The Truth about Running SQL on Hadoop (Chicago) - Thursday, July 21
http://www.meetup.com/Open-Source-Analytics-Chicago-IL-Meetup/events/232306111/

Georgia

Feature Selection w/ Spark: Bridging the Gap Between Data Engineering & Science (Atlanta) - Wednesday, July 20
http://www.meetup.com/Atlanta-Hadoop-Users-Group/events/232229068/

New York

Scalable Machine Learning with H2O (New York) - Monday, July 18
http://www.meetup.com/NYC-Women-in-Machine-Learning-Data-Science/events/232097514/

Scala & Data! (New York) - Thursday, July 21
http://www.meetup.com/NYC-Data-Engineering/events/232140804/

Massachusetts

Graph Processing with Spark GraphX (Cambridge) - Thursday, July 21
http://www.meetup.com/Big-Data-Developers-in-Boston/events/232283795/

UNITED KINGDOM

Running Spark on Hive or Hive on Spark?! (London) - Wednesday, July 20
http://www.meetup.com/futureofdata-london/events/232423292/

Spark, Zeppelin and Cassandra (London) - Wednesday, July 20
http://www.meetup.com/Spark-London/events/232355493/

July HUGUK Meetup (London) - Thursday, July 21
http://www.meetup.com/hadoop-users-group-uk/events/232233112/

NETHERLANDS

Apache Airflow Introduction and Best Practices (Amsterdam) - Tuesday, July 19
http://www.meetup.com/Netherlands-Hadoop-User-Group/events/232545021/

GERMANY

Apache Apex: Stream Processing Architecture and Applications (Munich) - Tuesday, July 19
http://www.meetup.com/Hadoop-User-Group-Munich/events/230313355/

SQL on Hadoop and Spark (Nuremberg) - Thursday, July 21
http://www.meetup.com/Nuernberg-Big-Data/events/232474392/

ROMANIA

Analytics & Groovy Analytics with Spark (Bucharest) - Thursday, July 21
http://www.meetup.com/Bucharest-Big-Data-Meetup/events/231882681/

INDIA

Big Data Analytics and Beyond with Apache Spark (Bangalore) - Friday, July 22
http://www.meetup.com/Spark_big_data_analytics/events/231387696/

TAIWAN

"Stream Processing with Apache Flink" w/ Flink PMC Robert Metzger (Taipei) - Tuesday, July 19
http://www.meetup.com/flink-tw/events/231707894/