Recent improvements in both the performance and scalability of shared-nothing, transactional, in-memory NewSQL databases have reopened the research question of whether distributed metadata for hierarchical file systems can be managed using commodity databases. In this paper, we introduce HopsFS, a next generation distribution of the Hadoop Distributed File System (HDFS) that replaces HDFS' single node in-memory metadata service, with a distributed metadata service built on a NewSQL database. By removing the metadata bottleneck, HopsFS enables an order of magnitude larger and higher throughput clusters compared to HDFS. Metadata capacity has been increased to at least 37 times HDFS' capacity, and in experiments based on a workload trace from Spotify, we show that HopsFS supports 16 to 37 times the throughput of Apache HDFS. HopsFS also has lower latency for many concurrent clients, and no downtime during failover. Finally, as metadata is now stored in a commodity database, it can be safely extended and easily exported to external systems for online analysis and free-text search.
翻译:在本文中,我们引入了HopsFS,这是Hadoop分配文件系统(HDFS)的下一代分发版本系统(HDFS),取代HDFS的单节点模质元数据服务,在新SQL数据库中建立了一个分布式元数据服务。通过消除元数据瓶颈,HopsFS使得与HDFS相比,用于等级文件系统的分布式元数据组数量更大、数量更高。元数据组的能力已经提高到至少37倍。在Spotify的工作量追踪基础上进行的实验中,我们表明HopsFS支持了Apac HDFS的16至37倍的吞吐量。HopsFS对许多同时存在的客户的惯用量也较低,而且没有出现故障。最后,由于元数据目前储存在商品数据库中,因此可以安全地扩大并容易地出口到外部系统,以便进行在线分析和自由文本搜索。