docs.rs failed to build hdfs-0.0.4
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
hdfs-rs
libhdfs binding library and rust APIs which safely wraps libhdfs binding APIs
Current Status
- Alpha Status (Rust wrapping APIs can be changed)
- libhdfs C APIs all are ported.
- Some of Rust wrapping APIs are implemented.
Documentation
- [API documentation] (http://hyunsik.github.io/hdfs-rs/)
Requirements
- Hadoop compiled with native library (i.e., maven profile
-Pnative
)- Please refer to https://github.com/apache/hadoop/blob/trunk/BUILDING.txt if you need more description.
Usage
Add this to your Cargo.toml:
[]
= "0.0.4"
and this to your crate root:
extern crate hdfs;
hdfs-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: