Giter Club home page Giter Club logo

ozone-go's Introduction

Go client for Apache Ozone

This repository contains an experimental, proof-of-concept Golang client for Apache Ozone.

It's not ready yet for using in production / non-production.

The repository contains the following sub-modules

  • api: the location for the generic golang api for Apache Ozone
  • cli: standalone executable tool for main operations (similar to the original ozone sh)
  • lib: proof-of-concept shared C library
  • python: example python script uses the shared C library
  • HA failovoer is missing

Status:

  • api
    • main OM metadata operations worked well, but not all the fields are implemented
    • data read / write are implemented on some level but needs further work
    • security can be supported by the used Hadoop RPC implementation, but not tested
  • fuse
    • first working POC, files are successfully listed and files can be read
    • write is not implemented at all
    • requires major work
  • shared lib / python: very basic example, poc

Testing with cli:

cd cli
./build.sh
./ozone-go --om localhost volume create vol1

Or you can install it:

cd cli
go install
ozone -om 127.0.0.1 volume create vol1

Testing Fuse file system

cd fuse
./build.sh
./ozone-fuse/ozone-fuse --om localhost --volume vol1 --bucket bucket1 /tmp/bucket1

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.

ozone-go's People

Contributors

adoroszlai avatar cxorm avatar elek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.