{"id":1450,"date":"2020-05-29T01:31:45","date_gmt":"2020-05-28T17:31:45","guid":{"rendered":"http:\/\/39.97.231.10\/?p=1450"},"modified":"2020-05-29T01:31:45","modified_gmt":"2020-05-28T17:31:45","slug":"%e7%ae%a1%e7%90%86-hudi-pipelines","status":"publish","type":"post","link":"http:\/\/www.weijing.co\/?p=1450","title":{"rendered":"\u7ba1\u7406 Hudi Pipelines"},"content":{"rendered":"<header><\/header>\n<section>\n<aside>\n<nav><span style=\\\"font-size: 16px;\\\">\u5f53Hudi\u51fa\u73b0\u95ee\u9898\u65f6\uff0c\u8fd0\u7ef4\u4eba\u5458\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u4e86\u89e3Hudi\u6570\u636e\u96c6\/\u7ba1\u9053\u8fdb\u884c\u6545\u969c\u6392\u67e5\u3002<\/span><br \/>\n<\/nav>\n<\/aside>\n<ul>\n<li>\u901a\u8fc7Admin CLI\u8fdb\u884c\u7ba1\u7406<\/li>\n<li>Graphite\u6307\u6807<\/li>\n<li>Hudi\u5e94\u7528\u7a0b\u5e8f\u7684Spark UI<\/li>\n<\/ul>\n<h2 id=\\\"admin-cli\\\" tabindex=\\\"-1\\\">Admin CLI\u7ba1\u7406<\/h2>\n<p>\u4e00\u65e6\u6784\u5efa\u4e86hudi\uff0c\u5c31\u53ef\u4ee5\u901a\u8fc7cd hudi-cli &amp;&amp; .\/hudi-cli.sh\u542f\u52a8shell\u3002 \u4e00\u4e2ahudi\u6570\u636e\u96c6\u4f4d\u4e8eDFS\u4e0a\u7684basePath\u4f4d\u7f6e\uff0c\u6211\u4eec\u9700\u8981\u8be5\u4f4d\u7f6e\u624d\u80fd\u8fde\u63a5\u5230Hudi\u6570\u636e\u96c6\u3002 Hudi\u5e93\u4f7f\u7528.hoodie\u5b50\u6587\u4ef6\u5939\u8ddf\u8e2a\u6240\u6709\u5143\u6570\u636e\uff0c\u4ece\u800c\u6709\u6548\u5730\u5728\u5185\u90e8\u7ba1\u7406\u8be5\u6570\u636e\u96c6\u3002\u521d\u59cb\u5316hudi\u8868\uff0c\u53ef\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u3002<\/p>\n<div>\n<div>\n<pre>18\/09\/06 15:56:52 INFO annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 \\'javax.inject.Inject\\' annotation found and supported for autowiring\n============================================\n*                                          *\n*     _    _           _   _               *\n*    | |  | |         | | (_)              *\n*    | |__| |       __| |  -               *\n*    |  __  ||   | \/ _` | ||               *\n*    | |  | ||   || (_| | ||               *\n*    |_|  |_|\\\\___\/ \\\\____\/ ||               *\n*                                          *\n============================================\nWelcome to Hoodie CLI. Please type help if you are looking for help.\nhudi-&gt;create --path \/user\/hive\/warehouse\/table1 --tableName hoodie_table_1 --tableType COPY_ON_WRITE\n.....\n18\/09\/06 15:57:15 INFO table.HoodieTableMetaClient: Finished Loading Table of type COPY_ON_WRITE from ...\n<\/pre>\n<\/div>\n<\/div>\n<p>\u4f7f\u7528desc\u547d\u4ee4\u53ef\u4ee5\u67e5\u770bhudi\u8868\u7684\u63cf\u8ff0\u4fe1\u606f:<\/p>\n<div>\n<div>\n<pre>hoodie:hoodie_table_1-&gt;desc\n18\/09\/06 15:57:19 INFO timeline.HoodieActiveTimeline: Loaded instants []\n    _________________________________________________________\n    | Property                | Value                        |\n    |========================================================|\n    | basePath                | ...                          |\n    | metaPath                | ...                          |\n    | fileSystem              | hdfs                         |\n    | hoodie.table.name       | hoodie_table_1               |\n    | hoodie.table.type       | COPY_ON_WRITE                |\n    | hoodie.archivelog.folder|                              |\n<\/pre>\n<\/div>\n<\/div>\n<p>\u4ee5\u4e0b\u662f\u8fde\u63a5\u5230\u5305\u542buber trips\u7684Hudi\u6570\u636e\u96c6\u7684\u793a\u4f8b\u547d\u4ee4\u3002<\/p>\n<div>\n<div>\n<pre>hoodie:trips-&gt;connect --path \/app\/uber\/trips\n16\/10\/05 23:20:37 INFO model.HoodieTableMetadata: Attempting to load the commits under \/app\/uber\/trips\/.hoodie with suffix .commit\n16\/10\/05 23:20:37 INFO model.HoodieTableMetadata: Attempting to load the commits under \/app\/uber\/trips\/.hoodie with suffix .inflight\n16\/10\/05 23:20:37 INFO model.HoodieTableMetadata: All commits :HoodieCommits{commitList=[20161002045850, 20161002052915, 20161002055918, 20161002065317, 20161002075932, 20161002082904, 20161002085949, 20161002092936, 20161002105903, 20161002112938, 20161002123005, 20161002133002, 20161002155940, 20161002165924, 20161002172907, 20161002175905, 20161002190016, 20161002192954, 20161002195925, 20161002205935, 20161002215928, 20161002222938, 20161002225915, 20161002232906, 20161003003028, 20161003005958, 20161003012936, 20161003022924, 20161003025859, 20161003032854, 20161003042930, 20161003052911, 20161003055907, 20161003062946, 20161003065927, 20161003075924, 20161003082926, 20161003085925, 20161003092909, 20161003100010, 20161003102913, 20161003105850, 20161003112910, 20161003115851, 20161003122929, 20161003132931, 20161003142952, 20161003145856, 20161003152953, 20161003155912, 20161003162922, 20161003165852, 20161003172923, 20161003175923, 20161003195931, 20161003210118, 20161003212919, 20161003215928, 20161003223000, 20161003225858, 20161004003042, 20161004011345, 20161004015235, 20161004022234, 20161004063001, 20161004072402, 20161004074436, 20161004080224, 20161004082928, 20161004085857, 20161004105922, 20161004122927, 20161004142929, 20161004163026, 20161004175925, 20161004194411, 20161004203202, 20161004211210, 20161004214115, 20161004220437, 20161004223020, 20161004225321, 20161004231431, 20161004233643, 20161005010227, 20161005015927, 20161005022911, 20161005032958, 20161005035939, 20161005052904, 20161005070028, 20161005074429, 20161005081318, 20161005083455, 20161005085921, 20161005092901, 20161005095936, 20161005120158, 20161005123418, 20161005125911, 20161005133107, 20161005155908, 20161005163517, 20161005165855, 20161005180127, 20161005184226, 20161005191051, 20161005193234, 20161005203112, 20161005205920, 20161005212949, 20161005223034, 20161005225920]}\nMetadata for table trips loaded\nhoodie:trips-&gt;\n<\/pre>\n<\/div>\n<\/div>\n<p>\u8fde\u63a5\u5230\u6570\u636e\u96c6\u540e\uff0c\u4fbf\u53ef\u4f7f\u7528\u8bb8\u591a\u5176\u4ed6\u547d\u4ee4\u3002\u8be5shell\u7a0b\u5e8f\u5177\u6709\u4e0a\u4e0b\u6587\u81ea\u52a8\u5b8c\u6210\u5e2e\u52a9(\u6309TAB\u952e)\uff0c\u4e0b\u9762\u662f\u6240\u6709\u547d\u4ee4\u7684\u5217\u8868\uff0c\u672c\u8282\u4e2d\u5bf9\u5176\u4e2d\u7684\u4e00\u4e9b\u547d\u4ee4\u8fdb\u884c\u4e86\u8be6\u7ec6\u793a\u4f8b\u3002<\/p>\n<div>\n<div>\n<pre>hoodie:trips-&gt;help\n* ! - Allows execution of operating system (OS) commands\n* \/\/ - Inline comment markers (start of line only)\n* ; - Inline comment markers (start of line only)\n* addpartitionmeta - Add partition metadata to a dataset, if not present\n* clear - Clears the console\n* cls - Clears the console\n* commit rollback - Rollback a commit\n* commits compare - Compare commits with another Hoodie dataset\n* commit showfiles - Show file level details of a commit\n* commit showpartitions - Show partition level details of a commit\n* commits refresh - Refresh the commits\n* commits show - Show the commits\n* commits sync - Compare commits with another Hoodie dataset\n* connect - Connect to a hoodie dataset\n* date - Displays the local date and time\n* exit - Exits the shell\n* help - List all commands usage\n* quit - Exits the shell\n* records deduplicate - De-duplicate a partition path contains duplicates &amp; produce repaired files to replace with\n* script - Parses the specified resource file and executes its commands\n* stats filesizes - File Sizes. Display summary stats on sizes of files\n* stats wa - Write Amplification. Ratio of how many records were upserted to how many records were actually written\n* sync validate - Validate the sync by counting the number of records\n* system properties - Shows the shell\\'s properties\n* utils loadClass - Load a class\n* version - Displays shell version\nhoodie:trips-&gt;\n<\/pre>\n<\/div>\n<\/div>\n<h3 id=\\\"\u68c0\u67e5\u63d0\u4ea4\\\">\u68c0\u67e5\u63d0\u4ea4<\/h3>\n<p>\u5728Hudi\u4e2d\uff0c\u66f4\u65b0\u6216\u63d2\u5165\u4e00\u6279\u8bb0\u5f55\u7684\u4efb\u52a1\u88ab\u79f0\u4e3a\u63d0\u4ea4\u3002\u63d0\u4ea4\u53ef\u63d0\u4f9b\u57fa\u672c\u7684\u539f\u5b50\u6027\u4fdd\u8bc1\uff0c\u5373\u53ea\u6709\u63d0\u4ea4\u7684\u6570\u636e\u53ef\u7528\u4e8e\u67e5\u8be2\u3002 \u6bcf\u4e2a\u63d0\u4ea4\u90fd\u6709\u4e00\u4e2a\u5355\u8c03\u9012\u589e\u7684\u5b57\u7b26\u4e32\/\u6570\u5b57\uff0c\u79f0\u4e3a\u63d0\u4ea4\u7f16\u53f7\u3002\u901a\u5e38\uff0c\u8fd9\u662f\u6211\u4eec\u5f00\u59cb\u63d0\u4ea4\u7684\u65f6\u95f4\u3002\u67e5\u770b\u6709\u5173\u6700\u8fd110\u6b21\u63d0\u4ea4\u7684\u4e00\u4e9b\u57fa\u672c\u4fe1\u606f\uff0c<\/p>\n<div>\n<div>\n<pre>hoodie:trips-&gt;commits show --sortBy \\\"Total Bytes Written\\\" --desc true --limit 10\n    ________________________________________________________________________________________________________________________________________________________________________\n    | CommitTime    | Total Bytes Written| Total Files Added| Total Files Updated| Total Partitions Written| Total Records Written| Total Update Records Written| Total Errors|\n    |=======================================================================================================================================================================|\n    ....\n    ....\n    ....\nhoodie:trips-&gt;\n<\/pre>\n<\/div>\n<\/div>\n<p>\u5728\u6bcf\u6b21\u5199\u5165\u5f00\u59cb\u65f6\uff0cHudi\u8fd8\u5c06.inflight\u63d0\u4ea4\u5199\u5165.hoodie\u6587\u4ef6\u5939\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u90a3\u91cc\u7684\u65f6\u95f4\u6233\u6765\u4f30\u8ba1\u6b63\u5728\u8fdb\u884c\u7684\u63d0\u4ea4\u5df2\u7ecf\u82b1\u8d39\u7684\u65f6\u95f4<\/p>\n<div>\n<div>\n<pre>$ hdfs dfs -ls \/app\/uber\/trips\/.hoodie\/*.inflight\n-rw-r--r--   3 vinoth supergroup     321984 2016-10-05 23:18 \/app\/uber\/trips\/.hoodie\/20161005225920.inflight\n<\/pre>\n<\/div>\n<\/div>\n<h3 id=\\\"\u6df1\u5165\u5230\u7279\u5b9a\u7684\u63d0\u4ea4\\\">\u6df1\u5165\u5230\u7279\u5b9a\u7684\u63d0\u4ea4<\/h3>\n<p>\u4e86\u89e3\u5199\u5165\u5982\u4f55\u5206\u6563\u5230\u7279\u5b9a\u5206\u533a\uff0c<\/p>\n<div>\n<div>\n<pre>hoodie:trips-&gt;commit showpartitions --commit 20161005165855 --sortBy \\\"Total Bytes Written\\\" --desc true --limit 10\n    __________________________________________________________________________________________________________________________________________\n    | Partition Path| Total Files Added| Total Files Updated| Total Records Inserted| Total Records Updated| Total Bytes Written| Total Errors|\n    |=========================================================================================================================================|\n     ....\n     ....\n<\/pre>\n<\/div>\n<\/div>\n<p>\u5982\u679c\u60a8\u9700\u8981\u6587\u4ef6\u7ea7\u7c92\u5ea6\uff0c\u6211\u4eec\u53ef\u4ee5\u6267\u884c\u4ee5\u4e0b\u64cd\u4f5c<\/p>\n<div>\n<div>\n<pre>hoodie:trips-&gt;commit showfiles --commit 20161005165855 --sortBy \\\"Partition Path\\\"\n    ________________________________________________________________________________________________________________________________________________________\n    | Partition Path| File ID                             | Previous Commit| Total Records Updated| Total Records Written| Total Bytes Written| Total Errors|\n    |=======================================================================================================================================================|\n    ....\n    ....\n<\/pre>\n<\/div>\n<\/div>\n<h3 id=\\\"\u6587\u4ef6\u7cfb\u7edf\u89c6\u56fe\\\">\u6587\u4ef6\u7cfb\u7edf\u89c6\u56fe<\/h3>\n<p>Hudi\u5c06\u6bcf\u4e2a\u5206\u533a\u89c6\u4e3a\u6587\u4ef6\u7ec4\u7684\u96c6\u5408\uff0c\u6bcf\u4e2a\u6587\u4ef6\u7ec4\u5305\u542b\u6309\u63d0\u4ea4\u987a\u5e8f\u6392\u5217\u7684\u6587\u4ef6\u5207\u7247\u5217\u8868(\u8bf7\u53c2\u9605\u6982\u5ff5)\u3002\u4ee5\u4e0b\u547d\u4ee4\u5141\u8bb8\u7528\u6237\u67e5\u770b\u6570\u636e\u96c6\u7684\u6587\u4ef6\u5207\u7247\u3002<\/p>\n<div>\n<div>\n<pre> hoodie:stock_ticks_mor-&gt;show fsview all\n ....\n  _______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________\n | Partition | FileId | Base-Instant | Data-File | Data-File Size| Num Delta Files| Total Delta File Size| Delta Files |\n |==============================================================================================================================================================================================================================================================================================================================================================================================================|\n | 2018\/08\/31| 111415c3-f26d-4639-86c8-f9956f245ac3| 20181002180759| hdfs:\/\/namenode:8020\/user\/hive\/warehouse\/stock_ticks_mor\/2018\/08\/31\/111415c3-f26d-4639-86c8-f9956f245ac3_0_20181002180759.parquet| 432.5 KB | 1 | 20.8 KB | [HoodieLogFile {hdfs:\/\/namenode:8020\/user\/hive\/warehouse\/stock_ticks_mor\/2018\/08\/31\/.111415c3-f26d-4639-86c8-f9956f245ac3_20181002180759.log.1}]|\n hoodie:stock_ticks_mor-&gt;show fsview latest --partitionPath \\\"2018\/08\/31\\\"\n ......\n __________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________\n | Partition | FileId | Base-Instant | Data-File | Data-File Size| Num Delta Files| Total Delta Size| Delta Size - compaction scheduled| Delta Size - compaction unscheduled| Delta To Base Ratio - compaction scheduled| Delta To Base Ratio - compaction unscheduled| Delta Files - compaction scheduled | Delta Files - compaction unscheduled|\n |=================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================|\n | 2018\/08\/31| 111415c3-f26d-4639-86c8-f9956f245ac3| 20181002180759| hdfs:\/\/namenode:8020\/user\/hive\/warehouse\/stock_ticks_mor\/2018\/08\/31\/111415c3-f26d-4639-86c8-f9956f245ac3_0_20181002180759.parquet| 432.5 KB | 1 | 20.8 KB | 20.8 KB | 0.0 B | 0.0 B | 0.0 B | [HoodieLogFile {hdfs:\/\/namenode:8020\/user\/hive\/warehouse\/stock_ticks_mor\/2018\/08\/31\/.111415c3-f26d-4639-86c8-f9956f245ac3_20181002180759.log.1}]| [] |\n hoodie:stock_ticks_mor-&gt;\n<\/pre>\n<\/div>\n<\/div>\n<h3 id=\\\"\u7edf\u8ba1\u4fe1\u606f\\\">\u7edf\u8ba1\u4fe1\u606f<\/h3>\n<p>\u7531\u4e8eHudi\u76f4\u63a5\u7ba1\u7406DFS\u6570\u636e\u96c6\u7684\u6587\u4ef6\u5927\u5c0f\uff0c\u8fd9\u4e9b\u4fe1\u606f\u4f1a\u5e2e\u52a9\u4f60\u5168\u9762\u4e86\u89e3Hudi\u7684\u8fd0\u884c\u72b6\u51b5<\/p>\n<div>\n<div>\n<pre>hoodie:trips-&gt;stats filesizes --partitionPath 2016\/09\/01 --sortBy \\\"95th\\\" --desc true --limit 10\n    ________________________________________________________________________________________________\n    | CommitTime    | Min     | 10th    | 50th    | avg     | 95th    | Max     | NumFiles| StdDev  |\n    |===============================================================================================|\n    | &lt;COMMIT_ID&gt;   | 93.9 MB | 93.9 MB | 93.9 MB | 93.9 MB | 93.9 MB | 93.9 MB | 2       | 2.3 KB  |\n    ....\n    ....\n<\/pre>\n<\/div>\n<\/div>\n<p>\u5982\u679cHudi\u5199\u5165\u82b1\u8d39\u7684\u65f6\u95f4\u66f4\u957f\uff0c\u90a3\u4e48\u53ef\u4ee5\u901a\u8fc7\u89c2\u5bdf\u5199\u653e\u5927\u6307\u6807\u6765\u53d1\u73b0\u4efb\u4f55\u5f02\u5e38<\/p>\n<div>\n<div>\n<pre>hoodie:trips-&gt;stats wa\n    __________________________________________________________________________\n    | CommitTime    | Total Upserted| Total Written| Write Amplifiation Factor|\n    |=========================================================================|\n    ....\n    ....\n<\/pre>\n<\/div>\n<\/div>\n<h3 id=\\\"\u5f52\u6863\u7684\u63d0\u4ea4\\\">\u5f52\u6863\u7684\u63d0\u4ea4<\/h3>\n<p>\u4e3a\u4e86\u9650\u5236DFS\u4e0a.commit\u6587\u4ef6\u7684\u589e\u957f\u91cf\uff0cHudi\u5c06\u8f83\u65e7\u7684.commit\u6587\u4ef6(\u9002\u5f53\u8003\u8651\u6e05\u7406\u7b56\u7565)\u5f52\u6863\u5230commits.archived\u6587\u4ef6\u4e2d\u3002 \u8fd9\u662f\u4e00\u4e2a\u5e8f\u5217\u6587\u4ef6\uff0c\u5176\u5305\u542bcommitNumber =&gt; json\u7684\u6620\u5c04\uff0c\u53ca\u6709\u5173\u63d0\u4ea4\u7684\u539f\u59cb\u4fe1\u606f(\u4e0a\u9762\u5df2\u5f88\u597d\u5730\u6c47\u603b\u4e86\u76f8\u540c\u7684\u4fe1\u606f)\u3002<\/p>\n<h3 id=\\\"\u538b\u7f29\\\">\u538b\u7f29<\/h3>\n<p>\u8981\u4e86\u89e3\u538b\u7f29\u548c\u5199\u7a0b\u5e8f\u4e4b\u95f4\u7684\u65f6\u6ede\uff0c\u8bf7\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5217\u51fa\u6240\u6709\u5f85\u5904\u7406\u7684\u538b\u7f29\u3002<\/p>\n<div>\n<div>\n<pre>hoodie:trips-&gt;compactions show all\n     ___________________________________________________________________\n    | Compaction Instant Time| State    | Total FileIds to be Compacted|\n    |==================================================================|\n    | &lt;INSTANT_1&gt;            | REQUESTED| 35                           |\n    | &lt;INSTANT_2&gt;            | INFLIGHT | 27                           |\n<\/pre>\n<\/div>\n<\/div>\n<p>\u8981\u68c0\u67e5\u7279\u5b9a\u7684\u538b\u7f29\u8ba1\u5212\uff0c\u8bf7\u4f7f\u7528<\/p>\n<div>\n<div>\n<pre>hoodie:trips-&gt;compaction show --instant &lt;INSTANT_1&gt;\n    _________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________\n    | Partition Path| File Id | Base Instant  | Data File Path                                    | Total Delta Files| getMetrics                                                                                                                    |\n    |================================================================================================================================================================================================================================================\n    | 2018\/07\/17    | &lt;UUID&gt;  | &lt;INSTANT_1&gt;   | viewfs:\/\/ns-default\/...\/..\/UUID_&lt;INSTANT&gt;.parquet | 1                | {TOTAL_LOG_FILES=1.0, TOTAL_IO_READ_MB=1230.0, TOTAL_LOG_FILES_SIZE=2.51255751E8, TOTAL_IO_WRITE_MB=991.0, TOTAL_IO_MB=2221.0}|\n<\/pre>\n<\/div>\n<\/div>\n<p>\u8981\u624b\u52a8\u8c03\u5ea6\u6216\u8fd0\u884c\u538b\u7f29\uff0c\u8bf7\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u3002\u8be5\u547d\u4ee4\u4f7f\u7528spark\u542f\u52a8\u5668\u6267\u884c\u538b\u7f29\u64cd\u4f5c\u3002 \u6ce8\u610f\uff1a\u786e\u4fdd\u6ca1\u6709\u5176\u4ed6\u5e94\u7528\u7a0b\u5e8f\u6b63\u5728\u540c\u65f6\u8c03\u5ea6\u6b64\u6570\u636e\u96c6\u7684\u538b\u7f29<\/p>\n<div>\n<div>\n<pre>hoodie:trips-&gt;help compaction schedule\nKeyword:                   compaction schedule\nDescription:               Schedule Compaction\n Keyword:                  sparkMemory\n   Help:                   Spark executor memory\n   Mandatory:              false\n   Default if specified:   \\'__NULL__\\'\n   Default if unspecified: \\'1G\\'\n* compaction schedule - Schedule Compaction\n<\/pre>\n<\/div>\n<\/div>\n<div>\n<div>\n<pre>hoodie:trips-&gt;help compaction run\nKeyword:                   compaction run\nDescription:               Run Compaction for given instant time\n Keyword:                  tableName\n   Help:                   Table name\n   Mandatory:              true\n   Default if specified:   \\'__NULL__\\'\n   Default if unspecified: \\'__NULL__\\'\n Keyword:                  parallelism\n   Help:                   Parallelism for hoodie compaction\n   Mandatory:              true\n   Default if specified:   \\'__NULL__\\'\n   Default if unspecified: \\'__NULL__\\'\n Keyword:                  schemaFilePath\n   Help:                   Path for Avro schema file\n   Mandatory:              true\n   Default if specified:   \\'__NULL__\\'\n   Default if unspecified: \\'__NULL__\\'\n Keyword:                  sparkMemory\n   Help:                   Spark executor memory\n   Mandatory:              true\n   Default if specified:   \\'__NULL__\\'\n   Default if unspecified: \\'__NULL__\\'\n Keyword:                  retry\n   Help:                   Number of retries\n   Mandatory:              true\n   Default if specified:   \\'__NULL__\\'\n   Default if unspecified: \\'__NULL__\\'\n Keyword:                  compactionInstant\n   Help:                   Base path for the target hoodie dataset\n   Mandatory:              true\n   Default if specified:   \\'__NULL__\\'\n   Default if unspecified: \\'__NULL__\\'\n* compaction run - Run Compaction for given instant time\n<\/pre>\n<\/div>\n<\/div>\n<h3 id=\\\"\u9a8c\u8bc1\u538b\u7f29\\\">\u9a8c\u8bc1\u538b\u7f29<\/h3>\n<p>\u9a8c\u8bc1\u538b\u7f29\u8ba1\u5212\uff1a\u68c0\u67e5\u538b\u7f29\u6240\u9700\u7684\u6240\u6709\u6587\u4ef6\u662f\u5426\u90fd\u5b58\u5728\u4e14\u6709\u6548<\/p>\n<div>\n<div>\n<pre>hoodie:stock_ticks_mor-&gt;compaction validate --instant 20181005222611\n...\n   COMPACTION PLAN VALID\n    ___________________________________________________________________________________________________________________________________________________________________________________________________________________________\n    | File Id                             | Base Instant Time| Base Data File                                                                                                                   | Num Delta Files| Valid| Error|\n    |==========================================================================================================================================================================================================================|\n    | 05320e98-9a57-4c38-b809-a6beaaeb36bd| 20181005222445   | hdfs:\/\/namenode:8020\/user\/hive\/warehouse\/stock_ticks_mor\/2018\/08\/31\/05320e98-9a57-4c38-b809-a6beaaeb36bd_0_20181005222445.parquet| 1              | true |      |\nhoodie:stock_ticks_mor-&gt;compaction validate --instant 20181005222601\n   COMPACTION PLAN INVALID\n    _______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________\n    | File Id                             | Base Instant Time| Base Data File                                                                                                                   | Num Delta Files| Valid| Error                                                                           |\n    |=====================================================================================================================================================================================================================================================================================================|\n    | 05320e98-9a57-4c38-b809-a6beaaeb36bd| 20181005222445   | hdfs:\/\/namenode:8020\/user\/hive\/warehouse\/stock_ticks_mor\/2018\/08\/31\/05320e98-9a57-4c38-b809-a6beaaeb36bd_0_20181005222445.parquet| 1              | false| All log files specified in compaction operation is not present. Missing ....    |\n<\/pre>\n<\/div>\n<\/div>\n<h3 id=\\\"\u6ce8\u610f\\\">\u6ce8\u610f<\/h3>\n<p>\u5fc5\u987b\u5728\u5176\u4ed6\u5199\u5165\/\u6444\u53d6\u7a0b\u5e8f\u6ca1\u6709\u8fd0\u884c\u7684\u60c5\u51b5\u4e0b\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u3002<br \/>\n\u6709\u65f6\uff0c\u6709\u5fc5\u8981\u4ece\u538b\u7f29\u8ba1\u5212\u4e2d\u5220\u9664fileId\u4ee5\u4fbf\u52a0\u5feb\u6216\u53d6\u6d88\u538b\u7f29\u64cd\u4f5c\u3002 \u538b\u7f29\u8ba1\u5212\u4e4b\u540e\u5728\u6b64\u6587\u4ef6\u4e0a\u53d1\u751f\u7684\u6240\u6709\u65b0\u65e5\u5fd7\u6587\u4ef6\u90fd\u5c06\u88ab\u5b89\u5168\u5730\u91cd\u547d\u540d\u4ee5\u4fbf\u8fdb\u884c\u4fdd\u7559\u3002Hudi\u63d0\u4f9b\u4ee5\u4e0bCLI\u6765\u652f\u6301<\/p>\n<h3 id=\\\"\u53d6\u6d88\u8c03\u5ea6\u538b\u7f29\\\">\u53d6\u6d88\u8c03\u5ea6\u538b\u7f29<\/h3>\n<div>\n<div>\n<pre>hoodie:trips-&gt;compaction unscheduleFileId --fileId &lt;FileUUID&gt;\n....\nNo File renames needed to unschedule file from pending compaction. Operation successful.\n<\/pre>\n<\/div>\n<\/div>\n<p>\u5728\u5176\u4ed6\u60c5\u51b5\u4e0b\uff0c\u9700\u8981\u64a4\u9500\u6574\u4e2a\u538b\u7f29\u8ba1\u5212\u3002\u4ee5\u4e0bCLI\u652f\u6301\u6b64\u529f\u80fd<\/p>\n<div>\n<div>\n<pre>hoodie:trips-&gt;compaction unschedule --compactionInstant &lt;compactionInstant&gt;\n.....\nNo File renames needed to unschedule pending compaction. Operation successful.\n<\/pre>\n<\/div>\n<\/div>\n<h3 id=\\\"\u4fee\u590d\u538b\u7f29\\\">\u4fee\u590d\u538b\u7f29<\/h3>\n<p>\u4e0a\u9762\u7684\u538b\u7f29\u53d6\u6d88\u8c03\u5ea6\u64cd\u4f5c\u6709\u65f6\u53ef\u80fd\u4f1a\u90e8\u5206\u5931\u8d25(\u4f8b\u5982\uff1aDFS\u6682\u65f6\u4e0d\u53ef\u7528)\u3002 \u5982\u679c\u53d1\u751f\u90e8\u5206\u6545\u969c\uff0c\u5219\u538b\u7f29\u64cd\u4f5c\u53ef\u80fd\u4e0e\u6587\u4ef6\u5207\u7247\u7684\u72b6\u6001\u4e0d\u4e00\u81f4\u3002 \u5f53\u60a8\u8fd0\u884c\u538b\u7f29\u9a8c\u8bc1\u65f6\uff0c\u60a8\u4f1a\u6ce8\u610f\u5230\u65e0\u6548\u7684\u538b\u7f29\u64cd\u4f5c(\u5982\u679c\u6709\u7684\u8bdd)\u3002 \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u4fee\u590d\u547d\u4ee4\u5c06\u7acb\u5373\u6267\u884c\uff0c\u5b83\u5c06\u91cd\u65b0\u6392\u5217\u6587\u4ef6\u5207\u7247\uff0c\u4ee5\u4f7f\u6587\u4ef6\u4e0d\u4e22\u5931\uff0c\u5e76\u4e14\u6587\u4ef6\u5207\u7247\u4e0e\u538b\u7f29\u8ba1\u5212\u4e00\u81f4<\/p>\n<div>\n<div>\n<pre>hoodie:stock_ticks_mor-&gt;compaction repair --instant 20181005222611\n......\nCompaction successfully repaired\n.....\n<\/pre>\n<\/div>\n<\/div>\n<h2 id=\\\"metrics\\\">\u6307\u6807<\/h2>\n<p>\u4e3aHudi Client\u914d\u7f6e\u6b63\u786e\u7684\u6570\u636e\u96c6\u540d\u79f0\u548c\u6307\u6807\u73af\u5883\u540e\uff0c\u5b83\u5c06\u751f\u6210\u4ee5\u4e0bgraphite\u6307\u6807\uff0c\u4ee5\u5e2e\u52a9\u8c03\u8bd5hudi\u6570\u636e\u96c6<\/p>\n<ul>\n<li>\u63d0\u4ea4\u6301\u7eed\u65f6\u95f4\u00a0&#8211; \u8fd9\u662f\u6210\u529f\u63d0\u4ea4\u4e00\u6279\u8bb0\u5f55\u6240\u82b1\u8d39\u7684\u65f6\u95f4<\/li>\n<li>\u56de\u6eda\u6301\u7eed\u65f6\u95f4\u00a0&#8211; \u540c\u6837\uff0c\u64a4\u6d88\u5931\u8d25\u7684\u63d0\u4ea4\u6240\u5269\u4f59\u7684\u90e8\u5206\u6570\u636e\u6240\u82b1\u8d39\u7684\u65f6\u95f4(\u6bcf\u6b21\u5199\u5165\u5931\u8d25\u540e\u90fd\u4f1a\u81ea\u52a8\u53d1\u751f)<\/li>\n<li>\u6587\u4ef6\u7ea7\u522b\u6307\u6807\u00a0&#8211; \u663e\u793a\u6bcf\u6b21\u63d0\u4ea4\u4e2d\u65b0\u589e\u3001\u7248\u672c\u3001\u5220\u9664(\u6e05\u9664)\u7684\u6587\u4ef6\u6570\u91cf<\/li>\n<li>\u8bb0\u5f55\u7ea7\u522b\u6307\u6807\u00a0&#8211; \u6bcf\u6b21\u63d0\u4ea4\u63d2\u5165\/\u66f4\u65b0\u7684\u8bb0\u5f55\u603b\u6570<\/li>\n<li>\u5206\u533a\u7ea7\u522b\u6307\u6807\u00a0&#8211; \u66f4\u65b0\u7684\u5206\u533a\u6570\u91cf(\u5bf9\u4e8e\u4e86\u89e3\u63d0\u4ea4\u6301\u7eed\u65f6\u95f4\u7684\u7a81\u7136\u5cf0\u503c\u975e\u5e38\u6709\u7528)<\/li>\n<\/ul>\n<p>\u7136\u540e\u53ef\u4ee5\u5c06\u8fd9\u4e9b\u6307\u6807\u7ed8\u5236\u5728grafana\u7b49\u6807\u51c6\u5de5\u5177\u4e0a\u3002\u4ee5\u4e0b\u662f\u63d0\u4ea4\u6301\u7eed\u65f6\u95f4\u56fe\u8868\u793a\u4f8b\u3002<\/p>\n<figure><img src=\\\"http:\/\/hudi.apache.org\/assets\/images\/hudi_commit_duration.png\\\" alt=\\\"hudi_commit_duration.png\\\" \/><\/figure>\n<h2 id=\\\"troubleshooting\\\">\u6545\u969c\u6392\u9664<\/h2>\n<p>\u4ee5\u4e0b\u90e8\u5206\u901a\u5e38\u6709\u52a9\u4e8e\u8c03\u8bd5Hudi\u6545\u969c\u3002\u4ee5\u4e0b\u5143\u6570\u636e\u5df2\u88ab\u6dfb\u52a0\u5230\u6bcf\u6761\u8bb0\u5f55\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u6807\u51c6Hadoop SQL\u5f15\u64ce(Hive\/Presto\/Spark)\u68c0\u7d22\uff0c\u6765\u66f4\u5bb9\u6613\u5730\u8bca\u65ad\u95ee\u9898\u7684\u4e25\u91cd\u6027\u3002<\/p>\n<ul>\n<li>_hoodie_record_key\u00a0&#8211; \u4f5c\u4e3a\u6bcf\u4e2aDFS\u5206\u533a\u5185\u7684\u4e3b\u952e\uff0c\u662f\u6240\u6709\u66f4\u65b0\/\u63d2\u5165\u7684\u57fa\u7840<\/li>\n<li>_hoodie_commit_time\u00a0&#8211; \u8be5\u8bb0\u5f55\u4e0a\u6b21\u7684\u63d0\u4ea4<\/li>\n<li>_hoodie_file_name\u00a0&#8211; \u5305\u542b\u8bb0\u5f55\u7684\u5b9e\u9645\u6587\u4ef6\u540d(\u5bf9\u68c0\u67e5\u91cd\u590d\u975e\u5e38\u6709\u7528)<\/li>\n<li>_hoodie_partition_path\u00a0&#8211; basePath\u7684\u8def\u5f84\uff0c\u8be5\u8def\u5f84\u6807\u8bc6\u5305\u542b\u6b64\u8bb0\u5f55\u7684\u5206\u533a<\/li>\n<\/ul>\n<p>\u8bf7\u6ce8\u610f\uff0c\u5230\u76ee\u524d\u4e3a\u6b62\uff0cHudi\u5047\u5b9a\u5e94\u7528\u7a0b\u5e8f\u4e3a\u7ed9\u5b9a\u7684recordKey\u4f20\u9012\u76f8\u540c\u7684\u786e\u5b9a\u6027\u5206\u533a\u8def\u5f84\u3002\u5373\u4ec5\u5728\u6bcf\u4e2a\u5206\u533a\u5185\u4fdd\u8bc1recordKey(\u4e3b\u952e)\u7684\u552f\u4e00\u6027\u3002<\/p>\n<h3 id=\\\"\u7f3a\u5931\u8bb0\u5f55\\\">\u7f3a\u5931\u8bb0\u5f55<\/h3>\n<p>\u8bf7\u5728\u53ef\u80fd\u5199\u5165\u8bb0\u5f55\u7684\u7a97\u53e3\u4e2d\uff0c\u4f7f\u7528\u4e0a\u9762\u7684admin\u547d\u4ee4\u68c0\u67e5\u662f\u5426\u5b58\u5728\u4efb\u4f55\u5199\u5165\u9519\u8bef\u3002 \u5982\u679c\u786e\u5b9e\u53d1\u73b0\u9519\u8bef\uff0c\u90a3\u4e48\u8bb0\u5f55\u5b9e\u9645\u4e0a\u4e0d\u662f\u7531Hudi\u5199\u5165\u7684\uff0c\u800c\u662f\u4ea4\u8fd8\u7ed9\u5e94\u7528\u7a0b\u5e8f\u6765\u51b3\u5b9a\u5982\u4f55\u5904\u7406\u3002<\/p>\n<h3 id=\\\"\u91cd\u590d\\\">\u91cd\u590d<\/h3>\n<p>\u9996\u5148\uff0c\u8bf7\u786e\u4fdd\u8bbf\u95eeHudi\u6570\u636e\u96c6\u7684\u67e5\u8be2\u662f<a href=\\\"http:\/\/hudi.apache.org\/cn\/docs\/sql_queries.html\\\">\u6ca1\u6709\u95ee\u9898\u7684<\/a>\uff0c\u5e76\u4e4b\u540e\u786e\u8ba4\u7684\u786e\u6709\u91cd\u590d\u3002<\/p>\n<ul>\n<li>\u5982\u679c\u786e\u8ba4\uff0c\u8bf7\u4f7f\u7528\u4e0a\u9762\u7684\u5143\u6570\u636e\u5b57\u6bb5\u6765\u6807\u8bc6\u5305\u542b\u8bb0\u5f55\u7684\u7269\u7406\u6587\u4ef6\u548c\u5206\u533a\u6587\u4ef6\u3002<\/li>\n<li>\u5982\u679c\u91cd\u590d\u7684\u8bb0\u5f55\u5b58\u5728\u4e8e\u4e0d\u540c\u5206\u533a\u8def\u5f84\u4e0b\u7684\u6587\u4ef6\uff0c\u5219\u610f\u5473\u7740\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u6b63\u5728\u4e3a\u540c\u4e00recordKey\u751f\u6210\u4e0d\u540c\u7684\u5206\u533a\u8def\u5f84\uff0c\u8bf7\u4fee\u590d\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f.<\/li>\n<li>\u5982\u679c\u91cd\u590d\u7684\u8bb0\u5f55\u5b58\u5728\u4e8e\u540c\u4e00\u5206\u533a\u8def\u5f84\u4e0b\u7684\u591a\u4e2a\u6587\u4ef6\uff0c\u8bf7\u4f7f\u7528\u90ae\u4ef6\u5217\u8868\u6c47\u62a5\u8fd9\u4e2a\u95ee\u9898\u3002\u8fd9\u4e0d\u5e94\u8be5\u53d1\u751f\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528records deduplicate\u547d\u4ee4\u4fee\u590d\u6570\u636e\u3002<\/li>\n<\/ul>\n<h3 id=\\\"spark-ui\\\">Spark\u6545\u969c<\/h3>\n<p>\u5178\u578b\u7684upsert() DAG\u5982\u4e0b\u6240\u793a\u3002\u8bf7\u6ce8\u610f\uff0cHudi\u5ba2\u6237\u7aef\u4f1a\u7f13\u5b58\u4e2d\u95f4\u7684RDD\uff0c\u4ee5\u667a\u80fd\u5730\u5e76\u8c03\u6574\u6587\u4ef6\u5927\u5c0f\u548cSpark\u5e76\u884c\u5ea6\u3002 \u53e6\u5916\uff0c\u7531\u4e8e\u8fd8\u663e\u793a\u4e86\u63a2\u9488\u4f5c\u4e1a\uff0cSpark UI\u663e\u793a\u4e86\u4e24\u6b21sortByKey\uff0c\u4f46\u5b83\u53ea\u662f\u4e00\u4e2a\u6392\u5e8f\u3002<\/p>\n<figure><img src=\\\"http:\/\/hudi.apache.org\/assets\/images\/hudi_upsert_dag.png\\\" alt=\\\"hudi_upsert_dag.png\\\" \/><\/figure>\n<p>\u6982\u62ec\u5730\u8bf4\uff0c\u6709\u4e24\u4e2a\u6b65\u9aa4<br \/>\n\u7d22\u5f15\u67e5\u627e\u4ee5\u6807\u8bc6\u8981\u66f4\u6539\u7684\u6587\u4ef6<\/p>\n<ul>\n<li>Job 1 : \u89e6\u53d1\u8f93\u5165\u6570\u636e\u8bfb\u53d6\uff0c\u8f6c\u6362\u4e3aHoodieRecord\u5bf9\u8c61\uff0c\u7136\u540e\u6839\u636e\u8f93\u5165\u8bb0\u5f55\u62ff\u5230\u76ee\u6807\u5206\u533a\u8def\u5f84\u3002<\/li>\n<li>Job 2 : \u52a0\u8f7d\u6211\u4eec\u9700\u8981\u68c0\u67e5\u7684\u6587\u4ef6\u540d\u96c6\u3002<\/li>\n<li>Job 3 &amp; 4 : \u901a\u8fc7\u8054\u5408\u4e0a\u97621\u548c2\u4e2d\u7684RDD\uff0c\u667a\u80fd\u8c03\u6574spark join\u5e76\u884c\u5ea6\uff0c\u7136\u540e\u8fdb\u884c\u5b9e\u9645\u67e5\u627e\u3002<\/li>\n<li>Job 5 : \u751f\u6210\u5e26\u6709\u4f4d\u7f6e\u7684recordKeys\u4f5c\u4e3a\u6807\u8bb0\u7684RDD\u3002<\/li>\n<\/ul>\n<p>\u6267\u884c\u6570\u636e\u7684\u5b9e\u9645\u5199\u5165<\/p>\n<ul>\n<li>Job 6 : \u5c06\u8bb0\u5f55\u4e0erecordKey(\u4f4d\u7f6e)\u8fdb\u884c\u61d2\u60f0\u8fde\u63a5\uff0c\u4ee5\u63d0\u4f9b\u6700\u7ec8\u7684HoodieRecord\u96c6\uff0c\u73b0\u5728\u5b83\u5305\u542b\u6bcf\u6761\u8bb0\u5f55\u7684\u6587\u4ef6\/\u5206\u533a\u8def\u5f84\u4fe1\u606f(\u5982\u679c\u63d2\u5165\uff0c\u5219\u4e3anull)\u3002\u7136\u540e\u8fd8\u8981\u518d\u6b21\u5206\u6790\u5de5\u4f5c\u8d1f\u8f7d\u4ee5\u786e\u5b9a\u6587\u4ef6\u7684\u5927\u5c0f\u3002<\/li>\n<li>Job 7 : \u5b9e\u9645\u5199\u5165\u6570\u636e(\u66f4\u65b0 + \u63d2\u5165 + \u63d2\u5165\u8f6c\u4e3a\u66f4\u65b0\u4ee5\u4fdd\u6301\u6587\u4ef6\u5927\u5c0f)<\/li>\n<\/ul>\n<p>\u6839\u636e\u5f02\u5e38\u6e90(Hudi\/Spark)\uff0c\u4e0a\u8ff0\u5173\u4e8eDAG\u7684\u4fe1\u606f\u53ef\u7528\u4e8e\u67e5\u660e\u5b9e\u9645\u95ee\u9898\u3002\u6700\u5e38\u9047\u5230\u7684\u6545\u969c\u662f\u7531YARN\/DFS\u4e34\u65f6\u6545\u969c\u5f15\u8d77\u7684\u3002 \u5c06\u6765\uff0c\u5c06\u5728\u9879\u76ee\u4e2d\u6dfb\u52a0\u66f4\u590d\u6742\u7684\u8c03\u8bd5\/\u7ba1\u7406UI\uff0c\u4ee5\u5e2e\u52a9\u81ea\u52a8\u8fdb\u884c\u67d0\u4e9b\u8c03\u8bd5\u3002<br \/>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>\u5f53Hudi\u51fa\u73b0\u95ee\u9898\u65f6\uff0c\u8fd0\u7ef4\u4eba\u5458\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u4e86\u89e3Hudi\u6570\u636e\u96c6\/\u7ba1\u9053\u8fdb\u884c\u6545\u969c\u6392\u67e5\u3002 \u901a\u8fc7Admin CLI\u8fdb &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"http:\/\/www.weijing.co\/?p=1450\"> <span class=\"screen-reader-text\">\u7ba1\u7406 Hudi Pipelines<\/span> \u67e5\u770b\u5168\u6587 &raquo;<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":""},"categories":[116],"tags":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"mailpoet_newsletter_max":false,"woocommerce_thumbnail":false,"woocommerce_single":false,"woocommerce_gallery_thumbnail":false,"shop_catalog":false,"shop_single":false,"shop_thumbnail":false},"uagb_author_info":{"display_name":"weijing","author_link":"http:\/\/www.weijing.co\/?author=4"},"uagb_comment_info":0,"uagb_excerpt":"\u5f53Hudi\u51fa\u73b0\u95ee\u9898\u65f6\uff0c\u8fd0\u7ef4\u4eba\u5458\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u4e86\u89e3Hudi\u6570\u636e\u96c6\/\u7ba1\u9053\u8fdb\u884c\u6545\u969c\u6392\u67e5\u3002 \u901a\u8fc7Admin CLI\u8fdb&hellip;","_links":{"self":[{"href":"http:\/\/www.weijing.co\/index.php?rest_route=\/wp\/v2\/posts\/1450"}],"collection":[{"href":"http:\/\/www.weijing.co\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.weijing.co\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.weijing.co\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/www.weijing.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1450"}],"version-history":[{"count":0,"href":"http:\/\/www.weijing.co\/index.php?rest_route=\/wp\/v2\/posts\/1450\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.weijing.co\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.weijing.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1450"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.weijing.co\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}