@Private @Evolving

Package org.apache.hadoop.hdfs.server.federation.store

The federation state store tracks persistent values that are shared between multiple routers.

Data is stored in data records that inherit from a common class. Data records are serialized when written to the data store using a modular serialization implementation. The default is profobuf serialization. Data is stored as rows of records of the same type with each data member in a record representing a column.

The state store uses a modular data storage StateStoreDriver to handle querying, updating and deleting data records. The data storage driver is initialized and maintained by the StateStoreService. The state store supports fetching all records of a type, filtering by column values or fetching a single record by its primary key.

The state store contains several API interfaces, one for each data records type.

Each API is defined in a separate interface. The implementations of these interfaces are responsible for accessing the StateStoreDriver to query, update and delete data records.
Skip navigation links

Copyright © 2008–2025 Apache Software Foundation. All rights reserved.