qubole / rubix

Cache File System optimized for columnar formats and object stores
Apache License 2.0
183 stars 74 forks source link

chg: dev: #364: Allow disabling data caching on master #365

Closed losipiuk closed 4 years ago

losipiuk commented 4 years ago

Fixes #364

losipiuk commented 4 years ago

@stagraqubole this is an attempt to allow configuring rubix in such a way that data caching is disabled on master node. Initialization does not fail then if data directories are missing. If configured such way I stub fileMetadataCache and fileInfoCache with implementation which disallow any modification. This serves as an assertion that we are not actually trying to cache any data on master.