{"id":401,"date":"2018-08-03T15:45:11","date_gmt":"2018-08-03T07:45:11","guid":{"rendered":"http:\/\/www.luodonggan.com\/wordpress\/?p=401"},"modified":"2018-08-03T16:18:36","modified_gmt":"2018-08-03T08:18:36","slug":"spark-%e7%8e%af%e5%a2%83%e6%90%ad%e5%bb%ba%e5%8f%8a%e7%a4%ba%e4%be%8b","status":"publish","type":"post","link":"http:\/\/8.152.216.154:8081\/?p=401","title":{"rendered":"Spark-\u73af\u5883\u642d\u5efa\u53ca\u793a\u4f8b"},"content":{"rendered":"<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif; font-size: 17px; letter-spacing: 0.544px; text-align: justify; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;\">Spark\u662f\u7528\u4e8e\u5927\u6570\u636e\u5904\u7406\u7684\u7edf\u4e00\u5206\u6790\u5f15\u64ce\uff0c\u4e0eHadoop\u7684\u6570\u636e\u8ba1\u7b97\u6846\u67b6\u4e0d\u540c\uff0c\u975e\u57fa\u4e8eMapreduce\u7684\u8ba1\u7b97\u6846\u67b6\uff0c\u800c\u662f\u8fd0\u884c\u5728spark\u5206\u5e03\u5f0f\u8fd0\u884c\u73af\u5883\u96c6\u7fa4\u4e0a\u6267\u884c\u5de5\u4f5c\u7684\uff0c\u4e0d\u8fc7\u5b83\u53ef\u4ee5\u5728YARN\u4e0a\u8fd0\u884c\uff0c\u5e76\u652f\u6301Hadoop\u7684\u6587\u4ef6\u5b58\u50a8\u683c\u5f0fHDFS,\u57fa\u4e8e\u5206\u5e03\u5f0f\u6587\u4ef6\u8fdb\u884c\u5206\u5e03\u5f0f\u8ba1\u7b97\u3002\u53e6\u5916Spark\u53ef\u4ee5\u8fd0\u884c\u5728\uff0cApache Mesos\u3001Kubernetes,\u5728\u72ec\u7acb\u96c6\u7fa4\u6216\u8005\u4e91\u7aef\uff0c\u53ef\u4ee5\u8bbf\u95eeHdfs\u3001Apache Cassandra\u3001Hbase\u3001Hive\u548c\u6570\u767e\u4e2a\u6570\u636e\u6e90\u4e2d\u7684\u6570\u636e\u3002Spark\u5b98\u7f51\uff1ahttp:\/\/spark.apache.org\/<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif; font-size: 17px; letter-spacing: 0.544px; text-align: justify; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;\"><br style=\"margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;\"\/><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif; font-size: 17px; letter-spacing: 0.544px; text-align: justify; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;\">&nbsp;&nbsp;&nbsp;&nbsp;\u5f00\u53d1Spark\u8fd0\u7b97\u4efb\u52a1\u7a0b\u5e8f\uff0c\u53ef\u4ee5\u4f7f\u7528Java\u3001Scala\u3001Python\u3001R\u548cSQL&nbsp;shell\u5feb\u901f\u7f16\u5199\u5e94\u7528\u7a0b\u5e8f\uff0c\u5bf9\u6570\u636e\u8fdb\u884c\u8ba1\u7b97\u5206\u6790\u3002\u53e6\u5916\uff0cSpark\u5e93\u4e2d\u63d0\u4f9bSparkSQL\u3001\u6d41\u8ba1\u7b97\u3001\u673a\u5668\u5b66\u4e60\u3001\u56fe\u8ba1\u7b97\u7b49\u529f\u80fd\u3002<br style=\"margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;\"\/><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif; font-size: 17px; letter-spacing: 0.544px; text-align: center; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;\"><img src=\"\/ueditor\/php\/upload\/image\/20180803\/1533284228171560.png\" title=\"1533284228171560.png\" alt=\"image.png\"\/><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif; font-size: 17px; letter-spacing: 0.544px; white-space: normal; background-color: rgb(255, 255, 255); text-align: center; box-sizing: border-box !important; word-wrap: break-word !important;\"><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif; font-size: 17px; letter-spacing: 0.544px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;\">&nbsp;&nbsp;&nbsp;&nbsp;<br style=\"margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;\"\/><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif; font-size: 17px; letter-spacing: 0.544px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;\">&nbsp;&nbsp;&nbsp;&nbsp;\u5f00\u53d1Spark\u4efb\u52a1\u4e4b\u524d\uff0c\u6211\u4eec\u9996\u5148\u8981\u642d\u5efaSpark\u7684\u4e00\u5957\u96c6\u7fa4\u5f00\u53d1\u73af\u5883\uff0c\u7528\u4e8e\u63d0\u4ea4\u8fd0\u884cSpark\u4efb\u52a1\uff0c\u642d\u5efa\u5b8c\u6210\u4e4b\u540e\uff0c\u6211\u4eec\u4f1a\u8fd0\u884cSpark\u5df2\u6709\u7684\u793a\u4f8b\u7a0b\u5e8f\uff0c\u6d4b\u8bd5\u96c6\u7fa4\u7684\u53ef\u7528\u6027\uff0c\u63a5\u4e0b\u6765\u6211\u4eec\u5c31\u5f00\u59cb\u90e8\u7f72\u3002<br style=\"margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;\"\/><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif; font-size: 17px; letter-spacing: 0.544px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;\"><br style=\"margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;\"\/><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif; font-size: 17px; letter-spacing: 0.544px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;\">&nbsp;&nbsp;&nbsp;&nbsp;\u9996\u5148\uff0c\u9009\u62e9Hadoop\u7248\u672c\u548c\u4e0e\u4e4b\u5bf9\u5e94\u7684Spark\u7248\u672c\uff0c\u4e0b\u8f7d\u5b89\u88c5\u6587\u4ef6\uff0c\u5e76\u4e0a\u4f20\u89e3\u538b\u3002<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif; font-size: 17px; letter-spacing: 0.544px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;\">&nbsp;&nbsp;&nbsp;&nbsp;\u5176\u6b21\uff0c\u7528VMware\uff0c\u521b\u5efa\u4e00\u4e2a\u5177\u6709\u4e09\u4e2a\u8282\u70b9\u7684\u96c6\u7fa4\uff0cmaster\u3001slave1\u3001slave2\uff0c\u5e76\u914d\u7f6e\u57fa\u7840\u7684\u4e3b\u673a\u540d\u79f0hostsname\u3001hosts\u6587\u4ef6\u4fee\u6539\u3001\u7f51\u7edc\u3001\u5173\u95ed\u9632\u706b\u5899\u3001\u5b89\u88c5JDK\u3001SSH\u514d\u5bc6\u767b\u9646\u3001\u7b49\u57fa\u7840\u73af\u5883\u914d\u7f6e\u64cd\u4f5c\uff0c\u6700\u540e\u9a8c\u8bc1\uff0cping\u3001ssh\u96c6\u7fa4\u662f\u5426\u914d\u7f6e\u5b8c\u6210\u3002\u63d0\u793a\uff1a\u53ef\u4ee5\u914d\u7f6e\u4e00\u4e2a\u8282\u70b9\uff0c\u5171\u6027\u7684\u914d\u7f6e\u5b8c\u6210\u540e\uff0c\u514b\u9686\u51fa\u53e6\u5916\u4e24\u4e2a\u8282\u70b9\uff0c\u5e76\u6700\u7ec8\u5b8c\u6210\u96c6\u7fa4\u914d\u7f6e\u3002<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif; font-size: 17px; letter-spacing: 0.544px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;\">&nbsp; &nbsp; \u63a5\u4e0b\u6765\uff0c\u914d\u7f6ehadoop\uff0c\u914d\u7f6eHADOOP_HOME\u73af\u5883\u53d8\u91cf\uff0c\u914d\u7f6e\uff1a<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif; font-size: 17px; letter-spacing: 0.544px; text-align: justify; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;\">core-site.xml\u3001hdfs-site.xml\u3001yarn-site.xml\u3001slaves\u6587\u4ef6\u914d\u7f6e\u8282\u70b9\u3001hadoop-env.sh\u914d\u7f6e\uff0c\u5e76\u521b\u5efa\u6587\u4ef6\u76ee\u5f55name\/data\uff1b\u5b8c\u6210\u540e\uff0c\u683c\u5f0f\u5316hadoop:hdfs namenode format,\u5728sbin\u76ee\u5f55\u4e0b\uff0c\u542f\u52a8hdfs:sh .\/start-dfs.sh,\u548csh .\/start-yarn.sh\u3002\u8f93\u5165\uff1ahttp:\/\/spark-master:50070\u3001http:\/\/master:8088\/cluster\u3002<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif; font-size: 17px; letter-spacing: 0.544px; white-space: normal; background-color: rgb(255, 255, 255); text-align: center; box-sizing: border-box !important; word-wrap: break-word !important;\"><img src=\"\/ueditor\/php\/upload\/image\/20180803\/1533284258934551.png\" title=\"1533284258934551.png\" alt=\"image.png\"\/><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif; font-size: 17px; letter-spacing: 0.544px; text-align: justify; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;\">&nbsp;&nbsp;&nbsp;&nbsp;\u63a5\u4e0b\u6765\uff0c\u914d\u7f6eSpark,\u8bbe\u7f6e\u73af\u5883\u53d8\u91cfSPARK_HOME\uff0c\u914d\u7f6eslaves\uff0cspark-env.sh,\u542f\u52a8spark\uff0c\u5728sbin\/start-all.sh\u542f\u52a8spark\uff0c\u542f\u52a8\u540e\uff0c\u8f93\u5165spark-shell\u8fdb\u884c\u9a8c\u8bc1\u96c6\u7fa4\u53ef\u7528\u6027\u3002\u8bbf\u95eeweb-UI\uff1ahttp:\/\/spark-master:8080\/\u3002<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif; font-size: 17px; letter-spacing: 0.544px; text-align: justify; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;\"><span style=\"margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important; font-family: Arial; font-weight: bold;\"><span style=\"margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;\"><span style=\"margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;\"><span style=\"margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;\">&nbsp;<\/span><\/span><\/span><\/span><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif; font-size: 17px; letter-spacing: 0.544px; text-align: center; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;\"><img src=\"\/ueditor\/php\/upload\/image\/20180803\/1533284271172113.png\" title=\"1533284271172113.png\" alt=\"image.png\"\/><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif; font-size: 17px; letter-spacing: 0.544px; text-align: justify; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;\">spark-shell:<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif; font-size: 17px; letter-spacing: 0.544px; text-align: center; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;\"><img src=\"\/ueditor\/php\/upload\/image\/20180803\/1533284286202353.png\" title=\"1533284286202353.png\" alt=\"image.png\"\/><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif; font-size: 17px; letter-spacing: 0.544px; text-align: justify; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;\"><span style=\"margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important; font-family: Arial; font-weight: bold;\"><span style=\"margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;\"><span style=\"margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;\"><span style=\"margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;\">\u8fd0\u884c\u5b98\u65b9\u63d0\u4f9b\u7684\u793a\u4f8b\u7a0b\u5e8f\uff1a&nbsp;&nbsp;<br style=\"margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;\"\/><\/span><\/span><\/span><\/span>&nbsp;&nbsp;&nbsp;&nbsp;\u8ba1\u7b97\u5706\u5468\u7387\u7684\u793a\u4f8b\uff0c\u5728bin\u76ee\u5f55\u4e0b\u6267\u884crun-example JavaSparkPi 2\uff0c\u8ba1\u7b97\u7ed3\u679c\u5982\u4e0b<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif; font-size: 17px; letter-spacing: 0.544px; text-align: center; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;\"><img src=\"\/ueditor\/php\/upload\/image\/20180803\/1533284297905263.png\" title=\"1533284297905263.png\" alt=\"image.png\"\/><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif; font-size: 17px; letter-spacing: 0.544px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;\"><br style=\"margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;\"\/><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; max-width: 100%; clear: both; min-height: 1em; color: rgb(51, 51, 51); font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif; font-size: 17px; letter-spacing: 0.544px; white-space: normal; background-color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important;\">\u53ef\u4ee5\u5728\u5b98\u65b9\u6e90\u7801\u3001\u7f51\u7ad9\u4e0a\u67e5\u770b\u793a\u4f8b\uff0chttp:\/\/spark.apache.org\/examples.html\uff0c\u5e76\u6839\u636e\u793a\u4f8b\u7f16\u5199\u4efb\u52a1\uff08Java\u3001Scala\u3001Python\u3001R\u7b49\u8bed\u8a00\uff09\uff0c\u63d0\u4ea4spark\u6267\u884c\u3002<\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Spark\u662f\u7528\u4e8e\u5927\u6570\u636e\u5904\u7406\u7684\u7edf\u4e00\u5206\u6790\u5f15\u64ce\uff0c\u4e0eHadoop\u7684\u6570\u636e\u8ba1\u7b97\u6846\u67b6\u4e0d\u540c\uff0c\u975e\u57fa\u4e8eMapreduce\u7684\u8ba1\u7b97\u6846\u67b6 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":402,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[28,23],"_links":{"self":[{"href":"http:\/\/8.152.216.154:8081\/index.php?rest_route=\/wp\/v2\/posts\/401"}],"collection":[{"href":"http:\/\/8.152.216.154:8081\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/8.152.216.154:8081\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/8.152.216.154:8081\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/8.152.216.154:8081\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=401"}],"version-history":[{"count":2,"href":"http:\/\/8.152.216.154:8081\/index.php?rest_route=\/wp\/v2\/posts\/401\/revisions"}],"predecessor-version":[{"id":404,"href":"http:\/\/8.152.216.154:8081\/index.php?rest_route=\/wp\/v2\/posts\/401\/revisions\/404"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/8.152.216.154:8081\/index.php?rest_route=\/wp\/v2\/media\/402"}],"wp:attachment":[{"href":"http:\/\/8.152.216.154:8081\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=401"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/8.152.216.154:8081\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=401"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/8.152.216.154:8081\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}