{"id":1309,"date":"2023-06-02T21:02:45","date_gmt":"2023-06-02T13:02:45","guid":{"rendered":"http:\/\/www.dama.org.cn\/wordpress\/?p=1309"},"modified":"2023-06-02T21:17:46","modified_gmt":"2023-06-02T13:17:46","slug":"%e6%90%ba%e7%a8%8b%e6%95%b0%e6%8d%ae%e8%a1%80%e7%bc%98%e6%9e%84%e5%bb%ba%e5%8f%8a%e5%ba%94%e7%94%a8","status":"publish","type":"post","link":"https:\/\/www.dama.org.cn\/wordpress\/2023\/06\/02\/%e6%90%ba%e7%a8%8b%e6%95%b0%e6%8d%ae%e8%a1%80%e7%bc%98%e6%9e%84%e5%bb%ba%e5%8f%8a%e5%ba%94%e7%94%a8\/","title":{"rendered":"\u643a\u7a0b\u6570\u636e\u8840\u7f18\u6784\u5efa\u53ca\u5e94\u7528"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\"><strong>\u4e00\u3001\u524d\u8a00<\/strong><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Data lineage includes the data origin, what happens to it and where it moves over time. Data lineage gives visibility while greatly simplifying the ability to trace errors back to the root cause in a data analytics process. <\/em><\/p>\n\n\n\n<p class=\"has-text-align-right wp-block-paragraph\"><em>\u2500\u2500\u767e\u79d1Data lineage.<\/em><\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<p class=\"wp-block-paragraph\">\u5927\u6570\u636e\u65f6\u4ee3\uff0c\u6570\u636e\u7684\u6765\u6e90\u6781\u5176\u5e7f\u6cdb\uff0c\u5404\u79cd\u7c7b\u578b\u7684\u6570\u636e\u5728\u5feb\u901f\u4ea7\u751f\uff0c\u6570\u636e\u4e5f\u662f\u7206\u53d1\u6027\u589e\u957f\u3002\u4ece\u6570\u636e\u7684\u4ea7\u751f\uff0c\u901a\u8fc7\u52a0\u5de5\u878d\u5408\u6d41\u8f6c\u4ea7\u751f\u65b0\u7684\u6570\u636e\uff0c\u5230\u6700\u7ec8\u6d88\u4ea1\uff0c\u6570\u636e\u4e4b\u95f4\u7684\u5173\u8054\u5173\u7cfb\u53ef\u4ee5\u79f0\u4e4b\u4e3a\u6570\u636e\u8840\u7f18\u5173\u7cfb\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6570\u636e\u8840\u7f18\u662f\u5143\u6570\u636e\u7ba1\u7406\u3001\u6570\u636e\u6cbb\u7406\u3001\u6570\u636e\u8d28\u91cf\u7684\u91cd\u8981\u4e00\u73af\uff0c\u8ffd\u8e2a\u6570\u636e\u7684\u6765\u6e90\u3001\u5904\u7406\u3001\u51fa\u5904\uff0c\u5bf9\u6570\u636e\u4ef7\u503c\u8bc4\u4f30\u63d0\u4f9b\u4f9d\u636e\uff0c\u63cf\u8ff0\u6e90\u6570\u636e\u6d41\u7a0b\u3001\u8868\u3001\u62a5\u8868\u3001\u5373\u5e2d\u67e5\u8be2\u4e4b\u95f4\u7684\u6d41\u5411\u5173\u7cfb\uff0c\u8868\u4e0e\u8868\u7684\u4f9d\u8d56\u5173\u7cfb\u3001\u8868\u4e0e\u79bb\u7ebfETL\u4efb\u52a1\uff0c\u8c03\u5ea6\u5e73\u53f0\uff0c\u8ba1\u7b97\u5f15\u64ce\u4e4b\u95f4\u7684\u4f9d\u8d56\u5173\u7cfb\u3002\u6570\u636e\u4ed3\u5e93\u662f\u6784\u5efa\u5728Hive\u4e4b\u4e0a\uff0c\u800cHive\u7684\u539f\u59cb\u6570\u636e\u5f80\u5f80\u6765\u81ea\u4e8e\u751f\u4ea7DB\uff0c\u4e5f\u4f1a\u628a\u8ba1\u7b97\u7ed3\u679c\u5bfc\u51fa\u5230\u5916\u90e8\u5b58\u50a8\uff0c\u5f02\u6784\u6570\u636e\u6e90\u7684\u8868\u4e4b\u95f4\u662f\u6709\u8840\u7f18\u5173\u7cfb\u7684\u3002<\/p>\n<\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u6570\u636e\u8840\u7f18\u7528\u9014\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u8ffd\u8e2a\u6570\u636e\u6eaf\u6e90\uff1a\u5f53\u6570\u636e\u53d1\u751f\u5f02\u5e38\uff0c\u5e2e\u52a9\u8ffd\u8e2a\u5230\u5f02\u5e38\u53d1\u751f\u7684\u539f\u56e0\uff1b\u5f71\u54cd\u9762\u5206\u6790\uff0c\u8ffd\u8e2a\u6570\u636e\u7684\u6765\u6e90\uff0c\u8ffd\u8e2a\u6570\u636e\u5904\u7406\u8fc7\u7a0b\u3002<\/li>\n\n\n\n<li>\u8bc4\u4f30\u6570\u636e\u4ef7\u503c\uff1a\u4ece\u6570\u636e\u53d7\u4f17\u3001\u66f4\u65b0\u91cf\u7ea7\u3001\u66f4\u65b0\u9891\u6b21\u7b49\u51e0\u4e2a\u65b9\u9762\u7ed9\u6570\u636e\u4ef7\u503c\u7684\u8bc4\u4f30\u63d0\u4f9b\u4f9d\u636e\u3002<\/li>\n\n\n\n<li>\u751f\u547d\u5468\u671f\uff1a\u76f4\u89c2\u5730\u5f97\u5230\u6570\u636e\u6574\u4e2a\u751f\u547d\u5468\u671f\uff0c\u4e3a\u6570\u636e\u6cbb\u7406\u63d0\u4f9b\u4f9d\u636e\u3002<\/li>\n\n\n\n<li>\u5b89\u5168\u7ba1\u63a7\uff1a\u5bf9\u6e90\u5934\u6253\u4e0a\u654f\u611f\u7b49\u7ea7\u6807\u7b7e\u540e\uff0c\u4f20\u9012\u654f\u611f\u7b49\u7ea7\u6807\u7b7e\u5230\u4e0b\u6e38\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u6587\u4ecb\u7ecd\u643a\u7a0b\u6570\u636e\u8840\u7f18\u5982\u4f55\u6784\u5efa\u53ca\u5e94\u7528\u573a\u666f\u3002\u7b2c\u4e00\u7248T+1\u6784\u5efaHive\u5f15\u64ce\u7684\u8868\u7ea7\u522b\u7684\u8840\u7f18\u5173\u7cfb\uff0c\u7b2c\u4e8c\u7248\u8fd1\u5b9e\u65f6\u6784\u5efaHive\uff0cSpark\uff0cPresto\u591a\u4e2a\u67e5\u8be2\u5f15\u64ce\u548cDataX\u4f20\u8f93\u5de5\u5177\u7684\u5b57\u6bb5\u7ea7\u522b\u8840\u7f18\u5173\u7cfb\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u4e8c\u3001\u6784\u5efa\u8840\u7f18\u7684\u65b9\u6848<\/strong><\/h1>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>2.1 \u6536\u96c6\u65b9\u5f0f<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u65b9\u6848\u4e00<\/strong>\uff1a\u53ea\u6536\u96c6SQL\uff0c\u4e8b\u540e\u5206\u6790\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53SQL\u6267\u884c\u7ed3\u675f\uff0c\u6536\u96c6SQL\u5230DB\u6216\u8005Kafka\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u4f18\u70b9<\/strong>\uff1a\u5f53\u8ba1\u7b97\u5f15\u64ce\u548c\u5de5\u5177\u4e0d\u591a\u7684\u65f6\u5019\uff0c\u8bed\u6cd5\u76f8\u5bf9\u517c\u5bb9\u7684\u65f6\u5019\uff0c\u7528Hive\u81ea\u5e26\u7684LineageLogger\u91cd\u65b0\u89e3\u6790SQL\u53ef\u4ee5\u83b7\u5f97\u8868\u548c\u5b57\u6bb5\u7ea7\u522b\u7684\u5173\u7cfb\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u7f3a\u70b9<\/strong>\uff1a\u91cd\u653eSQL\u7684\u65f6\u5019\u53ef\u80fd\u5143\u6570\u636e\u53d1\u751f\u6539\u53d8\uff0c\u6bd4\u5982\u4e34\u65f6\u8868\u53ef\u80fd\u88abDrop\uff0c\u6ca1\u6709\u4e34\u65f6\u81ea\u5b9a\u4e49\u51fd\u6570UDF\uff0c\u6216\u8005SQL\u89e3\u6790\u5931\u8d25\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u65b9\u6848\u4e8c<\/strong>\uff1a\u8fd0\u884c\u65f6\u5206\u6790SQL\u5e76\u6536\u96c6\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53SQL\u6267\u884c\u7ed3\u675f\u540e\u7acb\u5373\u5206\u6790Lineage\uff0c\u5f02\u6b65\u53d1\u9001\u5230Kafka\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u4f18\u70b9<\/strong>\uff1a\u8fd0\u884c\u65f6\u7684\u72b6\u6001\u548c\u4fe1\u606f\u662f\u6700\u51c6\u786e\u7684\uff0c\u4e0d\u4f1a\u6709SQL\u89e3\u6790\u8bed\u6cd5\u9519\u8bef\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u7f3a\u70b9<\/strong>\uff1a\u9700\u8981\u9488\u5bf9\u5404\u4e2a\u5f15\u64ce\u548c\u5de5\u5177\u5f00\u53d1\u89e3\u6790\u6a21\u5757\uff0c\u89e3\u6790\u901f\u5ea6\u9700\u8981\u8db3\u591f\u5feb\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>2.2 \u5f00\u6e90\u65b9\u6848<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Apache Atlas<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Apache Atlas\u662fHadoop\u793e\u533a\u4e3a\u89e3\u51b3Hadoop\u751f\u6001\u7cfb\u7edf\u7684\u5143\u6570\u636e\u6cbb\u7406\u95ee\u9898\u800c\u4ea7\u751f\u7684\u5f00\u6e90\u9879\u76ee\uff0c\u5b83\u4e3aHadoop\u96c6\u7fa4\u63d0\u4f9b\u4e86\u5305\u62ec\u6570\u636e\u5206\u7c7b\u3001\u96c6\u4e2d\u7b56\u7565\u5f15\u64ce\u3001\u6570\u636e\u8840\u7f18\u3001\u5b89\u5168\u548c\u751f\u547d\u5468\u671f\u7ba1\u7406\u5728\u5185\u7684\u5143\u6570\u636e\u6cbb\u7406\u6838\u5fc3\u80fd\u529b\u3002\u5b98\u65b9\u63d2\u4ef6\u652f\u6301HBase\u3001Hive\u3001Sqoop\u3001Storm\u3001Storm\u3001Kafka\u3001Falcon\u7ec4\u4ef6\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hook\u5728\u8fd0\u884c\u65f6\u91c7\u96c6\u8840\u7f18\u6570\u636e\uff0c\u53d1\u9001\u5230Kafka\u3002Atlas\u6d88\u8d39Kafka\u6570\u636e\uff0c\u5c06\u5173\u7cfb\u5199\u5230\u56fe\u6570\u636e\u5e93JanusGraph\uff0c\u5e76\u63d0\u4f9bREST API\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5176\u4e2dHive Hook\u652f\u6301\u8868\u548c\u5217\u7ea7\u522b\u8840\u7f18\uff0cSpark\u9700\u8981\u4f7f\u7528GitHub\u7684hortonworks-spark\/spark-atlas-connector\uff0c\u4e0d\u652f\u6301\u5217\u7ea7\u522b\uff0cPresto\u5219\u4e0d\u652f\u6301\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"539\" src=\"http:\/\/www.dama.org.cn\/wordpress\/wp-content\/uploads\/2023\/06\/0ac9f6f8fd507d92c2d03418b5b69049.png\" alt=\"\" class=\"wp-image-1310\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Linkedin DataHub<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">WhereHows\u9879\u76ee\u5df2\u4e8e2018\u5e74\u91cd\u65b0\u88abLinkedIn\u516c\u53f8\u8bbe\u8ba1\u4e3aDataHub\u9879\u76ee\u3002\u5b83\u4ece\u4e0d\u540c\u7684\u6e90\u7cfb\u7edf\u4e2d\u91c7\u96c6\u5143\u6570\u636e\uff0c\u5e76\u8fdb\u884c\u6807\u51c6\u5316\u548c\u5efa\u6a21\uff0c\u4ece\u800c\u4f5c\u4e3a\u5143\u6570\u636e\u4ed3\u5e93\u5b8c\u6210\u8840\u7f18\u5206\u6790\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u793e\u533a\u63d0\u4f9b\u4e86\u4e00\u4e2aDemo\uff0c\u6f14\u793a\u5730\u5740\uff1a<a target=\"_blank\" href=\"https:\/\/demo.datahubproject.io\/\" rel=\"noreferrer noopener\">https:\/\/demo.datahubproject.io\/<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0eAirflow\u96c6\u6210\u8f83\u597d\uff0c\u652f\u6301\u6570\u636e\u96c6\u7ea7\u522b\u8840\u7f18\uff0c\u5b57\u6bb5\u7ea7\u522b\u57282021Q3\u7684Roadmap\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"447\" src=\"http:\/\/www.dama.org.cn\/wordpress\/wp-content\/uploads\/2023\/06\/1fa299bec2a38a1313f3b272578cce1e.png\" alt=\"\" class=\"wp-image-1311\"\/><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u4e09\u3001\u643a\u7a0b\u65b9\u6848<\/strong><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">\u643a\u7a0b\u91c7\u7528\u4e86\u65b9\u6848\u4e8c\uff0c\u8fd0\u884c\u65f6\u5206\u6790SQL\u5e76\u6536\u96c6\u5206\u6790\u7ed3\u679c\u5230Kafka\u3002\u7531\u4e8e\u5f00\u6e90\u65b9\u6848\u5728\u73b0\u9636\u6bb5\u4e0d\u6ee1\u8db3\u9700\u6c42\uff0c\u5219\u81ea\u884c\u5f00\u53d1\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7531\u4e8e\u5f53\u65f6\u7f3a\u5c11\u8840\u7f18\u5173\u7cfb\uff0c\u5bf9\u6570\u636e\u6cbb\u7406\u96be\u5ea6\u8f83\u5927\uff0c\u8868\u7ea7\u522b\u7684\u8840\u7f18\u89e3\u6790\u96be\u5ea6\u8f83\u4f4e\uff0c\u8868\u7684\u6570\u91cf\u8fdc\u5c0f\u4e8e\u5b57\u6bb5\u7684\u6570\u91cf\uff0c\u65e9\u671f\u5148\u5feb\u901f\u5b9e\u73b0\u4e86\u8868\u7ea7\u522b\u7248\u672c\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u572816-17\u5e74\u5b9e\u73b0\u548c\u4e0a\u7ebf\u4e86\u7b2c\u4e00\u4e2a\u7248\u672c\uff0c\u6536\u96c6\u5e38\u7528\u7684\u5de5\u5177\u548c\u5f15\u64ce\u7684\u8868\u7ea7\u522b\u7684\u8840\u7f18\u5173\u7cfb\uff0cT+1\u6784\u5efa\u5173\u7cfb\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u572819\u5e74\u8fed\u4ee3\u4e86\u7b2c\u4e8c\u4e2a\u7248\u672c\uff0c\u652f\u6301\u89e3\u6790Hive\uff0cSpark\uff0cPresto\u591a\u4e2a\u67e5\u8be2\u5f15\u64ce\u548cDataX\u4f20\u8f93\u5de5\u5177\u7684\u5b57\u6bb5\u7ea7\u522b\u8840\u7f18\u5173\u7cfb\uff0c\u8fd1\u5b9e\u65f6\u6784\u5efa\u5173\u7cfb\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u56db\u3001\u7b2c\u4e00\u4e2a\u7248\u672c-\u8868\u7ea7\u522b\u8840\u7f18\u5173\u7cfb<\/strong><\/h1>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>4.1 \u5904\u7406\u6d41\u7a0b<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u9488\u5bf9Hive\u5f15\u64ce\u5f00\u53d1\u4e86\u4e00\u4e2aHook\uff0c\u5b9e\u73b0ExecuteWithHookContext\u63a5\u53e3\uff0c\u4eceHookContext\u53ef\u4ee5\u83b7\u5f97\u6267\u884c\u8ba1\u5212\uff0c\u8f93\u5165\u8868\uff0c\u8f93\u51fa\u8868\u7b49\u4e30\u5bcc\u4fe1\u606f\uff0c\u5f02\u6b65\u53d1\u9001\u5230Kafka\uff0c\u90e8\u7f72\u7684\u65f6\u5019\u5728hive.exec.post.hooks\u6dfb\u52a0\u63d2\u4ef6\u5373\u53ef\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u572817\u5e74\u5f15\u5165Spark2\u540e\uff0c\u5927\u90e8\u5206Hive\u4f5c\u4e1a\u8fc1\u79fb\u5230Spark\u5f15\u64ce\u4e0a\uff0c\u8fd9\u65f6\u5019\u9488\u5bf9Spark SQL CLI\u5feb\u901f\u5f00\u53d1\u4e00\u4e2a\u7c7b\u4f3cHive Hook\u673a\u5236\uff0c\u6536\u96c6\u8868\u7ea7\u522b\u7684\u8840\u7f18\u5173\u7cfb\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f20\u8f93\u5de5\u5177DataX\u4f5c\u4e3a\u4e00\u4e2a\u5f02\u6784\u6570\u636e\u6e90\u540c\u6b65\u7684\u5de5\u5177\uff0c\u5355\u72ec\u5bf9\u5176\u5f00\u53d1\u4e86\u6536\u96c6\u63d2\u4ef6\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u7ecf\u8fc7\u89e3\u6790\u5904\u7406\u540e\uff0c\u5c06\u6570\u636e\u5199\u5230\u56fe\u6570\u636e\u5e93Neo4j\uff0c\u63d0\u4f9b\u5143\u6570\u636e\u7cfb\u7edf\u5c55\u793a\u548cREST API\u670d\u52a1\uff0c\u843d\u5730\u6210Hive\u5173\u7cfb\u8868\uff0c\u4f9b\u7528\u6237\u67e5\u8be2\u548c\u6cbb\u7406\u4f7f\u7528\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"651\" height=\"422\" src=\"http:\/\/www.dama.org.cn\/wordpress\/wp-content\/uploads\/2023\/06\/71429de0e16bbae136de4d28fbbb3b34.png\" alt=\"\" class=\"wp-image-1312\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>4.2 \u6548\u679c<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u5143\u6570\u636e\u7cfb\u7edf\u4e0a\uff0c\u53ef\u4ee5\u67e5\u770b\u4e00\u5f20\u8868\u591a\u5c42\u7ea7\u7684\u4e0a\u4e0b\u6e38\u8840\u7f18\u5173\u7cfb\uff0c\u5728\u5173\u7cfb\u8fb9\u4e0a\u4f1a\u6709\u4efb\u52a1ID\u7b49\u4e00\u4e9b\u5c5e\u6027\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"411\" src=\"http:\/\/www.dama.org.cn\/wordpress\/wp-content\/uploads\/2023\/06\/73298ed57331996c69c22e8e2ea61902.png\" alt=\"\" class=\"wp-image-1313\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>4.3 \u75db\u70b9<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u968f\u7740\u8ba1\u7b97\u5f15\u64ce\u7684\u589e\u52a0\uff0c\u4e1a\u52a1\u7684\u589e\u957f\uff0c\u8868\u7ea7\u522b\u7684\u8840\u7f18\u5173\u7cfb\u5df2\u7ecf\u4e0d\u6ee1\u8db3\u9700\u6c42\u3002<\/li>\n\n\n\n<li>\u8986\u76d6\u9762\u4e0d\u8db3\uff0c\u7f3a\u5c11Spark ThriftServer , Presto\u5f15\u64ce\uff0c\u7f3a\u5c11\u5373\u5e2d\u67e5\u8be2\u5e73\u53f0\uff0c\u62a5\u8868\u5e73\u53f0\u7b49\u3002<\/li>\n\n\n\n<li>\u5173\u7cfb\u4e0d\u591f\u5b9e\u65f6\uff0c\u671f\u671b\u5199\u5165\u8868\u540e\u53ef\u4ee5\u5feb\u901f\u67e5\u8be2\u5230\u5173\u7cfb\uff0c\u7528\u6237\u53ef\u4ee5\u76f4\u89c2\u67e5\u770b\u8f93\u5165\u548c\u8f93\u51fa\uff0c\u6570\u636e\u8d28\u91cf\u7cfb\u7edf\uff0c\u8c03\u5ea6\u7cfb\u7edf\u53ef\u4ee5\u6839\u636e\u4efb\u52a1ID\u67e5\u8be2\u5230\u8f93\u51fa\u8868\uff0c\u5bf9\u8868\u6267\u884c\u8d28\u91cf\u6821\u9a8c\u4efb\u52a1\u3002<\/li>\n\n\n\n<li>\u56fe\u6570\u636e\u5e93Neo4j\u793e\u533a\u7248\u4e3a\u5355\u673a\u7248\u672c\uff0c\u5b58\u50a8\u6570\u91cf\u6709\u9650\uff0c\u7a33\u5b9a\u6027\u6b20\u4f73\uff0c\u5f53\u65f6\u4f7f\u7528\u7684\u7248\u672c\u8f83\u4f4e\uff0c\u5bf9\u8fb9\u4e0d\u80fd\u4f7f\u7528\u7d22\u5f15(3.5\u652f\u6301)\uff0c\u8fd9\u4f7f\u5f97\u60f3\u4ece\u5173\u7cfb\u641c\u7d22\u5230\u5173\u8054\u7684\u4e0a\u4e0b\u6e38\u8f83\u4e3a\u9ebb\u70e6\u3002<\/li>\n<\/ul>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u4e94\u3001\u7b2c\u4e8c\u7248\u672c-\u5b57\u6bb5\u7ea7\u522b\u8840\u7f18\u5173\u7cfb<\/strong><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e4b\u524d\u5b9e\u73b0\u7684\u7b2c\u4e00\u4e2a\u7248\u672c\uff0c\u5bf9\u4e8e\u7ec6\u7c92\u5ea6\u7684\u6cbb\u7406\u548c\u8ffd\u8e2a\u8fd8\u4e0d\u591f\uff0c\u4e0d\u4ec5\u7f3a\u5c11\u5bf9\u5b57\u6bb5\u7ea7\u522b\u7684\u8840\u7f18\u5173\u7cfb\uff0c\u4e5f\u4e0d\u652f\u6301\u91c7\u96c6\u5404\u4e2a\u7cfb\u7edf\u7684\u57cb\u70b9\u4fe1\u606f\u548c\u81ea\u5b9a\u4e49\u6269\u5c55\u5c5e\u6027\uff0c\u96be\u4ee5\u8ffd\u8e2a\u5b8c\u6574\u94fe\u8def\u6765\u6e90\uff0c\u5e76\u4e14\u5173\u7cfb\u662fT+1\uff0c\u4e0d\u591f\u5b9e\u65f6\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9488\u5bf9\u5404\u4e2a\u8ba1\u7b97\u5f15\u64ce\u548c\u4f20\u8f93\u5de5\u5177DataX\u5f00\u53d1\u4e0d\u540c\u7684\u89e3\u6790\u63d2\u4ef6\uff0c\u5c06\u89e3\u6790\u597d\u7684\u8840\u7f18\u6570\u636e\u53d1\u9001\u5230Kafka\uff0c\u5b9e\u65f6\u6d88\u8d39Kafka\uff0c\u628a\u5173\u7cfb\u6570\u636e\u5199\u5230\u5206\u5e03\u5f0f\u56fe\u6570\u636eJanusGraph\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"767\" height=\"422\" src=\"http:\/\/www.dama.org.cn\/wordpress\/wp-content\/uploads\/2023\/06\/8db7a7b5c0fd248e8b4922b64b25552a.png\" alt=\"\" class=\"wp-image-1314\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>5.1 \u4f20\u8f93\u5de5\u5177DataX<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u963f\u91cc\u5f00\u6e90\u7684Druid\u662f\u4e00\u4e2a JDBC \u7ec4\u4ef6\u5e93\uff0c\u5305\u542b\u6570\u636e\u5e93\u8fde\u63a5\u6c60\u3001SQL Parser \u7b49\u7ec4\u4ef6\u3002\u901a\u8fc7\u91cd\u5199MySqlASTVisitor\u3001SQLServerASTVisitor\u6765\u89e3\u6790MySQL \/ SQLServer\u7684\u67e5\u8be2SQL\uff0c\u83b7\u5f97\u5217\u7ea7\u522b\u7684\u5173\u7cfb\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>.2 \u8ba1\u7b97\u5f15\u64ce<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u8ba1\u7b97\u5f15\u64ce\u7edf\u4e00\u683c\u5f0f\uff0c\u6536\u96c6\u8f93\u5165\u8868\u3001\u8f93\u51fa\u8868\uff0c\u8f93\u5165\u5b57\u6bb5\u3001\u8f93\u51fa\u5b57\u6bb5\uff0c\u6d41\u8f6c\u7684\u8868\u8fbe\u5f0f\u7b49\u4e00\u4e9b\u4fe1\u606f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"200\" height=\"454\" src=\"http:\/\/www.dama.org.cn\/wordpress\/wp-content\/uploads\/2023\/06\/1149282ca69df7e28a93f425dc9c7182.png\" alt=\"\" class=\"wp-image-1315\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Hive<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u53c2\u8003 org.apache.hadoop.hive.ql.hooks.LineageLogger \u5b9e\u73b0\uff0c\u5f02\u6b65\u53d1\u9001\u8840\u7f18\u6570\u636e\u5230 Kafka\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Atlas\u7684HiveHook\u4e5f\u662f\u5b9e\u73b0ExecuteWithHookContext\u63a5\u53e3\uff0c\u4eceHookContext\u83b7\u5f97LineageInfo\uff0c\u4e5f\u53ef\u4ee5\u53c2\u8003HIVE-19288 \u5f15\u5165\u7684org.apache.hadoop.hive.ql.hooks.HiveProtoLoggingHook\uff0c\u91c7\u96c6\u66f4\u591a\u5f15\u64ce\u76f8\u5173\u7684\u4fe1\u606f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5176\u4e2d\u9047\u5230\u51e0\u4e2a\u95ee\u9898\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u901a\u8fc7HiveServer2\u6267\u884c\u83b7\u53d6\u7684start time\u4e0d\u6b63\u786e<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">HIVE-10957 QueryPlan&#8217;s start time is incorrect in certain cases<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u83b7\u53d6\u6267\u884c\u8ba1\u5212\u7a7a\u6307\u9488\uff0c\u5bfc\u81f4\u6536\u96c6\u5931\u8d25<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">HIVE-12709 further improve user level explain<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u83b7\u53d6\u6267\u884c\u8ba1\u5212\u6709\u53ef\u80fd\u51fa\u73b0\u5361\u4f4f\uff0c\u53ef\u4ee5\u52a0\u4e2a\u8c03\u7528\u8d85\u65f6\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Spark<\/strong><\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">\u524d\u7f6e\u6761\u4ef6\uff1a\u5f15\u5165 SPARK-19558 Add config key to register QueryExecutionListeners automatically\uff0c\u5b9e\u73b0\u81ea\u52a8\u6ce8\u518cQueryExecutionListener\u3002<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b9e\u73b0\u65b9\u5f0f\uff1a\u901a\u8fc7\u5b9e\u73b0QueryExecutionListener\u63a5\u53e3\uff0c\u5728onSuccess\u56de\u8c03\u51fd\u6570\u62ff\u5230\u5f53\u524d\u6267\u884c\u7684QueryExecution\uff0c\u901a\u8fc7LogicalPlan\u7684output\u65b9\u6cd5\uff0c\u83b7\u5f97\u6240\u6709Attribute\uff0c\u5229\u7528NamedExpression\u7684exprId\u6620\u5c04\u5173\u7cfb\uff0c\u5bf9\u5176\u8fdb\u884c\u904d\u5386\u548c\u89e3\u6790\uff0c\u6784\u5efa\u5217\u7ea7\u522b\u5173\u7cfb\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8986\u76d6\u8303\u56f4\uff1aSpark SQL CLI\u3001Thrift Server\u3001\u4f7f\u7528Dataset\/DataFrame API\uff08\u5982spark-submit\u3001spark-shell\u3001pyspark\uff09<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9047\u5230\u95ee\u9898\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4f7f\u7528analyzedPlan\u800c\u4e0d\u662foptimizedPlan\uff0coptimizer\u7684\u6267\u884c\u8ba1\u5212\u53ef\u80fd\u4f1a\u4e22\u5931\u4e00\u4e9b\u4fe1\u606f\uff0c\u53ef\u4ee5\u5728analyzedPlan\u7684\u57fa\u7840\u4e0aapply\u4e00\u4e9b\u6709\u52a9\u4e8e\u5206\u6790\u7684Rule\uff0c\u5982CombineUnions\u3002<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4f20\u9012\u7684\u521d\u59cb\u5316\u7528\u7684hiveconf\/hivevar\u53d8\u91cf\u88abThrift Server\u5ffd\u7565\uff0c\u5bfc\u81f4\u521d\u59cb\u5316Connection\u6ca1\u6709\u529e\u6cd5\u57cb\u70b9\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u6253\u4e0aPatch SPARK-13983 \uff0c\u53ef\u4ee5\u5b9e\u73b0\u7b2c\u4e00\u6b65\uff0c\u4f20\u9012\u53d8\u91cf\uff0c\u4f46\u662f\u8fd9\u4e2a\u53d8\u91cf\u5728\u6bcf\u6b21\u6267\u884c\u65b0\u7684statement\u90fd\u91cd\u65b0\u521d\u59cb\u5316\uff0c\u5bfc\u81f4\u7528\u6237set\u7684\u53d8\u91cf\u4e0d\u53ef\u66f4\u65b0\u3002\u540e\u7eed\u7ed9\u793e\u533a\u63d0\u4ea4PR SPARK-26598\uff0c\u4fee\u590d\u53d8\u91cf\u4e0d\u53ef\u66f4\u65b0\u7684\u95ee\u9898\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">SPARK-13983 Fix HiveThriftServer2 can not get &#8220;&#8211;hiveconf&#8221; and &#8220;&#8211;hivevar&#8221; variables since 2.0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">SPARK-26598 Fix HiveThriftServer2 cannot be modified hiveconf\/hivevar variables<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Drop Table \u7684\u9650\u5236\uff0cDropTableCommand\u6267\u884c\u6210\u529f\u7684\u65f6\u5019\uff0c\u8be5\u8868\u4e0d\u4e00\u5b9a\u5728\u4e4b\u524d\u5b58\u5728\u8fc7\uff0c\u5982\u679c\u5728Drop\u4e4b\u524d\u5b58\u5728\u8fc7\uff0c\u5143\u6570\u636e\u4e5f\u5df2\u7ecf\u88ab\u5220\u9664\u4e86\uff0c\u65e0\u4ece\u8003\u8bc1\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728DropTableCommand\u589e\u52a0\u4e86\u4e00\u4e2a\u6807\u5fd7\u4f4d\uff0c\u771f\u6b63\u5728\u6709\u6267\u884cDrop\u64cd\u4f5c\u7684\u8bdd\u518d\u7f6e\u4e3aTrue\uff0c\u4fdd\u8bc1\u6536\u96c6\u7684\u8840\u7f18\u6570\u636e\u662f\u5bf9\u7684\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4f7f\u7528Transform\u7528\u6237\u81ea\u5b9a\u4e49\u811a\u672c\u7684\u9650\u5236<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Transform\u4e0d\u50cfjava UDF\uff0c\u53ea\u8f93\u5165\u9700\u8981\u7528\u5230\u7684\u5b57\u6bb5\u5373\u53ef\uff0c\u800c\u662f\u9700\u8981\u5c06\u6240\u6709\u540e\u7eed\u7528\u5230\u7684\u5b57\u6bb5\u90fd\u8f93\u5165\u5230\u81ea\u5b9a\u4e49\u811a\u672c\uff0c\u811a\u672c\u518d\u51b3\u5b9a\u8f93\u51fa\u54ea\u4e9b\u5b57\u6bb5\uff0c\u8fd9\u5176\u4e2d\u5217\u4e0e\u5217\u4e4b\u95f4\u7684\u6620\u5c04\u5173\u7cfb\u65e0\u6cd5\u901a\u8fc7\u6267\u884c\u8ba1\u5212\u83b7\u5f97\uff0c\u53ea\u80fd\u7b80\u5355\u7684\u8bb0\u5f55\u8f93\u51fa\u5217\u7684\u8868\u8fbe\u5f0f\uff0c\u5982transform(c1,c2,c3) script xxx.py to c4\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Presto<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f00\u53d1Presto EventListener Plugin\uff0c\u5b9e\u73b0EventListener\u63a5\u53e3\uff0c\u4ecequeryCompleted\u56de\u8c03\u51fd\u6570\u7684QueryCompletedEvent\u89e3\u6790\u5f97\u5230\u76f8\u5e94\u7684\u4fe1\u606f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0a\u7ebf\u7684\u65f6\u5019\u9047\u5230\u4e00\u4e2a\u65e0\u6cd5\u52a0\u8f7dKafka\u52a0\u8f7dStringSerializer\u7684\u95ee\u9898\uff08StringSerializer could not be found\uff09\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Kafka\u5ba2\u6237\u7aef\u4f7f\u7528 Class.forName(trimmed, true, Utils.getContextOrKafkaClassLoader()) \u6765\u52a0\u8f7dClass\uff0c\u4f18\u5148\u4ece\u5f53\u524d\u7ebf\u7a0b\u7684ContextClassLoader\u52a0\u8f7d\uff0c\u4e0ePresto\u7684ThreadContextClassLoader\u6709\u51b2\u7a81\uff0c\u9700\u8981\u521d\u5316\u59cbKafkaProducer\u7684\u65f6\u5019\uff0c\u5c06ContextClassLoader\u6682\u65f6\u7f6e\u4e3aNULL\u3002<a target=\"_blank\" href=\"https:\/\/stackoverflow.com\/a\/50981469\/1673775\" rel=\"noreferrer noopener\">https:\/\/stackoverflow.com\/a\/50981469\/1673775<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>5.3 \u56fe\u6570\u636e\u5e93JanusGraph<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">JanusGraph\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u5206\u5e03\u5f0f\u56fe\u6570\u636e\u5e93\u3002\u5177\u6709\u5f88\u597d\u7684\u6269\u5c55\u6027\uff0c\u901a\u8fc7\u591a\u673a\u96c6\u7fa4\u53ef\u652f\u6301\u5b58\u50a8\u548c\u67e5\u8be2\u6570\u767e\u4ebf\u7684\u9876\u70b9\u548c\u8fb9\u7684\u56fe\u6570\u636e\u3002JanusGraph\u662f\u4e00\u4e2a\u4e8b\u52a1\u6570\u636e\u5e93\uff0c\u652f\u6301\u5927\u91cf\u7528\u6237\u9ad8\u5e76\u53d1\u5730\u6267\u884c\u590d\u6742\u7684\u5b9e\u65f6\u56fe\u904d\u5386\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u751f\u4ea7\u4e0a\uff0c\u5b58\u50a8\u6211\u4eec\u4f7f\u7528Cassandra\uff0c\u7d22\u5f15\u4f7f\u7528Elasticsearch\uff0c\u4f7f\u7528Gremlin\u67e5\u8be2\/\u904d\u5386\u8bed\u8a00\u6765\u8bfb\u5199JanusGraph\uff0c\u6709\u4e0a\u624b\u96be\u5ea6\uff0c\u719f\u6089Neo4j\u7684Cypher\u8bed\u6cd5\u53ef\u4ee5\u4f7f\u7528cypher-for-gremlin plugin\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"528\" src=\"http:\/\/www.dama.org.cn\/wordpress\/wp-content\/uploads\/2023\/06\/292087ebc30bb2a0d36b268fb61fb2ea.png\" alt=\"\" class=\"wp-image-1316\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ee5\u4e0b\u662f\u6570\u636e\u8840\u7f18\u5199\u5165\u56fe\u6570\u636e\u5e93\u7684\u6a21\u578b\uff0cHive\u5b57\u6bb5\u5355\u72ec\u4e3a\u4e00\u4e2aLable\uff0c\u5173\u7cfb\u578bDB\u5b57\u6bb5\u4e3a\u4e00\u4e2aLabel\uff0c\u5173\u7cfb\u5206\u4e24\u79cd\uff0cLABELWRITE\uff0cLABELWRITE_TTL\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u53ea\u6709\u8f93\u5165\u6ca1\u6709\u8f93\u51fa\uff08Query\u67e5\u8be2\u64cd\u4f5c\uff09\uff0c\u53ea\u6709\u8f93\u51fa\u6ca1\u6709\u8f93\u5165\uff08\u5efa\u8868\u7b49DDL\u64cd\u4f5c\uff09\u4e5f\u4f1a\u5f3a\u5236\u7ed1\u5b9a\u4e00\u4e2a\u6765\u6e90\u7cfb\u7edf\u7684ID\u53ca\u6269\u5c55\u5c5e\u6027\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u751f\u4ea7\u4e0a\u4f7f\u7528JanusGraph\uff0c\u5b58\u50a8\u4ebf\u7ea7\u7684\u8840\u7f18\u5173\u7cfb\uff0c\u4f46\u662f\u5728\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u4e5f\u9047\u5230\u4e86\u4e00\u4e9b\u6027\u80fd\u95ee\u9898\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5199\u5165\u901f\u5ea6\u4f18\u5316<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ee5DB\u540d+\u8868\u540d+\u5b57\u6bb5\u540d\u4f5c\u4e3a\u552f\u4e00key\uff0c\u5b9e\u73b0getOrCreateVertex\uff0c\u5e76\u5bf9vertex id\u7f13\u5b58\uff0c\u52a0\u901f\u9876\u70b9\u7684\u52a0\u8f7d\u901f\u5ea6\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5173\u7cfb\u6279\u91cf\u5220\u9664<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u5173\u7cfbLABELWRITETTL\u8868\u793a\u5199\u5165\u7684\u5173\u7cfb\u6709\u5b58\u6d3b\u65f6\u95f4\uff08TTL-Time to live\uff09\uff0c\u8fd9\u662f\u56e0\u4e3a\u5728\u6279\u91cf\u5220\u9664\u5173\u7cfb\u7684\u65f6\u5019\uff0cJanusGraph\u901f\u5ea6\u76f8\u5f53\u6162\uff0c\u800c\u4e14\u5f88\u5bb9\u6613OOM\u3002\u6bd4\u5982\u8981\u4e00\u6b21\u6027\u5220\u9664\uff0cLabel\u4e3aWRITE\uff0cx=y\uff0c\u5199\u5165\u65f6\u95f4\u5c0f\u4e8e\u7b49\u4e8e\u67d0\u4e2a\u65f6\u95f4\u7684\u8fb9\uff0c\u8fd9\u65f6\u5019Vertex\u548cEdge load\u5230\u5185\u5b58\u4e2d\uff0c\u5bb9\u6613OOM\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">g.E().hasLabel(&#8220;WRITE&#8221;).has(&#8220;x&#8221;,eq(&#8220;y&#8221;)).has(&#8220;publishedDate&#8221;,P.lte(new Date(1610640000))).drop().iterate()<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5c1d\u8bd5\u4f7f\u7528\u591a\u7ebf\u7a0b+\u5206\u6279\u6b21\u7684\u65b9\u5f0f\uff0c\u5373N\u4e2a\u7ebf\u7a0b\uff0c\u6bcf\u4e2a\u7ebf\u7a0b\u5220\u96641000\u6761\uff0c\u901f\u5ea6\u4e5f\u4e0d\u592a\u53ef\u63a5\u53d7\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u65f6\u5019\u91c7\u7528\u4e86\u6298\u4e2d\u7684\u65b9\u6848\uff0c\u9700\u8981\u5220\u9664\u5173\u7cfb\u7528\u53e6\u5916\u4e00\u79cdLabel\u6765\u8868\u793a\uff0c\u5e76\u5728\u521b\u5efaLabel\u6307\u5b9a\u4e86TTL\uff0c\u7531\u4e8eCassandra\u652f\u6301cell level TTL\uff0c\u6240\u4ee5\u8fb9\u7684\u6570\u636e\u4f1a\u81ea\u52a8\u88ab\u5220\u9664\u3002\u4f46\u662fES\u4e0d\u652f\u6301TTL\uff0c\u5b9e\u73b0\u4e00\u4e2a\u5b9a\u65f6\u5220\u9664ES\u8fc7\u671f\u6570\u636e\u5373\u53ef\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"435\" src=\"http:\/\/www.dama.org.cn\/wordpress\/wp-content\/uploads\/2023\/06\/97f7a56a862b726bf1455708dcae50a6.png\" alt=\"\" class=\"wp-image-1323\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>5.4 \u8986\u76d6\u8303\u56f4<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Zeus\u8c03\u5ea6\u5e73\u53f0 \uff08ETL\u64cd\u4f5cINSERT\u3001CTAS\uff0cQUERY\uff09<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ad-Hoc\u5373\u5e2d\u67e5\u8be2\u5e73\u53f0 \uff08CTAS\uff0cQUERY\uff09<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u62a5\u8868\u5e73\u53f0 \uff08QUERY\uff09<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5143\u6570\u636e\u5e73\u53f0 \uff08DDL\u64cd\u4f5c\uff09<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">GPU\u5e73\u53f0 \uff08PySpark\uff09<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u901a\u8fc7ETL\u4efb\u52a1ID\uff0c\u67e5\u8be2\u4efb\u52a1ID\uff0c\u62a5\u8868ID\uff0c\u90fd\u53ef\u4ee5\u83b7\u53d6\u5230\u8f93\u5165\uff0c\u8f93\u51fa\u7684\u8868\u548c\u5b57\u6bb5\u7684\u5173\u7cfb\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>5.5 \u5c40\u9650<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f7f\u7528MapReduce\u3001Spark RDD\u8bfb\u5199HDFS\u7684\u8840\u7f18\u6682\u65f6\u6ca1\u6709\u5b9e\u73b0\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u601d\u8def\u53ef\u4ee5\u5728JobClient.submitJob\u7684\u65f6\u5019\u91c7\u96c6\u8f93\u5165\u548c\u8f93\u51fa\u8def\u5f84\uff0c\u53c8\u6216\u8005\u901a\u8fc7HDFS\u7684AuditLog\u3001CallerContext\u6765\u5173\u8054\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>5.6 \u6548\u679c<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u7b2c\u4e00\u7248\u4f7f\u7528\u56fe\u7684\u65b9\u5f0f\u5c55\u793a\u8840\u7f18\u5173\u7cfb\uff0c\u5728\u4e0a\u4e0b\u6e38\u5173\u7cfb\u8f83\u591a\u7684\u65f6\u5019\uff0c\u663e\u793a\u8f83\u4e3a\u6df7\u4e71\uff0c\u7b2c\u4e8c\u7248\u6539\u6210\u6811\u72b6\u8868\u683c\u7684\u65b9\u5f0f\u5c55\u793a\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b57\u6bb5operator\u5728\u8c03\u5ea6\u7cfb\u7edfZeus\u88ab\u8f6c\u6362\u6210hive_account\uff0c\u6700\u540e\u8f93\u51fa\u662fArtNova\u62a5\u8868\u7cfb\u7edf\u7684\u4e00\u5f20\u62a5\u8868\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"802\" height=\"586\" src=\"http:\/\/www.dama.org.cn\/wordpress\/wp-content\/uploads\/2023\/06\/76b795b7338678646ad067a7b6541456-1.png\" alt=\"\" class=\"wp-image-1322\"\/><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u516d\u3001\u5b9e\u9645\u5e94\u7528\u573a\u666f<\/strong><\/h1>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>6.1 \u6570\u636e\u6cbb\u7406<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u901a\u8fc7\u8840\u7f18\u5173\u7cfb\u7b5b\u9009\uff0c\u6bcf\u5929\u6e05\u7406\u6570\u5343\u5f20\u672a\u4f7f\u7528\u7684\u4e34\u65f6\u8868\uff0c\u8282\u7ea6\u7a7a\u95f4\u3002<\/li>\n\n\n\n<li>\u4f5c\u4e3a\u6570\u636e\u8d44\u4ea7\u8bc4\u4f30\u7684\u4f9d\u636e\uff0c\u7edf\u8ba1\u8868\u3001\u5b57\u6bb5\u8bfb\u5199\u6b21\u6570\uff0c\u751f\u6210\u7684\u8868\u65e0\u4e0b\u6e38\u8bbf\u95ee\uff0c\u5305\u62ec\u6709\u6ca1\u6709\u8c03\u5ea6\u4efb\u52a1\uff0c\u62a5\u8868\u4efb\u52a1\uff0c\u5373\u5e2d\u67e5\u8be2\u3002<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>6.2 \u5143\u6570\u636e\u7ba1\u7406<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u7edf\u8ba1\u4e00\u5f20\u8868\u7684\u751f\u6210\u65f6\u95f4\uff0c\u800c\u4e0d\u662f\u7edf\u8ba1\u6574\u4e2a\u4efb\u52a1\u7684\u5b8c\u6210\u65f6\u95f4\u3002<\/li>\n\n\n\n<li>\u6570\u636e\u5f02\u5e38\uff0c\u6216\u8005\u4e0b\u7ebf\u4e00\u5f20\u8868\u3001\u4e00\u4e2a\u5b57\u6bb5\u7684\u65f6\u5019\uff0c\u53ef\u4ee5\u627e\u5230\u76f8\u5173\u7684ETL\u4efb\u52a1\u6216\u8005\u62a5\u8868\u4efb\u52a1\uff0c\u53ca\u65f6\u901a\u77e5\u4e0b\u6e38\u3002<\/li>\n\n\n\n<li>\u7edf\u8ba1\u8868\u7684\u4f7f\u7528\u70ed\u5ea6\uff0c\u663e\u793a\u8d8b\u52bf\u3002<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"902\" height=\"493\" src=\"http:\/\/www.dama.org.cn\/wordpress\/wp-content\/uploads\/2023\/06\/1fed98cf1b6a5067f041dd5338e9fc1b-1.png\" alt=\"\" class=\"wp-image-1321\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>6.3 \u8c03\u5ea6\u7cfb\u7edf<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f97\u76ca\u4e8e\u5728\u56fe\u6570\u636e\u5e93JanusGraph\u53ef\u4ee5\u4f7f\u7528\u5173\u7cfb\u8fb9\u7684key\u4f5c\u4e3a\u7d22\u5f15\uff0c\u53ef\u4ee5\u6839\u636e\u4efb\u52a1ID\u53ef\u4ee5\u8f7b\u677e\u83b7\u5f97\u8be5\u4efb\u52a1\u8f93\u5165\u548c\u8f93\u51fa\u8868\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5f53\u914d\u7f6e\u4e00\u4e2a\u4efb\u52a1A\u7684\u4f9d\u8d56\u4efb\u52a1\u5217\u8868\u7684\u65f6\u5019\uff0c\u53ef\u4ee5\u4f7f\u7528\u63a8\u8350\u4f9d\u8d56\uff0c\u68c0\u67e5\u4f9d\u8d56\u529f\u80fd\uff0c\u83b7\u5f97\u4efb\u52a1A\u7684\u6240\u6709\u8f93\u5165\u8868\uff0c\u518d\u901a\u8fc7\u8f93\u5165\u7684\u8868\u83b7\u5f97\u5199\u5165\u4efb\u52a1ID\u5217\u8868\uff0c\u5373\u4e3a\u4efb\u52a1A\u6240\u9700\u4f9d\u8d56\u7684\u4efb\u52a1\u5217\u8868\u3002<\/li>\n\n\n\n<li>\u5728\u4efb\u52a1\u7ed3\u675f\u540e\uff0c\u83b7\u53d6\u8be5\u4efb\u52a1\u6240\u6709\u8f93\u51fa\u7684\u8868\uff0c\u8fdb\u884c\u9884\u914d\u7684\u89c4\u5219\u8fdb\u884c\u6570\u636e\u8d28\u91cf\u6821\u9a8c\u3002<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"802\" height=\"628\" src=\"http:\/\/www.dama.org.cn\/wordpress\/wp-content\/uploads\/2023\/06\/5d928a5fb308cf0d98a2a968dac91788-1.png\" alt=\"\" class=\"wp-image-1320\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>6.4 \u654f\u611f\u7b49\u7ea7\u6807\u7b7e<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53\u6e90\u5934\u7684\u6570\u636e\u6765\u81ea\u751f\u4ea7DB\u65f6\uff0c\u751f\u4ea7DB\u6709\u4e9b\u5217\u7684\u6807\u7b7e\u5df2\u6253\u4e0a\u4e86\u654f\u611f\u7b49\u7ea7\uff0c\u901a\u8fc7\u8840\u7f18\u5173\u7cfb\uff0c\u4e0b\u6e38\u7684\u8868\u53ef\u4ee5\u7ee7\u627f\u654f\u611f\u7b49\u7ea7\uff0c\u81ea\u52a8\u6253\u4e0a\u654f\u611f\u6807\u7b7e\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u4e03\u3001\u603b\u7ed3<\/strong><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ee5\u4e0a\u63cf\u8ff0\u4e86\u643a\u7a0b\u5982\u4f55\u6784\u5efa\u8868\u548c\u5b57\u6bb5\u7ea7\u522b\u7684\u8840\u7f18\u5173\u7cfb\uff0c\u53ca\u5728\u5b9e\u9645\u5e94\u7528\u7684\u573a\u666f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u968f\u7740\u4e1a\u52a1\u9700\u6c42\u548c\u6570\u636e\u7684\u589e\u957f\uff0c\u6570\u636e\u7684\u52a0\u5de5\u6d41\u7a0b\u8d8a\u6765\u8d8a\u590d\u6742\uff0c\u6784\u5efa\u4e00\u5957\u6570\u636e\u8840\u7f18\uff0c\u53ef\u4ee5\u8f7b\u677e\u67e5\u8be2\u5230\u6570\u636e\u4e4b\u95f4\u7684\u5173\u7cfb\uff0c\u8fdb\u884c\u8868\u548c\u5b57\u6bb5\u7ea7\u7684\u8840\u7f18\u8ffd\u6eaf\uff0c\u5728\u5143\u6570\u636e\u7ba1\u7406\uff0c\u6570\u636e\u6cbb\u7406\uff0c\u6570\u636e\u8d28\u91cf\u4e0a\u627f\u62c5\u91cd\u8981\u4e00\u73af\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f5c\u8005\u7b80\u4ecb\uff1acxzl25\uff0c\u643a\u7a0b\u8f6f\u4ef6\u6280\u672f\u4e13\u5bb6\uff0c\u5173\u6ce8\u5927\u6570\u636e\u9886\u57df\u751f\u6001\u5efa\u8bbe\uff0c\u5bf9\u5206\u5e03\u5f0f\u8ba1\u7b97\u548c\u5b58\u50a8\u3001\u8c03\u5ea6\u7b49\u65b9\u9762\u6709\u6d53\u539a\u5174\u8da3\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u6587\u6765\u6e90\uff1a\u5fae\u4fe1\u516c\u4f17\u53f7<strong>\u643a\u7a0b\u6280\u672f<\/strong>\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u524d\u8a00 Data lineage in &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,15,18],"tags":[],"class_list":["post-1309","post","type-post","status-publish","format-standard","hentry","category-20","category-15","category-18"],"_links":{"self":[{"href":"https:\/\/www.dama.org.cn\/wordpress\/wp-json\/wp\/v2\/posts\/1309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dama.org.cn\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dama.org.cn\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dama.org.cn\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dama.org.cn\/wordpress\/wp-json\/wp\/v2\/comments?post=1309"}],"version-history":[{"count":6,"href":"https:\/\/www.dama.org.cn\/wordpress\/wp-json\/wp\/v2\/posts\/1309\/revisions"}],"predecessor-version":[{"id":1329,"href":"https:\/\/www.dama.org.cn\/wordpress\/wp-json\/wp\/v2\/posts\/1309\/revisions\/1329"}],"wp:attachment":[{"href":"https:\/\/www.dama.org.cn\/wordpress\/wp-json\/wp\/v2\/media?parent=1309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dama.org.cn\/wordpress\/wp-json\/wp\/v2\/categories?post=1309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dama.org.cn\/wordpress\/wp-json\/wp\/v2\/tags?post=1309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}