Data Eng Weekly


Hadoop Weekly Issue #36

22 September 2013

This week's newsletter contains a ton of new technical articles, covering everything from operations and deployment to data science on Hadoop to several projects from the ecosystem. It's one of the densest issues in the past several weeks -- I think the post-summer rush to Hadoop 2.x GA has started in ernest.

Technical

Ansible is a configuration management system that uses SSH (rather than installing remote agents) to configure a node-- a mechanism that's great for getting up and going quickly. The Hadoop Ansible Playbook configures Hadoop, HBase, Ganglia, Fluentd, ElasticSearch, and Kibana3. It's been tested on Ubuntu with Ansible 1.3, and it installs CDH 4.4.

https://github.com/analytically/hadoop-ansible

LinkedIn's real-time processing framework, Samza, was accepted into the Apache Incubator. The LinkedIn engineering blog caps the moment by explaining the history of Samza, how it was built to complement Apache Kafka, and how it integrates with Hadoop YARN. There are also a number of useful links to documentation, code, and mailing lists.

http://engineering.linkedin.com/data-streams/apache-samza-linkedins-real-time-stream-processing-framework

Hortonworks and Dell published a reference configuration for the Hortonworks Data Platform (HDP) on Dell hardware (specifically the PowerEdge R720XD for Data Nodes). They have recommendations for testing, small clusters (6 nodes), and production clusters (14+nodes). The configuration seems to be rather high-end -- datanodes have a 2U chassis, 12-cores at 2.9Ghz, 24 SAS drives, and dual-10GbE. I haven't heard of anyone using dual 10GbE (single is becoming more common, though) or SAS drives (SATA is typical) due to cost constraints.

http://hortonworks.com/blog/reference-configuration-for-hortonworks-data-platform-on-dell/

The Apache blog has a post on the Apache Sqoop architecture, focusing on the role of Connectors and Drivers in connecting to and talking with a database system. There article covers the architecture (and how it allows for database-specific optimizations) and includes a number of diagrams.

https://blogs.apache.org/sqoop/entry/connectors_and_drivers_in_the

Donald Miner, author of MapReduce Design Patterns, recently spoke at the NYC Data Science Meetup about "Hadoop for Data Science." The Mortar blog has a recap, video, and slides for the talk. The talk covers Pig, Mahout, NLP tools, Collaborative filtering, R and Hadoop, and much more.

http://blog.mortardata.com/post/61501767090/hadoop-for-data-science

The Stockholm Hadoop User Group recently hosted Michael Hausenblas from MapR to talk about Apache Drill and David Whiting from Spotify to talk about Hadoop processing tools (Cascading, Crunch, Pig, and Hive). Michael's talk focuses on the motivation for Apache Drill, the architecture, extensibility, and API. David's talk covers the main frameworks, their pluses and minuses, and provides some example code.

http://thewit.ch/shug/ https://speakerdeck.com/mhausenblas/hug-stockholm-apache-drill http://vimeo.com/wouterdebie/videos

The Hortonworks blog has an overview of HDFS snapshots. The post covers the features of snapshots (atomicity, flexibility, scalability), how to enable snapshots, how to take snapshots, and how to recover lost data from a snapshot. Snapshot data is kept in a special .snapshot directory, so recovery is just a matter of copying out of that special directory. HDP 1.3 and HDP 2.0 Beta include support for HDFS snapshots.

http://hortonworks.com/blog/protecting-your-enterprise-data-with-hdfs-snapshots/

Episode #16 of the All Things Hadoop podcast features a chat with Jay Kreps of the LinkedIn SNA (Search, Network, and Analytics) team. Jay is tech lead on the team that has built out a bunch of LinkedIn's data architecture, including Voldemort, Azkaban, Apache Kafka, and Apache (incubating) Samza. There's a recap of the conversation at the link below -- most of the podcast is devoted to Kafka and Samza. In particular, I found the comparison that Jay does between Samza and Storm to be interesting and informative.

http://allthingshadoop.com/2013/09/17/real-time-data-pipelines-and-analytics-with-apache-kafka-and-apache-samza/

While not specifically about Hadoop, this post by Jay Kreps about distributed system reliability is a good read for anyone working on parts of the Hadoop ecosystem (or other distributed systems). He talks about some of the misconceptions in reliability (in particular assumptions about independence when dealing with failure), as well as how important operations are to reliability. He also talks about the rise of *-as-a-service products in distributed systems (we've recently seen a number related to MapReduce), and why these are exciting -- particularly if you're just getting started.

http://blog.empathybox.com/post/19574936361/getting-real-about-distributed-system-reliability

Chris Stucchio's post about when not to use Hadoop has made the rounds this week. The post has a number of interesting points, particularly around what kinds of data are suitable for Hadoop (spoiler: most aren't). Chris says that the cutoff for using Hadoop is around 5TB -- which is probably reasonable but not a steadfast rule (e.g. if you need multi tenancy or you're doing compute-heavy workloads). He also gives a shout-out to Scalding in case you really have to use Hadoop.

http://www.chrisstucchio.com/blog/2013/hadoop_hatred.html

Apache Oozie supports EL (Expression Language) functions, which are somewhat akin to Hive or Pig UDFs. This post describes when to use EL functions (and when they're not appropriate), how to write them, and how to deploy them. The entire process is somewhat heavyweight (e.g. you have to restart the Oozie server to deploy the changes), but it allows you to implement logic that you couldn't otherwise in an Oozie definition.

http://blog.cloudera.com/blog/2013/09/how-to-write-an-el-function-in-apache-oozie/

Steve Loughran, co-creator of Hoya (a framework for running HBase on YARN), has written an article about coding and testing of Hoya. Hoya is getting support for Apache Accumulo, which requires some changes to make the project more generic. The post describes the necessary changes in-depth (and making comparisons between YARN and SmartFrog), some general information on YARN testing, and some notes on remote testing.

http://steveloughran.blogspot.co.uk/2013/09/hoya-coding-and-testing.html

The Hortonworks blog has a post on Apache Tez, the second in a series. Tez uses a directed acyclic graph to describe a data processing workflow. In the Tez API, vertices describe user logic and edges describe data flow. A number of properties influence the actual execution of the DAG (e.g. how data is moved, scheduled, and data sources). These are outline in the post.

http://hortonworks.com/blog/expressing-data-processing-in-apache-tez/

News

The New York Times has coverage on Apache Hadoop's trudge to a 2.x GA (planned for October). The article gives a high-level overview of the important changes in Hadoop 2.x, the history of the 2.x effort, and the history of Hadoop's early days. There's also some coverage of the Hadoop industry, from Hortonworks to MapR to Cloudera to IBM.

http://bits.blogs.nytimes.com/2013/09/17/improving-the-big-data-toolkit/

Qubole won the DataWeek award for innovation in Hadoop technologies. Qubole's Hadoop-as-a-Service platform runs on AWS using its own technology rather than Amazon's Elastic MapReduce. It has a GUI that supports Hive, Pig, Oozie, Sqoop, and more. The article notes that Qubole's customers processed over 2.5 PB of data in August.

http://www.prweb.com/releases/2013/9/prweb11139449.htm

WANdisco is trying to establish their brand/distribution as the best high-availability solution for HDFS via their "Non-Stop NameNode." They've announced that they've won an OEM agreement with Miaozhen Systems, a leading advertising company in China.

http://www.marketwired.com/press-release/leading-china-advertising-company-miaozhen-standardizes-on-wandisco-hadoop-big-data-lse-wand-1833075.htm

Spotify has grown their Hadoop cluster from 30 nodes to 690 nodes over the past 5 years. At 690 nodes, Spotify's cluster is consider Europe's largest, and they announced that they're turning to Hortonworks to help support it. Starting in October (presumably once Apache Hadoop 2.x is GA), they'll be starting a migration from Cloudera's distribution to Hortonworks'.

http://www.zdnet.com/spotify-changes-tune-on-hadoop-with-switch-to-hortonworks-7000020712/

Infoworld's Bossie (Best of Open Source Software) awards included a section for big data tools, and a number of projects from the Hadoop ecosystem were recognized. The recognized projects include: Apache Hadoop, Apache Sqoop, Talend, Apache Giraph, Apache Hama, Cloudera Impala, Serengeti, and Apache Drill. The number of Apache Software Foundation projects is pretty striking.

http://www.infoworld.com/slideshow/119424/bossie-awards-2013-the-best-open-source-big-data-tools-226730#slide1

Releases

Replephant is a new clojure library for analysis of JobTracker history. This post, which introduces the software, goes through some examples (e.g. finding distinct users, number of jobs per user), motivation, and an explanation of how it works. The post also shows how to use Incanter, an R clone written in Clojure, to visualize datasets generated by Replephant.

http://www.michael-noll.com/blog/2013/09/17/replephant-analyzing-hadoop-cluster-usage-with-clojure/

CDH 4.3.2 was released. It resolves HADOOP-9150, a potentially performance issue resulting from unnecessary DNS lookups.

http://community.cloudera.com/t5/Release-Announcements/Announcing-CDH-4-3-2/m-p/1583#U1583

Cloudera Manager 4.7.2 was released to fix an issue with parcels when there's a symlink in the parcel directory path.

https://groups.google.com/a/cloudera.org/d/msg/scm-users/1uONc1za0XE/9z_93I0u8c0J

Pentaho released version 5.0 of their Business Analytics Platform last week. The focus of this release seems to be that of "data blending" -- aka joining of data across disparate datasets (HDFS, NoSQL, etc) to build dashboards and integrate with BI tools. From what I can tell, they've built a SQL front-end to Pentaho that can translate SQL into on-demand ETL via database system-like views of the data.

http://www.cio.com/article/739600/Pentaho_Addresses_Data_Blending_with_Updated_Business_Analytics_Platform

Events

Curated by Mortar Data ( http://www.mortardata.com )

Monday, September 23

Processing 1.4 Trillion Events in Hadoop: A real-world use case with comScore (New York, NY)
http://www.meetup.com/Big-Data-Warehousing/events/131236912/

Tuesday, September 24

Meetup at Flurry in San Francisco (San Francisco)
http://www.meetup.com/Real-time-Big-Data/events/139221542/

Apache Lucene: Then and Now By Doug Cutting (Washington, DC)
http://www.meetup.com/Hadoop-DC/events/140608632/

Real time Query on Hadoop - Cloudera Impala (Hamilton Township, NJ)
http://www.meetup.com/nj-hadoop/events/138836592/

Wednesday, September 25

Ambari User Group Meetup (Palo Alto, CA)
http://www.meetup.com/Apache-Ambari-User-Group/events/134373312/

Hadoop Use Cases (Munich, DE)
http://www.meetup.com/Hadoop-User-Group-Munich/events/126742732/

Big Data Analytics for Video – Real time responses & ad hoc analytics. (San Francisco, CA)
http://www.meetup.com/BigDataCloud/events/127494492/

Continuous Deployment with Cassandra: Treating C* As First-Class Code (San Francisco, CA)
http://www.meetup.com/CassandraSF/events/133213722/

Summingbird, Scala and Storm (Sam Ritchie, Twitter) (Cambridge, MA)
http://www.meetup.com/Boston-Storm-Users/events/135630522/

Nuiku + Whitepages (Seattle, WA)
http://www.meetup.com/Seattle-Hadoop-HBase-NoSQL-Meetup/events/120290972/

Distributed Gradient Boosting Machine for Big Data (Mountain View, CA)
http://www.meetup.com/Silicon-Valley-Big-Data-Science/events/132460952/

Thursday September 26

How Google Does Big Data (Atlanta, GA)
http://www.meetup.com/Atlanta-Hadoop-Users-Group/events/132430072/

Hadoop at Spotify and Sanoma Media (Amsterdam, NL)
http://www.meetup.com/Netherlands-Hadoop-User-Group/events/136884952/

Solr + Hadoop = Big Data Search (New York, NY)
http://www.meetup.com/NYC-Search-and-Discovery/events/126234552/

HBase Meetup at Arista Networks in San Francisco (San Francisco, CA)
http://www.meetup.com/hbaseusergroup/events/135862292/

Why put SQL on Hadoop?? (New York, NY)
http://www.meetup.com/Hadoop-NYC/events/135765732/

Friday September 27

YARN with Apache Hadoop 2.x Beta & Applications on YARN (Mountain View, CA)
http://www.meetup.com/Hadoop-Contributors/events/140763822/

Saturday, September 28

Big Data Science Meetup Event (Fremont, CA)
http://www.meetup.com/Big-Data-Science/events/93658062/