{"id":13439198,"url":"https://github.com/hyunsik/hdfs-rs","last_synced_at":"2025-05-02T05:31:15.338Z","repository":{"id":31610979,"uuid":"35175974","full_name":"hyunsik/hdfs-rs","owner":"hyunsik","description":"libhdfs binding and wrapper APIs for Rust","archived":false,"fork":false,"pushed_at":"2015-10-08T09:29:28.000Z","size":2269,"stargazers_count":31,"open_issues_count":2,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T22:42:59.821Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/hyunsik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-06T18:30:36.000Z","updated_at":"2025-04-03T06:37:44.000Z","dependencies_parsed_at":"2022-09-07T01:13:19.237Z","dependency_job_id":null,"html_url":"https://github.com/hyunsik/hdfs-rs","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyunsik%2Fhdfs-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyunsik%2Fhdfs-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyunsik%2Fhdfs-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyunsik%2Fhdfs-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyunsik","download_url":"https://codeload.github.com/hyunsik/hdfs-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251992798,"owners_count":21677020,"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-07-31T03:01:11.898Z","updated_at":"2025-05-02T05:31:14.313Z","avatar_url":"https://github.com/hyunsik.png","language":"Rust","funding_links":[],"categories":["Libraries","库 Libraries","库","虚拟化"],"sub_categories":["Distributed systems","分布式系统 Distributed systems","分布式系统"],"readme":"# hdfs-rs\n\nlibhdfs binding library and rust APIs which safely wraps libhdfs binding APIs\n\n# Current Status\n * Alpha Status (Rust wrapping APIs can be changed)\n * All libhdfs FFI APIs are ported.\n * Safe Rust wrapping APIs to cover some of the libhdfs APIs.\n\n## Documentation\n* [API documentation] (http://hyunsik.github.io/hdfs-rs/)\n\n## Requirements\n* Hadoop compiled with native library (i.e., maven profile ``-Pnative``)\n  * Please refer to https://github.com/apache/hadoop/blob/trunk/BUILDING.txt if you need more description.\n\n## Usage\nAdd this to your Cargo.toml:\n\n```toml\n[dependencies]\nhdfs = \"0.0.4\"\n```\n\nand this to your crate root:\n```rust\nextern crate hdfs;\n```\n\nhdfs-rs uses libhdfs, which is JNI native implementation. JNI native implementation requires the proper ``CLASSPATH``. ``exec.sh`` included in the source code root plays a role to execute your program with the proper ``CLASSPATH``. ``exec.sh`` requires ``HADOOP_HOME``. So, you firstly set ``HADOOP_HOME`` shell environment variable as follows:\n\n````sh\nexport HADOOP_HOME=\u003chadoop install dir\u003e\n```\n\nThen, you can execute your program as follows:\n\n```bash\n./exec your_program arg1 arg2\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyunsik%2Fhdfs-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyunsik%2Fhdfs-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyunsik%2Fhdfs-rs/lists"}