It depends on your requirements, type of your project, etc., and not on grails. You have indicated really different technologies, and each has its own advantages and disadvantages.
Primarily:
- Hadoop is only a distributed file storage. But it has the key value of nosql db, called HBase on top of it, optimal for big data processing.
- MongoDB is document-oriented storage, good for situations where you need to store a lot of data without a schema.
- Cassandra is a key column database, optimal when you have a specific structure for your data.
So, this is not about grails, about what you need to use, and only after you have chosen the appropriate storage, you will have to look at the web framework
Read about CAP , about each repository, compare mongodb and cassandra , there are already a lot of questions
PS, perhaps you can use any of the NoSQL repositories that have a Java driver with Grails. But note that some Grails features, such as GORM, will be truncated. Just because GORM is optimized for the relational model.
There is a mongodb-morphia plugin, for example, which gives you functions similar to gorm for MongodDB, but very limited.
source share