Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

libhdfs binding and wrapper APIs for Rust

License

NotificationsYou must be signed in to change notification settings

hyunsik/hdfs-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libhdfs binding library and rust APIs which safely wraps libhdfs binding APIs

Current Status

  • Alpha Status (Rust wrapping APIs can be changed)
  • All libhdfs FFI APIs are ported.
  • Safe Rust wrapping APIs to cover some of the libhdfs APIs.

Documentation

Requirements

Usage

Add this to your Cargo.toml:

[dependencies]hdfs ="0.0.4"

and this to your crate root:

externcrate hdfs;

hdfs-rs uses libhdfs, which is JNI native implementation. JNI native implementation requires the properCLASSPATH.exec.sh included in the source code root plays a role to execute your program with the properCLASSPATH.exec.sh requiresHADOOP_HOME. So, you firstly setHADOOP_HOME shell environment variable as follows:

export HADOOP_HOME=<hadoop install dir>```Then, you can execute your program as follows:```bash./exec your_program arg1 arg2```

About

libhdfs binding and wrapper APIs for Rust

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp