Data Eng Weekly


Hadoop Weekly Issue #130

19 July 2015

This week's newsletter has several articles that cover the broad topic of distributed systems—not directly Hadoop but certainly good background. Articles on Spark, Kafka, Pig, and Hadoop security round out the technical articles, and there are quite a few releases. These include Spark, Atlas, and Druid. Finally, be sure to see the details below to enter a raffle for a free ticket to Hadoop World in NYC—submissions are accepted through end of day July 22nd.

Technical

Automated testing of distributed systems is starting to get some attention as the industry realizes that our current tools and tests aren't sufficient. This post looks at this problem and discusses three scenarios for testing—end-to-end, asynchronous data delivery, and node failure.

http://queue.acm.org/detail.cfm?id=2800697

For testing the node failure scenario, the Eventuate chaos testing utilities look interesting. The introductory post describes using boot2docker (on Mac OS X) and docker to run several Cassandra nodes. After setting up custom routes on the host, a client can be tested as the tool randomly stops and starts containers, which simulates node failure in a distributed system.

http://rbmhtechnology.github.io/chaos-testing-with-docker-and-cassandra/

To continue on the distributed systems theme, this post (and the response) contain a discussion of the CAP theorem. The article recaps some key conversations about the CA category, describes CA, discusses the overlap between CP and CA, and discusses some practical considerations related to network partitions.

http://blog.thislongrun.com/2015/07/Forfeit-Partition-Tolerance-Distributed-System-CAP-Theorem.html?m=1
https://aphyr.com/posts/325-comments-on-you-do-it-too

The Altiscale blog has a post with some tips for working with Spark. The post covers verifying Spark job configuration, configuring log levels, and where to find logs for Spark jobs.

https://www.altiscale.com/hadoop-blog/tips-and-tricks-for-running-spark-on-hadoop-part-2/

This post accompanies slides from a recent presentation on the various mechanisms for deploying Spark. It covers the commonalities independent of deployment mechanism and the major deployment options—standalone mode, YARN, Mesos, DataStax Enterprise, and Spark in the cloud. The post also intros/plugs the Spark Job Server, which is a REST api for managing Spark jobs.

http://velvia.github.io/Configuring-Deploying-Spark/

ComputerWorld has coverage on a recent research project at MIT on building a FPGA and Flash-based server network to offer an alternative to distributed applications that require all data in RAM. They've shown that their setup can store/process the same amount of data as an all-memory cluster for much cheaper.

http://www.computerworld.com/article/2947614/cloud-storage/mit-proves-flash-is-as-fast-as-ram-and-cheaper-for-big-data.html

The Databricks blog has a post on Spark 1.4's new support for window functions in SparkSQL and the DataFrames API. The article describes the basics of window functions, gives several examples, and enumerates all the supported functionality.

https://databricks.com/blog/2015/07/15/introducing-window-functions-in-spark-sql.html

The Hortonworks blog has a post describing another one of Spark 1.4's new features—support for Apache ORC. The integration includes support for ORCs column pruning, predicate push-down, and partition pruning. The introductory post describes these features and gives examples of using ORC via scala and java.

http://hortonworks.com/blog/bringing-orc-support-into-apache-spark/

Apache Mesos is a system for managing resources across a fleet of servers in a data center (with some similarities to YARN). A post on the Confluent blog describes the Kafka integration with Mesos, including some of the special considerations for running a stateful service inside of Mesos. Details include the Kafka mesos scheduler and executer, a tutorial for using the integration, and the admin REST API for the Kafka Mesos framework.

http://www.confluent.io/blog/making-apache-kafka-elastic-with-apache-mesos

This post discusses several considerations for tuning MapReduce jobs. it focuses on the various configuration options for Pig, but the diagnostic steps and suggestions are generally applicable to several frameworks.

http://blog.cloudera.com/blog/2015/07/how-to-tune-mapreduce-parallelism-in-apache-pig-jobs/

Apache Hadoop committer Steve Loughran has a review of the new Hadoop Security book. It concludes that "If you are trying to secure a Hadoop cluster, invest in a copy." Steve notes, though, that the book doesn't cover Hadoop and Kerberos for developers. To help fill that gap, he's started a new gitbook ebook "Kerberos and Hadoop: The Madness beyond the Gate."

