Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: remove broken link to old doc

Installation from Tarball

Table of Contents

HCatalog Installed with Hive

Info
titleDISCLAIMERVersion

This information is adapted from the HCatalog 0.5.0 installation instructions. Now that HCatalog is part of the Hive project, it is installed with Hive and therefore much of the information below is obsolete. Furthermore, there is no such thing as "HCatalog 0.11.0" although that fiction has been substituted below for "HCatalog 0.5.0" — until this wikidoc is revised to reflect current realities, you should be skeptical of what you read here.

Server Installation from Source

Prerequisites

Tarball Location

Database Setup

Thrift Server Setup

Starting the Server

Logging

Stopping the Server

...

HCatalog is installed with Hive, starting with Hive release 0.11.0.
Hive installation is documented here.

HCatalog Command Line

If you install Hive from the binary tarball, the hcat command is available in the hcatalog/bin directory.

The hcat command line is similar to the hive command line; the main difference is that it restricts the queries that can be run to metadata-only operations such as DDL and DML queries used to read metadata (for example, "show tables").

The HCatalog CLI is documented here and the Hive CLI is documented here.

Most hcat commands can be issued as hive commands except for "hcat -g" and "hcat -p". Note that the hcat command uses the -p flag for permissions but hive uses it to specify a port number.

HCatalog Client Jars

In the Hive tar.gz, HCatalog libraries are available under hcatalog/share/hcatalog/.

HCatalog Server

HCatalog server is the same as Hive metastore. You can just follow the Hive metastore documentation for setting it up.

 

Panel
titleColorindigo
titleBGColorsilver
titleNavigation Links

Previous: Overview Using HCatalog
Next: Load and Store Interfaces: HCatalog Configuration Properties

Hive installation and configuration: Installing Hive, Configuring Hive, Hive Configuration Properties
WebHCat installation and configuration: WebHCat Installation, WebHCat Configuration

General: HCatalog ManualWebHCat (Templeton) ManualHive Wiki Home Hive Project Site