multiple input into a Mapper in hadoop
问题 I am trying to send two files to a hadoop reducer. I tried DistributedCache, but anything I put using addCacheFile in main, doesn't seem to be given back to with getLocalCacheFiles in the mapper. right now I am using FileSystem to read the file, but I am running locally so I am able to just send the name of the file. Wondering how to do this if I was running on a real hadoop system. is there anyway to send values to the mapper except the file that it's reading? 回答1: I also had a lot of