{"id":26073,"date":"2010-08-12T23:04:03","date_gmt":"2010-08-12T15:04:03","guid":{"rendered":"http:\/\/www.yankay.com\/?p=26073"},"modified":"2010-08-12T23:04:03","modified_gmt":"2010-08-12T15:04:03","slug":"%e7%94%a8mapreduce%e6%9d%a5%e5%81%9a%e5%a5%bd%e5%8f%8b%e6%8e%a8%e8%8d%90","status":"publish","type":"post","link":"http:\/\/yankay.com\/%e7%94%a8mapreduce%e6%9d%a5%e5%81%9a%e5%a5%bd%e5%8f%8b%e6%8e%a8%e8%8d%90\/","title":{"rendered":"\u7528Map\/Reduce\u6765\u505a\u597d\u53cb\u63a8\u8350"},"content":{"rendered":"

SNS\u7f51\u7ad9\u90fd\u6709\u4e00\u4e2a\u529f\u80fd\uff0c\u5c31\u662f\u597d\u53cb\u63a8\u8350(\u6216\u8005Follower\u63a8\u8350)\u3002\u4f8b\u5982\uff0c\u5728\u4eba\u4eba\u7f51\u4e0a\u51fa\u73b0\u7684\u201c\u4f60\u53ef\u80fd\u8ba4\u8bc6\u7684\u4eba\u201d\u3002\u600e\u4e48\u6765\u5b9e\u73b0\u5462\uff0c\u6709\u4e00\u4e2a\u5f88\u7b80\u5355\u7684\u529e\u6cd5\u3002\u5982\u679c\u5c0f\u521a\u548c\u5c0f\u660e\u4e0d\u662f\u597d\u53cb\uff0c\u4f46\u662f\u4ed6\u4eec\u6709\u5f88\u591a\u7684\u5171\u540c\u597d\u53cb\u3002\u90a3\u4e48\u53ef\u4ee5\u8ba4\u4e3a\uff0cA\u548cB\u5f88\u53ef\u80fd\u76f8\u8bc6\u3002<\/p>\n

\u4ece\u56fe\u8bba\u7684\u8bb2\u6cd5\u4e0a\u770b\uff0c\u5c31\u662f\u5148\u5217\u51fa\u4e00\u4e2a\u4eba(\u8bb0\u4e3a\u5c0fA)\u7684\u6240\u6709\u670b\u53cb\u7684\u670b\u53cb\uff0c\u5728\u5bfb\u627e\u5c0fA\u548c\u8fd9\u4e9b\u4eba\u4e4b\u95f4\u6709\u591a\u5c11\u957f\u5ea6\u4e3a2\u7684\u901a\u8def\u3002\u5c06\u8fd9\u4e9b\u901a\u8def\u6570\u6392\u5e8f\uff0c\u5bfb\u627e\u6700\u9ad8\u7684\u90a3\u51e0\u4e2a\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n

\u6240\u4ee5\u6211\u4eec\u7684Map\/Reduce\u7684\u4efb\u52a1\u5c31\u662f\uff1a\u627e\u51fa\u6240\u6709\u4eba\u7684\u5341\u4e2aTop\u201c\u63a8\u8350\u597d\u53cb\u201d\u3002<\/p>\n

\u793e\u4f1a\u5316\u7f51\u7edc\u7684\u56fe\u4e00\u822c\u90fd\u5f88\u7b80\u5355\u3002\u6211\u4eec\u5047\u8bbe\u8f93\u5165\u662f\u6309name\u6392\u5e8f\u7684\u3002<\/p>\n

\n\"ricky\" => [\"jay\", \"peter\", \"phyllis\"]\n\"peter\" => [\"dave\", \"jack\", \"ricky\", \"susan\"]\n<\/pre>\n

\u6211\u4eec\u4f7f\u7528\u4e24\u8f6eMap\/Reduce\u4efb\u52a1\u6765\u5b8c\u6210\u8fd9\u4e2a\u64cd\u4f5c\u3002<\/p>\n

\u7b2c\u4e00\u8f6eMR\u4efb\u52a1<\/strong><\/p>\n

\u8fd9\u4e2a\u4efb\u52a1\u7684\u76ee\u7684\u662f\u8ba1\u7b97\u6bcf\u4e00\u5bf9\u8ddd\u79bb\u662f2\u7684\u4eba\u4e4b\u95f4\u7684\u901a\u8def\u6570\u3002<\/p>\n