{"id":773,"date":"2023-08-09T10:06:28","date_gmt":"2023-08-09T02:06:28","guid":{"rendered":"https:\/\/zhaocunwei.co.uk\/?p=773"},"modified":"2023-08-09T10:13:53","modified_gmt":"2023-08-09T02:13:53","slug":"hdfs","status":"publish","type":"post","link":"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/09\/hdfs\/","title":{"rendered":"\u642d\u5efa\u4e00\u4e2a\u9ad8\u53ef\u7528\u5206\u5e03\u5f0f\u5b58\u50a8\u7cfb\u7edf\uff0c\u652f\u6301\u9ad8\u5e76\u53d1\uff0c\u9ad8\u53ef\u7528\uff0c\u65b9\u4fbf\u68c0\u7d22"},"content":{"rendered":"<h1>\u524d\u8a00<\/h1>\n<p>\u642d\u5efa\u4e00\u4e2a\u9ad8\u53ef\u7528\u5206\u5e03\u5f0f\u5b58\u50a8\u7cfb\u7edf\uff0c\u652f\u6301\u9ad8\u5e76\u53d1\uff0c\u9ad8\u53ef\u7528\uff0c\u65b9\u4fbf\u68c0\u7d22\uff0c\u5177\u4f53\u7684\u642d\u5efa\u6b65\u9aa4\u547d\u4ee4\u884c\uff0c\u8fd8\u6709Springboot\u5b9e\u73b0\u6587\u4ef6\u5b9e\u65f6\u4f20\u8f93\uff0c\u65ad\u70b9\u4f20\u8f93\uff0c\u5206\u7247\u4f20\u8f93\u6d4b\u8bd5\u4ee3\u7801\u5b9e\u73b0<\/p>\n<h1>\u64cd\u4f5c\u6b65\u9aa4<\/h1>\n<p>1.\u9009\u62e9\u5408\u9002\u7684\u5b58\u50a8\u6280\u672f\uff1a \u9009\u62e9\u9002\u5408\u4f60\u9700\u6c42\u7684\u5206\u5e03\u5f0f\u5b58\u50a8\u6280\u672f\uff0c\u5982Hadoop HDFS\u3001Ceph\u3001GlusterFS\u7b49\u3002<\/p>\n<p>2.\u642d\u5efa\u96c6\u7fa4\uff1a \u90e8\u7f72\u591a\u53f0\u670d\u52a1\u5668\uff0c\u7ec4\u6210\u5b58\u50a8\u96c6\u7fa4\u3002\u6bcf\u53f0\u670d\u52a1\u5668\u4e0a\u90fd\u9700\u8981\u5b89\u88c5\u6240\u9009\u7684\u5206\u5e03\u5f0f\u5b58\u50a8\u8f6f\u4ef6\u3002<\/p>\n<p>3.\u914d\u7f6e\u8282\u70b9\uff1a \u914d\u7f6e\u5404\u4e2a\u8282\u70b9\u7684\u7f51\u7edc\u8bbe\u7f6e\u3001\u4e3b\u673a\u540d\u3001\u9632\u706b\u5899\u89c4\u5219\u7b49\u3002<\/p>\n<p>4.\u6570\u636e\u5206\u5e03\u548c\u5197\u4f59\uff1a \u914d\u7f6e\u6570\u636e\u5206\u5e03\u7b56\u7565\u548c\u5197\u4f59\u7b56\u7565\uff0c\u786e\u4fdd\u6570\u636e\u7684\u9ad8\u53ef\u7528\u6027\u548c\u8d1f\u8f7d\u5747\u8861\u3002<\/p>\n<p>5.\u76d1\u63a7\u548c\u6545\u969c\u6062\u590d\uff1a \u914d\u7f6e\u76d1\u63a7\u7cfb\u7edf\uff0c\u5b9e\u65f6\u76d1\u6d4b\u5b58\u50a8\u96c6\u7fa4\u7684\u72b6\u6001\uff0c\u8bbe\u7f6e\u6545\u969c\u81ea\u52a8\u6062\u590d\u673a\u5236\u3002<\/p>\n<p>6.\u6d4b\u8bd5\u548c\u4f18\u5316\uff1a \u8fdb\u884c\u8d1f\u8f7d\u6d4b\u8bd5\u3001\u6545\u969c\u6a21\u62df\u7b49\uff0c\u4e0d\u65ad\u4f18\u5316\u7cfb\u7edf\u6027\u80fd\u548c\u7a33\u5b9a\u6027\u3002<\/p>\n<p>\u5b89\u88c5Hadoop\uff1a<\/p>\n<pre><code class=\"language-shell\"># \u4e0b\u8f7dHadoop\u5b89\u88c5\u5305\nwget https:\/\/downloads.apache.org\/hadoop\/common\/hadoop-3.3.1\/hadoop-3.3.1.tar.gz\n# \u89e3\u538b\u5b89\u88c5\u5305\ntar -xzvf hadoop-3.3.1.tar.gz\n# \u914d\u7f6e\u73af\u5883\u53d8\u91cf\nexport HADOOP_HOME=\/path\/to\/hadoop-3.3.1\nexport PATH=$PATH:$HADOOP_HOME\/bin:$HADOOP_HOME\/sbin<\/code><\/pre>\n<p>\u914d\u7f6eHDFS\uff1a<\/p>\n<pre><code class=\"language-shell\">\u7f16\u8f91$HADOOP_HOME\/etc\/hadoop\/core-site.xml\u548c$HADOOP_HOME\/etc\/hadoop\/hdfs-site.xml\u6587\u4ef6\uff0c\u914d\u7f6eNameNode\u548cDataNode\u7b49\u4fe1\u606f\u3002<\/code><\/pre>\n<p>\u542f\u52a8HDFS\uff1a<\/p>\n<pre><code class=\"language-shell\"># \u683c\u5f0f\u5316NameNode\nhdfs namenode -format\n# \u542f\u52a8HDFS\u96c6\u7fa4\nstart-dfs.sh<\/code><\/pre>\n<h1>Spring Boot\u5b9e\u73b0\u6587\u4ef6\u5b9e\u65f6\u4f20\u8f93\u3001\u65ad\u70b9\u4f20\u8f93\u548c\u5206\u7247\u4f20\u8f93\u7684\u4ee3\u7801\u5b9e\u73b0<\/h1>\n<p>\u5b9e\u65f6\u4f20\u8f93\uff1a \u4f7f\u7528Spring Boot\u521b\u5efaRESTful API\uff0c\u63a5\u53d7\u6587\u4ef6\u4e0a\u4f20\u8bf7\u6c42\uff0c\u7136\u540e\u5728Controller\u4e2d\u5904\u7406\u6587\u4ef6\u4e0a\u4f20\u3002<br \/>\n\u65ad\u70b9\u4f20\u8f93\uff1a \u4f7f\u7528\u65ad\u70b9\u7eed\u4f20\u6280\u672f\uff0c\u5728\u4e0a\u4f20\u6587\u4ef6\u7684\u540c\u65f6\u8bb0\u5f55\u5df2\u4f20\u8f93\u7684\u4f4d\u7f6e\uff0c\u65ad\u70b9\u65f6\u53ef\u4ee5\u4ece\u4e0a\u6b21\u4f20\u8f93\u4f4d\u7f6e\u7ee7\u7eed\u4e0a\u4f20\u3002<br \/>\n\u5206\u7247\u4f20\u8f93\uff1a \u5c06\u5927\u6587\u4ef6\u5207\u5206\u6210\u5c0f\u5757\uff0c\u5206\u6279\u4e0a\u4f20\uff0c\u670d\u52a1\u7aef\u63a5\u53d7\u5e76\u5408\u5e76\u8fd9\u4e9b\u5c0f\u5757\u3002<\/p>\n<pre><code class=\"language-java\">@RestController\n@RequestMapping(&quot;\/api\/files&quot;)\npublic class FileUploadController {\n    @PostMapping(&quot;\/upload&quot;)\n    public ResponseEntity&lt;String&gt; uploadFile(@RequestParam(&quot;file&quot;) MultipartFile file) {\n        \/\/ \u5904\u7406\u6587\u4ef6\u4e0a\u4f20\u903b\u8f91\n        \/\/ \u8fd9\u91cc\u53ef\u4ee5\u4fdd\u5b58\u6587\u4ef6\u5230\u670d\u52a1\u5668\u3001\u6570\u636e\u5e93\u7b49\n        return ResponseEntity.ok(&quot;File uploaded successfully.&quot;);\n    }\n}<\/code><\/pre>\n<p>\u5b9e\u73b0\u65ad\u70b9\u4f20\u8f93\u548c\u5206\u7247\u4f20\u8f93\uff1a<\/p>\n<pre><code class=\"language-java\">@RestController\n@RequestMapping(&quot;\/api\/files&quot;)\npublic class FileUploadController {\n    private final Map&lt;String, Long&gt; uploadStatus = new ConcurrentHashMap&lt;&gt;();\n    @PostMapping(&quot;\/upload&quot;)\n    public ResponseEntity&lt;String&gt; uploadFile(\n            @RequestParam(&quot;file&quot;) MultipartFile file,\n            @RequestParam(&quot;startByte&quot;) Long startByte,\n            @RequestParam(&quot;totalBytes&quot;) Long totalBytes\n    ) {\n        String fileName = file.getOriginalFilename();\n        try {\n            \/\/ \u68c0\u67e5\u662f\u5426\u4e3a\u65ad\u70b9\u7eed\u4f20\n            Long uploadedBytes = uploadStatus.get(fileName);\n            if (uploadedBytes == null) {\n                uploadedBytes = 0L;\n            }\n            \/\/ \u5b9a\u4f4d\u6587\u4ef6\n            RandomAccessFile raf = new RandomAccessFile(fileName, &quot;rw&quot;);\n            raf.seek(uploadedBytes);\n            \/\/ \u8bfb\u53d6\u5e76\u5199\u5165\u6570\u636e\n            byte[] bytes = file.getBytes();\n            raf.write(bytes);\n            \/\/ \u66f4\u65b0\u5df2\u4e0a\u4f20\u5b57\u8282\u6570\n            uploadedBytes += bytes.length;\n            uploadStatus.put(fileName, uploadedBytes);\n            \/\/ \u68c0\u67e5\u662f\u5426\u4e0a\u4f20\u5b8c\u6574\n            if (uploadedBytes &gt;= totalBytes) {\n                uploadStatus.remove(fileName);\n                raf.close();\n                return ResponseEntity.ok(&quot;File uploaded successfully.&quot;);\n            } else {\n                raf.close();\n                return ResponseEntity.ok(&quot;Partial upload successful.&quot;);\n            }\n        } catch (Exception e) {\n            return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR).body(&quot;File upload failed.&quot;);\n        }\n    }\n}<\/code><\/pre>\n<h1>\u4f7f\u7528Docker\u5728\u591a\u53f0\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u4e00\u4e2a\u7b80\u5355\u7684\u5206\u5e03\u5f0f\u5b58\u50a8\u96c6\u7fa4<\/h1>\n<p>\u521b\u5efa\u4e00\u4e2a\u540d\u4e3adocker-compose.yml\u7684\u6587\u4ef6\uff0c\u7528\u4e8e\u5b9a\u4e49\u96c6\u7fa4\u4e2d\u7684\u4e0d\u540c\u5bb9\u5668<\/p>\n<pre><code class=\"language-bash\">version: &#039;3&#039;\nservices:\n  redis-node1:\n    image: redis:latest\n    container_name: redis-node1\n    ports:\n      - &quot;6379:6379&quot;\n    networks:\n      - redis-net\n    command: redis-server --port 6379\n  redis-node2:\n    image: redis:latest\n    container_name: redis-node2\n    ports:\n      - &quot;6380:6379&quot;\n    networks:\n      - redis-net\n    command: redis-server --port 6379\nnetworks:\n  redis-net:\n    driver: bridge<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00 \u642d\u5efa\u4e00\u4e2a\u9ad8\u53ef\u7528\u5206\u5e03\u5f0f\u5b58\u50a8\u7cfb\u7edf\uff0c\u652f\u6301\u9ad8\u5e76\u53d1\uff0c\u9ad8\u53ef\u7528\uff0c\u65b9\u4fbf\u68c0\u7d22\uff0c\u5177\u4f53\u7684\u642d\u5efa\u6b65\u9aa4\u547d\u4ee4\u884c\uff0c\u8fd8\u6709Springboo [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_mi_skip_tracking":false},"categories":[1],"tags":[],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u642d\u5efa\u4e00\u4e2a\u9ad8\u53ef\u7528\u5206\u5e03\u5f0f\u5b58\u50a8\u7cfb\u7edf\uff0c\u652f\u6301\u9ad8\u5e76\u53d1\uff0c\u9ad8\u53ef\u7528\uff0c\u65b9\u4fbf\u68c0\u7d22 - \u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/09\/hdfs\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u642d\u5efa\u4e00\u4e2a\u9ad8\u53ef\u7528\u5206\u5e03\u5f0f\u5b58\u50a8\u7cfb\u7edf\uff0c\u652f\u6301\u9ad8\u5e76\u53d1\uff0c\u9ad8\u53ef\u7528\uff0c\u65b9\u4fbf\u68c0\u7d22 - \u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug\" \/>\n<meta property=\"og:description\" content=\"\u524d\u8a00 \u642d\u5efa\u4e00\u4e2a\u9ad8\u53ef\u7528\u5206\u5e03\u5f0f\u5b58\u50a8\u7cfb\u7edf\uff0c\u652f\u6301\u9ad8\u5e76\u53d1\uff0c\u9ad8\u53ef\u7528\uff0c\u65b9\u4fbf\u68c0\u7d22\uff0c\u5177\u4f53\u7684\u642d\u5efa\u6b65\u9aa4\u547d\u4ee4\u884c\uff0c\u8fd8\u6709Springboo [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/09\/hdfs\/\" \/>\n<meta property=\"og:site_name\" content=\"\u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-09T02:06:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-09T02:13:53+00:00\" \/>\n<meta name=\"author\" content=\"\u603b\u662f\u5e78\u798f\u7684\u8001\u8c4c\u8c46\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u603b\u662f\u5e78\u798f\u7684\u8001\u8c4c\u8c46\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/09\/hdfs\/\",\"url\":\"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/09\/hdfs\/\",\"name\":\"\u642d\u5efa\u4e00\u4e2a\u9ad8\u53ef\u7528\u5206\u5e03\u5f0f\u5b58\u50a8\u7cfb\u7edf\uff0c\u652f\u6301\u9ad8\u5e76\u53d1\uff0c\u9ad8\u53ef\u7528\uff0c\u65b9\u4fbf\u68c0\u7d22 - \u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug\",\"isPartOf\":{\"@id\":\"https:\/\/zhaocunwei.co.uk\/#website\"},\"datePublished\":\"2023-08-09T02:06:28+00:00\",\"dateModified\":\"2023-08-09T02:13:53+00:00\",\"author\":{\"@id\":\"https:\/\/zhaocunwei.co.uk\/#\/schema\/person\/dfb1dc0fc4a330c41908d477cd99c0b4\"},\"breadcrumb\":{\"@id\":\"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/09\/hdfs\/#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/09\/hdfs\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/09\/hdfs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/zhaocunwei.co.uk\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u642d\u5efa\u4e00\u4e2a\u9ad8\u53ef\u7528\u5206\u5e03\u5f0f\u5b58\u50a8\u7cfb\u7edf\uff0c\u652f\u6301\u9ad8\u5e76\u53d1\uff0c\u9ad8\u53ef\u7528\uff0c\u65b9\u4fbf\u68c0\u7d22\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/zhaocunwei.co.uk\/#website\",\"url\":\"https:\/\/zhaocunwei.co.uk\/\",\"name\":\"\u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug\",\"description\":\"This site shares programming bugs\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/zhaocunwei.co.uk\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-CN\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/zhaocunwei.co.uk\/#\/schema\/person\/dfb1dc0fc4a330c41908d477cd99c0b4\",\"name\":\"\u603b\u662f\u5e78\u798f\u7684\u8001\u8c4c\u8c46\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\/\/zhaocunwei.co.uk\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4226cc1ca6640507df1d2d4ba3da7a62?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4226cc1ca6640507df1d2d4ba3da7a62?s=96&d=mm&r=g\",\"caption\":\"\u603b\u662f\u5e78\u798f\u7684\u8001\u8c4c\u8c46\"},\"sameAs\":[\"http:\/\/zhaocunwei.co.uk\"],\"url\":\"https:\/\/zhaocunwei.co.uk\/index.php\/author\/18500103508163-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u642d\u5efa\u4e00\u4e2a\u9ad8\u53ef\u7528\u5206\u5e03\u5f0f\u5b58\u50a8\u7cfb\u7edf\uff0c\u652f\u6301\u9ad8\u5e76\u53d1\uff0c\u9ad8\u53ef\u7528\uff0c\u65b9\u4fbf\u68c0\u7d22 - \u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/09\/hdfs\/","og_locale":"zh_CN","og_type":"article","og_title":"\u642d\u5efa\u4e00\u4e2a\u9ad8\u53ef\u7528\u5206\u5e03\u5f0f\u5b58\u50a8\u7cfb\u7edf\uff0c\u652f\u6301\u9ad8\u5e76\u53d1\uff0c\u9ad8\u53ef\u7528\uff0c\u65b9\u4fbf\u68c0\u7d22 - \u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug","og_description":"\u524d\u8a00 \u642d\u5efa\u4e00\u4e2a\u9ad8\u53ef\u7528\u5206\u5e03\u5f0f\u5b58\u50a8\u7cfb\u7edf\uff0c\u652f\u6301\u9ad8\u5e76\u53d1\uff0c\u9ad8\u53ef\u7528\uff0c\u65b9\u4fbf\u68c0\u7d22\uff0c\u5177\u4f53\u7684\u642d\u5efa\u6b65\u9aa4\u547d\u4ee4\u884c\uff0c\u8fd8\u6709Springboo [&hellip;]","og_url":"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/09\/hdfs\/","og_site_name":"\u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug","article_published_time":"2023-08-09T02:06:28+00:00","article_modified_time":"2023-08-09T02:13:53+00:00","author":"\u603b\u662f\u5e78\u798f\u7684\u8001\u8c4c\u8c46","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u603b\u662f\u5e78\u798f\u7684\u8001\u8c4c\u8c46","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/09\/hdfs\/","url":"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/09\/hdfs\/","name":"\u642d\u5efa\u4e00\u4e2a\u9ad8\u53ef\u7528\u5206\u5e03\u5f0f\u5b58\u50a8\u7cfb\u7edf\uff0c\u652f\u6301\u9ad8\u5e76\u53d1\uff0c\u9ad8\u53ef\u7528\uff0c\u65b9\u4fbf\u68c0\u7d22 - \u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug","isPartOf":{"@id":"https:\/\/zhaocunwei.co.uk\/#website"},"datePublished":"2023-08-09T02:06:28+00:00","dateModified":"2023-08-09T02:13:53+00:00","author":{"@id":"https:\/\/zhaocunwei.co.uk\/#\/schema\/person\/dfb1dc0fc4a330c41908d477cd99c0b4"},"breadcrumb":{"@id":"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/09\/hdfs\/#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/09\/hdfs\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/08\/09\/hdfs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/zhaocunwei.co.uk\/"},{"@type":"ListItem","position":2,"name":"\u642d\u5efa\u4e00\u4e2a\u9ad8\u53ef\u7528\u5206\u5e03\u5f0f\u5b58\u50a8\u7cfb\u7edf\uff0c\u652f\u6301\u9ad8\u5e76\u53d1\uff0c\u9ad8\u53ef\u7528\uff0c\u65b9\u4fbf\u68c0\u7d22"}]},{"@type":"WebSite","@id":"https:\/\/zhaocunwei.co.uk\/#website","url":"https:\/\/zhaocunwei.co.uk\/","name":"\u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug","description":"This site shares programming bugs","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zhaocunwei.co.uk\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-CN"},{"@type":"Person","@id":"https:\/\/zhaocunwei.co.uk\/#\/schema\/person\/dfb1dc0fc4a330c41908d477cd99c0b4","name":"\u603b\u662f\u5e78\u798f\u7684\u8001\u8c4c\u8c46","image":{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/zhaocunwei.co.uk\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4226cc1ca6640507df1d2d4ba3da7a62?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4226cc1ca6640507df1d2d4ba3da7a62?s=96&d=mm&r=g","caption":"\u603b\u662f\u5e78\u798f\u7684\u8001\u8c4c\u8c46"},"sameAs":["http:\/\/zhaocunwei.co.uk"],"url":"https:\/\/zhaocunwei.co.uk\/index.php\/author\/18500103508163-com\/"}]}},"_links":{"self":[{"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/773"}],"collection":[{"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=773"}],"version-history":[{"count":1,"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/773\/revisions"}],"predecessor-version":[{"id":774,"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/773\/revisions\/774"}],"wp:attachment":[{"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}