http://steveloughran.blogspot.co.uk/2015/07/book-review-hadoop-security-and.html

Promo

O'Reilly is offering readers of Hadoop Weekly a 20% discount on any pass to the upcoming Strata + Hadoop World with discount code HADOOPW. The conference takes place September 29 - October 1st in New York. See the link below for the agenda and speaker lineup.

http://strataconf.com/big-data-conference-ny-2015/public/schedule/presentations?cmp=mp-data-confreg-info-stny15_hadoopweekly_schedule_pc

In addition, Hadoop Weekly subscribers can enter a raffle for a free Bronze pass to Strata+Hadoop World. This pass gives access to all sessions, all keynotes, and more. To enter, visit the link below by July 22nd and provide your email address.

https://docs.google.com/forms/d/1uO9T2Q4nX3NJQD7K9MFBzenItQIhqYZfZEIQSvwnCb8/viewform

News

Cloudera has posted a list of upcoming milestones for Impala. The article lists features added in recent releases (2.0, 2.1, and 2.2), and the features planned for 2015 and 2016. Among the highlights, Impala will gain support for nested types and EMC Isilon in the near term, and the team is predicting >20x performance gains due to some updates planned for 2016.

http://blog.cloudera.com/blog/2015/07/whats-next-for-impala-more-reliability-usability-and-performance-at-even-greater-scale/

MapR has announced that their bookings and billings grew 100% in Q2 2015 year over year. They're also touting multiple customers with $1 million+ in bookings.

https://www.mapr.com/company/press-releases/mapr-reports-record-bookings-q2-2015

At Strata + Hadoop World NYC, O'Reilly Media and Cloudera are introducing a new Developer Showcase for new open source projects. Applications are being accepted through August 14th.

http://blog.cloudera.com/blog/2015/07/call-for-demos-developer-showcase-at-strata-hadoop-world-nyc-2015/

Apache NiFi, which provides a UI for building dataflows for data routing and transformation, has graduated from the Apache incubator.

http://mail-archives.apache.org/mod_mbox/nifi-users/201507.mbox/%3CCALJK9a6c0mObVwXuBpYpXJ6%2B0sBC5QXJ9%2B-2%2BQAVscAjAGOzDQ%40mail.gmail.com%3E

ZDNet has an update on some news related to Apache Software Foundation projects. Specifically, this week there were new releases of Apache Atlas and Apache Parquet, and the Apache Whirr was retired to the ASF attic.

http://www.zdnet.com/article/apache-atlas-parquet-progress-whirr-retired/

Crunch pegs itself as the "Practical Big Data Conference." It takes place in Budapest on October 29-30th and speakers include folks from Cloudera, Pinterest, SurveyMonkey, and Spotify. The lineup looks great, and it's one of the more reasonably priced big data conferences.

http://crunchconf.com/

Releases

Apache Atlas (incubating), which provides data governance for Hadoop, released version 0.5.0-incubating. The release adds a project website and the ability to parameterize schema API queries.

http://mail-archives.us.apache.org/mod_mbox/www-announce/201507.mbox/%3CCAFfn_RqndTy3B7331v1EgCT=ybDCrS5DDgZM3LBSp4HA2M0WkQ@mail.gmail.com%3E

On the heels of SparkR, which was released as part of Spark 1.4, Databricks has added support for R notebooks to its hosted Spark offering. The integration supports installation of custom R libraries and ggplot2 for visualizations.

https://databricks.com/blog/2015/07/13/introducing-r-notebooks-in-databricks.html

Cloudera Enterprise 5.2.6 was released with fixes to YARN, HDFS, and Cloudera Manager.

http://community.cloudera.com/t5/Release-Announcements/Announcing-Cloudera-Enterprise-5-2-6-CDH-5-2-6-Cloudera-Manager/m-p/29614

Amazon Redshift has added support for loading data stored as Apache Avro files.

https://aws.amazon.com/about-aws/whats-new/2015/07/amazon-redshift-now-supports-avro-ingestion/

