Alexandr Alexandr - 21 days ago 8
Git Question

Can we use HDFS to store git repositories?

I want to create a scalable git repository both for high availability, automatic failover and performance. I think that HDFS is well suited for such cases. But I don't know if it is possible to use it with git repositories.

Can somebody show an example? How to use hdfs to store git repository?

Answer

Probably a bit lengthy but should work is to use FUSE (MountableHDFS) once you are able to mount HDFS it is just like any other file system and you should be able to use that mount (HDFS) to store git repository. see below links for details

https://wiki.apache.org/hadoop/MountableHDFS

http://www.cloudera.com/documentation/cdh/5-1-x/CDH5-Installation-Guide/cdh5ig_hdfs_mountable.html

Comments