arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1905.09034astro-ph.IMcs.DC
收藏

AXS:基于Apache Spark的快速天文数据处理框架

AXS: A framework for fast astronomical data processing based on Apache Spark

Petar Zečević, Colin T. Slater, Mario Jurić, Andrew J. Connolly, Sven Lončarić, Eric C. Bellm, V. Zach Golkhou, Krzysztof Suberlak

摘要:

我们介绍AXS(Astronomy eXtensions for Spark),这是一个基于Apache Spark的可扩展开源天文数据分析框架,Apache Spark是一个广泛使用的行业标准大数据处理引擎。基于Spark中的功能,AXS旨在使用熟悉的Python/AstroPy概念,DataFrame API和SQL语句查询和分析几乎任意大的天文目录。我们通过i)为Spark添加支持以实现高效的在线位置交叉匹配,ii)提供支持天文数据分析常用操作的Python库。为了支持可扩展的交叉匹配,我们开发了一种ZONES算法(Gray et al. 2004)的变体,能够在分布式、无共享架构中运行。我们将其与数据分区方案相结合,该方案可以实现快速目录交叉匹配,并处理深空数据集中经常出现的数据倾斜。交叉匹配和其他常用功能通过易于使用的Python API向最终用户公开。我们展示了AXS在SDSS、ZTF、Gaia DR 2和AllWise目录上的技术和科学性能。使用AXS,我们能够在大约30秒内对Gaia DR 2(18亿行)和AllWise(9亿行)数据集进行动态交叉匹配。我们将讨论像AXS这样的云就绪分布式系统如何提供一种自然的方式来实现对LSST等大型数据集的全面最终用户分析。

英文摘要:

We introduce AXS (Astronomy eXtensions for Spark), a scalable open-source astronomical data analysis framework built on Apache Spark, a widely used industry-standard engine for big data processing. Building on capabilities present in Spark, AXS aims to enable querying and analyzing almost arbitrarily large astronomical catalogs using familiar Python/AstroPy concepts, DataFrame APIs, and SQL statements. We achieve this by i) adding support to Spark for efficient on-line positional cross-matching and ii) supplying a Python library supporting commonly-used operations for astronomical data analysis. To support scalable cross-matching, we developed a variant of the ZONES algorithm (Gray et al. 2004) capable of operating in distributed, shared-nothing architecture. We couple this to a data partitioning scheme that enables fast catalog cross-matching and handles the data skew often present in deep all-sky data sets. The cross-match and other often-used functionalities are exposed to the end users through an easy-to-use Python API. We demonstrate AXS' technical and scientific performance on SDSS, ZTF, Gaia DR2, and AllWise catalogs. Using AXS we were able to perform on-the-fly cross-match of Gaia DR2 (1.8 billion rows) and AllWise (900 million rows) data sets in ~ 30 seconds. We discuss how cloud-ready distributed systems like AXS provide a natural way to enable comprehensive end-user analyses of large datasets such as LSST.

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

↑