%0 Conference Proceedings %T Scaling HDFS with a Strongly Consistent Relational Model for Metadata %+ Swedish Institute of Computer Science [Stockholm] (SICS) %A Hakimzadeh, Kamal %A Peiro Sajjad, Hooman %A Dowling, Jim %< avec comité de lecture %( Lecture Notes in Computer Science %B 4th International Conference on Distributed Applications and Interoperable Systems (DAIS) %C Berlin, Germany %Y David Hutchison %Y Takeo Kanade %Y Bernhard Steffen %Y Demetri Terzopoulos %Y Doug Tygar %Y Gerhard Weikum %Y Kostas Magoutis %Y Peter Pietzuch %Y Josef Kittler %Y Jon M. Kleinberg %Y Alfred Kobsa %Y Friedemann Mattern %Y John C. Mitchell %Y Moni Naor %Y Oscar Nierstrasz %Y C. Pandu Rangan %I Springer %3 Distributed Applications and Interoperable Systems %V LNCS-8460 %P 38-51 %8 2014-06-03 %D 2014 %R 10.1007/978-3-662-43352-2_4 %Z Computer Science [cs] %Z Computer Science [cs]/Networking and Internet Architecture [cs.NI]Conference papers %X The Hadoop Distributed File System (HDFS) scales to store tens of petabytes of data despite the fact that the entire file system’s metadata must fit on the heap of a single Java virtual machine. The size of HDFS’ metadata is limited to under 100 GB in production, as garbage collection events in bigger clusters result in heartbeats timing out to the metadata server (NameNode).In this paper, we address the problem of how to migrate the HDFS’ metadata to a relational model, so that we can support larger amounts of storage on a shared-nothing, in-memory, distributed database. Our main contribution is that we show how to provide at least as strong consistency semantics as HDFS while adding support for a multiple-writer, multiple-reader concurrency model. We guarantee freedom from deadlocks by logically organizing inodes (and their constituent blocks and replicas) into a hierarchy and having all metadata operations agree on a global order for acquiring both explicit locks and implicit locks on subtrees in the hierarchy. We use transactions with pessimistic concurrency control to ensure the safety and progress of metadata operations. Finally, we show how to improve performance of our solution by introducing a snapshotting mechanism at NameNodes that minimizes the number of roundtrips to the database. %G English %Z TC 6 %Z WG 6.1 %2 https://inria.hal.science/hal-01287731/document %2 https://inria.hal.science/hal-01287731/file/326177_1_En_4_Chapter.pdf %L hal-01287731 %U https://inria.hal.science/hal-01287731 %~ IFIP-LNCS %~ IFIP %~ IFIP-TC %~ IFIP-WG %~ IFIP-LNCS-8460 %~ IFIP-TC6 %~ IFIP-WG6-1