Qubole has open-sourced a Hive JDBC storage handler, which provides the ability to back a Hive table by a JDBC data source. The introductory blog post describes how the handler implements predicate pushdown, describes how it splits the input, and provides an example hive table declaration.

http://www.qubole.com/blog/product/hive-jdbc-storage-handler/

Druid, the columnar distributed data store, version 0.8.0 was released. The new release includes new compression support, new aggregators, various improvements and bug fixes, and more. The release notes include upgrade instructions.

https://github.com/druid-io/druid/releases/tag/druid-0.8.0

Apache Spark 1.4.1 was released this week. It includes a large number of stability fixes in areas such as the DataFrames and Data Sources APIs, MLLib, PySpark, and SparkR.

http://spark.apache.org/releases/spark-release-1-4-1.html

Qubole, makers of a Hadoop/Spark/Hive/Presto as a Service platform for Amazon Web Services, have open-sourced a connector for Presto and Amazon Kinesis (which is managed service, in some ways similar to Kafka, for streaming data sets). A post on the AWS big data blog describes the integration and gives a walkthrough for trying it out.

http://blogs.aws.amazon.com/bigdata/post/Tx2DDFNHXSAAH2G/Presto-Amazon-Kinesis-Connector-for-Interactively-Querying-Streaming-Data

Apache Parquet MR 1.8.0 was released this week. It fixes some important bugs (including one that could lead to corruption), and it includes some backwards incompatible changes to the APIs.

http://mail-archives.us.apache.org/mod_mbox/www-announce/201507.mbox/%3C55A6D2E6.3050300@apache.org%3E

Apache Lens 2.2.0-beta-incubating was released. Lens provides a unified system for doing data analytics across many data sources including Hadoop. The new release includes bug fixes, improvements, integration with Apache Zeppelin, CLI improvements, and more.

http://mail-archives.us.apache.org/mod_mbox/www-announce/201507.mbox/%3CCABJEuZfP8s3ckQvPsob=YEGbqNCezs5TBbr6U189RM8Xm0Nh7w@mail.gmail.com%3E

In other Apache NiFi news, version 0.2.0-incubating was released this week. This version includes a number of bug fixes and improvements, including a NiFi Storm Spout, MongoDB processors, and a database connection polling controller service.

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

Events

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

UNITED STATES

California

Jay Kreps: Apache Kafka and the Rise of the Stream Data Platform (Newark) - Monday, July 20
http://www.meetup.com/East-Bay-Big-Data-and-Data-Science-Meetup/events/223797948/

Building Machine Learning Applications with Sparkling Water (Mountain View) - Tuesday, July 21
http://www.meetup.com/H2Omeetup/events/223611216/

July Samza Meetup (Mountain View) - Tuesday, July 21
http://www.meetup.com/Bay-Area-Samza-Meetup/events/223768847/

A New Way to Run Cassandra (San Francisco) - Wednesday, July 22
http://www.meetup.com/CassandraSF/events/220664344/

Fluentd, Docker and All That: Logging Infrastructure 2015 Edition (Redwood City) - Thursday, July 23
http://www.meetup.com/SV-Data-Engineering/events/222895043/

Washington

11 Almost-Truisms about Data, with Paco Nathan (Seattle) - Friday, July 24
http://www.meetup.com/Seattle-Data-Science/events/223445403/

Colorado

Scaling Spark Workloads on YARN (Denver) - Wednesday, July 22
http://www.meetup.com/Boulder-Denver-Big-Data/events/223631590/

New York

Lifting the Hood on Spark Streaming (New York) - Thursday, July 23
http://www.meetup.com/New-York-City-Storm-User-Group/events/223751602/

UNITED KINGDOM

Apache Spark, Spark + Cassandra, Cassandra 2.2/3.0 (London) - Wednesday, July 22
http://www.meetup.com/Cassandra-London/events/223887250/

ITALY

Machine Learning in Scala with Spark (Milan) - Thursday, July 23
http://www.meetup.com/milano-scala-group/events/223515097/

ISRAEL

Yarn vs Mesos Deathmatch & Scalding over Hadoop (Tel Aviv-Yafo) - Thursday, July 23
http://www.meetup.com/Big-things-are-happening-here/events/223012442/