How Cassandra file system interacts with platform file system

久未见 提交于 2019-12-24 15:56:44

问题


I am doing research regarding NoSql. I have found two DBs that are close to what I require for implementation.

just wondering how the file system of these Nosql interacts with Windows/Linux file system?

for instance, Cassandra uses Cassandra file system, so is it the case that it is a virtual file system that with help of JRE/JDK, it interacts with the platform file system?


回答1:


The Cassandra File System is actually not required to use Cassandra. CFS only comes with DataStax Enterprise and isn't available in Apache Cassandra. It is not required or integrated in any way into normal Cassandra operations.

CFS was built as a HDFS compatible filesystem for use with batch analytics software. It is implemented as a set of C* tables but will eventually be represented as on disk data. Because it is a set of C* tables it will be distributed about your cluster and act as a distributed fault tolerant filesystem.




回答2:


Yes, Cassandra File System just sits on top of the platform file system. All of these databases (Cassandra, MongoDB, etc.) are going to use a typical underlying filesystem provided by the OS, e.g. ext3/ext4, XFS, NTFS.



来源:https://stackoverflow.com/questions/26907728/how-cassandra-file-system-interacts-with-platform-file-system

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!