Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vladimirvivien/gowfs-examples
Example code using the gowfs HDFS client (see http://github.com/vladimirvivien/gowfs)
https://github.com/vladimirvivien/gowfs-examples
Last synced: 2 days ago
JSON representation
Example code using the gowfs HDFS client (see http://github.com/vladimirvivien/gowfs)
- Host: GitHub
- URL: https://github.com/vladimirvivien/gowfs-examples
- Owner: vladimirvivien
- License: apache-2.0
- Created: 2014-02-04T02:15:45.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-09T10:24:19.000Z (almost 11 years ago)
- Last Synced: 2024-04-30T11:39:24.067Z (7 months ago)
- Language: Go
- Homepage:
- Size: 1.87 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gowfs-Examples
A collection of sample code showing usage of the [gowfs HDFS client](https://github.com/vladimirvivien/gowfs) .### hdfstat
This a basic example that shows how to get the status of a given path.##### Usage
```
hdfstat -path=/user/hadoop -user=hadoop
```### hdfls
A more functional example that prints the directory listing of a given path.##### Usage
```
hdfls -path=/user/hadoop -user=hadoop
drwxr-xr-x - hadoop supergroup 0 2014-01-29 15:09:02 data-directory
drwxr-xr-x - hadoop supergroup 0 2014-01-29 15:28:59 output-directory
```