{"id":150795,"date":"2020-09-03T02:09:15","date_gmt":"2020-09-02T18:09:15","guid":{"rendered":"http:\/\/4563.org\/?p=150795"},"modified":"2020-09-03T02:09:15","modified_gmt":"2020-09-02T18:09:15","slug":"hadoop-%e8%af%bb%e5%8f%96-10-%e4%b8%87%e4%b8%aa%e6%96%87%e4%bb%b6%e5%88%9d%e5%a7%8b%e5%8c%96%e8%bf%87%e7%a8%8b%e5%be%88%e6%85%a2%e6%9c%89%e6%96%b9%e4%be%bf%e7%9a%84%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=150795","title":{"rendered":"Hadoop \u8bfb\u53d6 10 \u4e07\u4e2a\u6587\u4ef6\u521d\u59cb\u5316\u8fc7\u7a0b\u5f88\u6162\u6709\u65b9\u4fbf\u7684\u89e3\u51b3\u529e\u6cd5\u4e48\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  Hadoop \u8bfb\u53d6 10 \u4e07\u4e2a\u6587\u4ef6\u521d\u59cb\u5316\u8fc7\u7a0b\u5f88\u6162\u6709\u65b9\u4fbf\u7684\u89e3\u51b3\u529e\u6cd5\u4e48\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ysn2233 <\/span>  <span><i><\/i> 15<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u6211\u662f\u7528 Flink \u7684 DataSet API \u53bb\u8bfb\u53d6\u6587\u4ef6\uff0c\u7528\u7684 Hadoop Compatability \u91cc Hadoop \u7684 FileInputFormat\uff0c\u53d1\u73b0\u5728\u521b\u5efa\u5206\u7247\u7684 getSplits()\u65b9\u6cd5\u91cc\uff0c\u4f1a\u53bb\u904d\u5386\u6bcf\u4e00\u4e2a\u6587\u4ef6\u83b7\u53d6 block locations\uff0c\u6709 10 \u4e07\u4e2a\u6587\u4ef6\u7684\u8bdd\u5c31\u5f97\u53d1 10 \u4e07\u6b21\u8bf7\u6c42\uff0c\u6240\u4ee5\u4efb\u52a1\u521d\u59cb\u5316\u975e\u5e38\u6162\uff0c\u8bf7\u95ee\u4e00\u4e0b\u6709\u4ec0\u4e48\u597d\u7684\u89e3\u51b3\u529e\u6cd5\u4e48\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>4<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3048091\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : liprais <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5408\u5e76\u5c0f\u6587\u4ef6\u5457                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3048092\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : billlee <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             HDFS \u672c\u6765\u5c31\u4e0d\u9002\u5408\u5b58\u5c0f\u6587\u4ef6                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3048093\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : ysn2233 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @billlee \u6587\u4ef6\u4e5f\u4e0d\u5c0f\u4f46\u662f\u591a\uff0c\u4f46\u662f\u521d\u59cb\u5316\u6162\u5c31\u662f\u4e00\u4e2a\u5faa\u73af\u5bf9\u6bcf\u4e2a\u6587\u4ef6\u90fd\u8981\u53bb\u53d1\u6b21 rpc \u8bf7\u6c42\u83b7\u53d6\u4e00\u4e2a\u6587\u4ef6\u7684 block \u4f4d\u7f6e\uff0c\u5982\u679c\u80fd\u53ea\u53d1\u4e00\u6b21\u8bf7\u6c42\u8fd4\u56de\u6240\u6709\u76f8\u5173\u6587\u4ef6\u7684\u4f4d\u7f6e\u4fe1\u606f\u611f\u89c9\u5c31\u5feb\u5f88\u591a\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3048094\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : kex0916 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u628a\u6587\u4ef6\u5408\u5e76\u4e0b\uff0c\u6216\u8005\u628a\u8bfb\u53d6\u6587\u4ef6\u8fc7\u7a0b\u62c6\u5206\u6210\u591a\u4e2a\u4efb\u52a1\u8dd1\uff0c\u6700\u540e\u518d union \u8d77\u6765                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>Hadoop \u8bfb\u53d6 10 \u4e07\u4e2a\u6587\u4ef6&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/150795"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=150795"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/150795\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=150795"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=150795"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=150795"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}