简体   繁体   English

是否可以在hdfs上存储mongodb数据

[英]is it possible to store mongodb data on hdfs

In my project, I'm challenging with data storage method. 在我的项目中,我正在挑战数据存储方法。 Firstly, in my project, there are streaming data in JSON format and most suitable db is MongoDB. 首先,在我的项目中,存在JSON格式的流数据,最合适的数据库是MongoDB。 I have to analyze data with Hadoop or Spark. 我必须使用Hadoop或Spark分析数据。

So, my conflict starts here: Can I store MongoDB collections in HDFS or must MongoDB and HDFS storage units be different? 因此,我的冲突从这里开始:我可以将MongoDB集合存储在HDFS中,还是必须将MongoDB和HDFS存储单元不同? It is an important issue for my decision. 这是我决定的重要问题。 Must I use Hadoop and MongoDB in same disk units or separate units? 是否必须在同一磁盘单元或单独的单元中使用Hadoop和MongoDB?

由于存储方法,安全策略实现和存储机制本身不同,因此它们必须是不同的单元。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM