{"id":13541576,"url":"https://github.com/wang-zerui/XidianFileSystem","last_synced_at":"2025-04-02T09:32:00.097Z","repository":{"id":119105228,"uuid":"492874874","full_name":"wang-zerui/XidianFileSystem","owner":"wang-zerui","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-20T08:34:43.000Z","size":242,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-20T13:35:16.175Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wang-zerui.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-16T14:38:04.000Z","updated_at":"2022-05-17T13:42:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"72080ff1-3159-45e9-9076-72d7e529b430","html_url":"https://github.com/wang-zerui/XidianFileSystem","commit_stats":null,"previous_names":["wang-zerui/xidianfilesystem"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang-zerui%2FXidianFileSystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang-zerui%2FXidianFileSystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang-zerui%2FXidianFileSystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang-zerui%2FXidianFileSystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wang-zerui","download_url":"https://codeload.github.com/wang-zerui/XidianFileSystem/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246788648,"owners_count":20834130,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T10:00:51.226Z","updated_at":"2025-04-02T09:31:59.815Z","avatar_url":"https://github.com/wang-zerui.png","language":"Java","funding_links":[],"categories":["云计算技术研究"],"sub_categories":[],"readme":"## 环境\n\n- 环境：windows\n- jdk: 1.7 (只试用了1.7)\n- Hadoop2.7.3\n\n## 使用步骤\n\n1. 解压缩\n2. 将jar包放到`hadoop-2.7.3\\share\\hadoop\\hdfs\\lib`下\n3. 编辑`hadoop-2.7.3/etc/hadoop/core-site.xml`\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003c?xml-stylesheet type=\"text/xsl\" href=\"configuration.xsl\"?\u003e\n\n\u003cconfiguration\u003e\n    \u003cproperty\u003e\n        \u003cname\u003efs.xidian.impl\u003c/name\u003e\n        \u003cvalue\u003eorg.apache.hadoop.fs.xd.XdFileSystem\u003c/value\u003e\n    \u003c/property\u003e\n\u003c/configuration\u003e\n```\n\n1. 命令行操作测试\n\n测试时保证有对应文件存在\n\n文件路径格式`xidian://`+`路径`，`路径`不包含分卷名（c盘d盘等），注意用斜杠分割不要用`\\`\n\n```git\nhadoop fs -ls xidian:///test\nhadoop fs -mkdir xidian:///test/new_folder\nhadoop fs -cp xidian:///test/test.txt xidian://test/data\nhadoop fs -cp xidian:///test/test.txt xidian:///test/data\nhadoop fs -copyFromLocal file:///tmp/back.txt xidian:///test/data\nhadoop fs -cat xidian:///test/test.txt\n```\n\n我的目录\n\n![img](https://cdn.nlark.com/yuque/0/2022/png/1374390/1652711523355-a6477375-a5e0-40ad-8e6d-74e755e6ab81.png)\n\n运行结果截图\n\n![img](https://cdn.nlark.com/yuque/0/2022/png/1374390/1652711633592-5fc73dee-b02b-4206-a964-7138ac46a28c.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwang-zerui%2FXidianFileSystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwang-zerui%2FXidianFileSystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwang-zerui%2FXidianFileSystem/lists"}