arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2106.13020cs.DC
收藏

Apache Spark的零成本、支持箭头的数据接口

Zero-Cost, Arrow-Enabled Data Interface for Apache Spark

Sebastiaan Alvarez Rodriguez, Jayjeet Chakraborty, Aaron Chu, Ivo Jimenez, Jeff LeFevre, Carlos Maltzahn, Alexandru Uta

摘要:

分布式数据处理生态系统分布广泛,其组件高度专业化,因此迫切需要高效的互操作性。最近,Apache Arrow被社区选为格式中介者,提供高效的内存数据表示。Arrow可在数据处理和存储引擎之间实现高效的数据移动,显著提高互操作性和整体性能。在这项工作中,我们通过Arrow Dataset API在Apache Spark和基于Arrow的数据源之间设计了一个新的零成本数据互操作层。我们新颖的数据接口有助于分离计算(Spark)和数据(Arrow)层。这使从业者能够无缝地使用Spark访问所有Arrow Dataset API数据源和框架中的数据。为了让我们的社区受益,我们开源了我们的工作,并表明通过Apache Arrow消费数据是零成本的:我们新颖的数据接口要么与原生Spark不相上下,要么比原生Spark性能更高。

英文摘要:

Distributed data processing ecosystems are widespread and their components are highly specialized, such that efficient interoperability is urgent. Recently, Apache Arrow was chosen by the community to serve as a format mediator, providing efficient in-memory data representation. Arrow enables efficient data movement between data processing and storage engines, significantly improving interoperability and overall performance. In this work, we design a new zero-cost data interoperability layer between Apache Spark and Arrow-based data sources through the Arrow Dataset API. Our novel data interface helps separate the computation (Spark) and data (Arrow) layers. This enables practitioners to seamlessly use Spark to access data from all Arrow Dataset API-enabled data sources and frameworks. To benefit our community, we open-source our work and show that consuming data through Apache Arrow is zero-cost: our novel data interface is either on-par or more performant than native Spark.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