Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

– This document is a work in progress.

Overview

There are presently three ways to issue HCatalog DDL commands:

  1. Command line interface
  2. Templeton REST APIs
  3. HiveMetaStore Client

Presently, java developers go through the Hive meta store (HMS) client interface to issue HCatalog DDl commands. Though the HMS client interface is public, it is not
intended for public users. According to the hive user mailing list, the HMS client is not a public API and is subject to change in the future. So, it will be a good idea
to have a java APIs in HCatalog which will provide a protect users from the changes made to the hive meta store client. Also, the under the covers either the
Templeton Rest APIS or the hive metastore client can be used to provide end users with the required dataTempleton provides a REST-like web API for HCatalog and related Hadoop components. Developers can make HTTP requests to the Templeton web server to execute HCatalog DDL commands. With the REST APIs in place for HCatalog DDL commands, it is desirable to have a JAVA APIs in HCAT which can help end users to execute DDL commands without using CLI.

Design

New Classes

HCatClient

...