Skip to content

akolb1/hmsv2api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hive Metastore API v2

Introduction

This is work in progress for Hive Metastore API version 2. It has the following components:

All Java work required to use the new API is elsewhere.

Documentation

Installation

go get github.com/akolb1/hmsv2api/gometastore/...

Prerequisites

This project uses gRPC version 3 and needs Version 3 protoc compiler in your path.

Running server and proxy

$ hmsv2server -h
Usage of ./gometastore/hmsv2server/hmsv2server:
  -dbname string
        db name (default "hms2.db")
  -port int
        The server port (default 10010)
        
$ hmsproxy -h
Usage of ./gometastore/hmsproxy/hmsproxy:
  -hms string
        HMS endpoint (default "localhost:10010")
  -proxy string
        Proxy endpoint (default "localhost:8080")

Updating protobuf definition

The definition is in protobuf/metastore.proto. After any changes, please run

make deps # Only need to run this once
make proto
make

to regenerate all auto-generated files. To regenerate documentation use

make doc