tinyhdfs

Tiny client for HDFS, base on WebHDFS


Keywords
webhdfs, hdfs, hadoop
License
MIT
Install
pip install tinyhdfs==1.1.4

Documentation

pytinyhdfs

PYPI release License MIT

Tiny client for HDFS, base on WebHDFS

Install

pip install tinyhdfs

Usage

tinyhdfs --help

ls <hdfs-path>

List information about directory

rm <hdfs-file>

Remove file from HDFS

rmdir <hdfs-path>

Remove directory from HDFS

mkdir <hdfs-path>

Create directory in HDFS

get <hdfs-file> [local-path]

Download HDFS file to local, default $PWD

put <local-file> <hdfs-path>

Upload file to HDFS, support "*" for multiple files