Skip to main content
QUICK REVIEW

[Paper Review] Cascading map-side joins over HBase for scalable join processing

Martin Przyjaciel-Zablocki, Alexander Schätzle|arXiv (Cornell University)|Jun 27, 2012
Advanced Database Systems and QueriesComputer Science26 references16 citations
TL;DR

This paper proposes the Map-Side Index Nested Loop Join (MAPSIN join), a scalable join technique that leverages HBase's indexing capabilities and MapReduce's distributed processing to eliminate costly shuffle and reduce phases. By performing joins map-side using targeted HBase lookups, MAPSIN achieves up to a 10x performance improvement over traditional reduce-side joins on large RDF datasets, with no framework modifications required.

ABSTRACT

One of the major challenges in large-scale data processing with MapReduce is the smart computation of joins. Since Semantic Web datasets published in RDF have increased rapidly over the last few years, scalable join techniques become an important issue for SPARQL query processing as well. In this paper, we introduce the Map-Side Index Nested Loop Join (MAPSIN join) which combines scalable indexing capabilities of NoSQL storage systems like HBase, that suffer from an insufficient distributed processing layer, with MapReduce, which in turn does not provide appropriate storage structures for efficient large-scale join processing. While retaining the flexibility of commonly used reduce-side joins, we leverage the effectiveness of map-side joins without any changes to the underlying framework. We demonstrate the significant benefits of MAPSIN joins for the processing of SPARQL basic graph patterns on large RDF datasets by an evaluation with the LUBM and SP2Bench benchmarks. For most queries, MAPSIN join based query execution outperforms reduce-side join based execution by an order of magnitude.

Motivation & Objective

  • To address the performance bottleneck of reduce-side joins in MapReduce-based SPARQL engines for large-scale RDF data.
  • To enable efficient, cascading join processing without shuffle or reduce phases by leveraging HBase's indexing and storage capabilities.
  • To design a storage schema for RDF graphs in HBase that supports efficient, selective access for join operations.
  • To optimize multiway joins by reducing the number of MapReduce iterations and HBase requests.
  • To provide a framework-agnostic solution that runs out-of-the-box on any Hadoop cluster, including cloud environments like Amazon EC2.

Proposed method

  • Design a space-efficient, HBase-native storage schema for RDF graphs that preserves favorable access patterns and enables indexed lookups.
  • Implement the MAPSIN join algorithm as a purely map-side operation, using HBase to retrieve only relevant join partners without data shuffling.
  • Enable cascaded join processing across multiple MapReduce iterations by avoiding the need to reorder or sort output between steps.
  • Introduce a multiway join optimization that reduces the number of MapReduce iterations by $n$ for star-join queries with $n+2$ triple patterns.
  • Use HBase's row-key indexing to perform selective, low-overhead lookups during each map phase, minimizing network I/O and bandwidth usage.
  • Integrate the MAPSIN join into the PigSPARQL system, allowing dynamic selection of join strategy based on selectivity and runtime statistics.

Experimental results

Research questions

  • RQ1Can a map-side join technique be made scalable and composable for cascaded joins in a distributed RDF processing system?
  • RQ2How can NoSQL storage systems like HBase be effectively combined with MapReduce to eliminate expensive shuffle and reduce phases in join processing?
  • RQ3To what extent can HBase's indexing capabilities improve join performance compared to traditional HDFS-based MapReduce joins?
  • RQ4Can the number of MapReduce iterations be reduced for common SPARQL query patterns like star joins using a novel join algorithm?
  • RQ5Is it possible to achieve significant performance gains in SPARQL query processing without modifying the underlying Hadoop or HBase frameworks?

Key findings

  • MAPSIN join outperforms traditional reduce-side joins by up to an order of magnitude on the LUBM and SP 2 Bench benchmarks.
  • For most SPARQL queries, MAPSIN-based execution achieves a 10x performance improvement over reduce-side join execution in PigSPARQL.
  • The approach eliminates the need for data shuffling and reduce phases, significantly reducing network I/O and communication overhead.
  • The multiway join optimization reduces the number of MapReduce iterations by $n$ for star-join queries with $n+2$ triple patterns, improving efficiency.
  • The solution is fully compatible with existing Hadoop clusters and can be deployed directly on cloud platforms like Amazon EC2 without framework modifications.
  • The storage schema in HBase enables efficient, selective access to only the required data, minimizing bandwidth usage and improving scalability with input size.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.