ozone-go

module
v0.0.0-...-e1d69c4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2019 License: Apache-2.0

README

Go client for Apache Hadoop Ozone

This repository contains an experimental, proof-of-concept golang client for apache hadoop ozone:

  • api: the location for the generic golang api
  • lib: sharable C library
  • cli: standalone executable tool

** Highly experimental, most of the calls are not implemented. But it shows how can hadoop-rpc/grpc be used from golang.

Testing with cli:

go run cli/ozone/main.go -om 127.0.0.1 volume create vol1

Or you can install it:

cd cli
go install ./...
ozone -om 127.0.0.1 volume create vol1

Testing the python binding

Create the shared library:

go build -o ozone.so   -buildmode=c-shared lib/lib.go

Modify parameters of python/test.py (om address) and run it.

Directories

Path Synopsis
api module
cli
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL