I think the best way to accomplish this sort of goal is to go ahead and run independent clusters and somehow add the ability to propagate files between clusters. Then the cross-cluster map-reduce can run in the cluster that has originals or replicas of all of the necessary files.
The question then is how you cause replicas to exist. For many applications a simple script would suffice. This has many benefits over cross cluster magic, notably that files would only be copied once. On 2/25/08 5:09 PM, "Steve Sapovits" <[EMAIL PROTECTED]> wrote: > > Can someone tell me if the following scenario is feasible? My apologies if > this > has already been covered ... > > Suppose I have N data centers, each with a Hadoop cluster and each with its > own HDFS file system on the cluster. So, for writing purposes, if I have 4 > data centers, I have 4 HDFS file systems, each in its own data center. When > writing, no other cluster ever has to look outside of the data center its in. > > Now suppose that for full data correlation, I want to map/reduce across data > centers, looking at the N individual clusters as one big HDFS. First, is this > possible? That is, can I create write configurations that look at clusters > differently than read (map/reduce) configurations? Not all map/reduce reads > would be across data centers -- only some. Second, if this is possible, does > map/reduce push most of the heavy data movement off to each cluster to > minimize the traffic across the intra-data center connections? That is, would > I be okay with the slower connections between data centers if the map/reduce > jobs are aggregating data down to much smaller final sets? > > Any pointers or experience feedback here appreciated.
