Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

ramencloud/fuse-webhdfs

 
 

Repository files navigation

Description

Mount WebHDFS on your local Linux or Mac file system

After this, you can access the WebHDFS file system as if was a local directory - with regular Unix file operations.

Installation

First dependency is fuse, you can install it on Ubuntu with:

sudo apt-get install fuse

or on RedHat with:

sudo yum install fuse

To install mount-webhdfs binary run:

make
sudo make install

General Usage

mkdir -p ~/fuse-webhdfs
mount-webhdfs <server[:port]> fuse-webhdfs

You will be able to list files, read them, etc.

Proxy connection

mount-webhdfs accepts --socks5h argument if you are not in the same network as your WebHDFS installation.

You have to setup the proxy yourself, you can do it using ssh:

ssh -D 1080 -f -N username@server
> username@server's password:
mount-webhdfs <server[:port]> --socks5h localhost

Logging

Pass --logfile <logfilename> to enable logging fs operations.

About

Mount WebHDFS as your local directory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.9%
  • Dockerfile 1.2%
  • Other 0.9%