This is the documentation for CDH 4.7.1.
Documentation for other versions is available at Cloudera Documentation.

Sentry Installation

Sentry enables role-based, fine-grained authorization for HiveServer2 and Cloudera Impala. It provides classic database-style authorization for Hive and Impala. For more information, and instructions on configuring Sentry for Hive, see Configuring Sentry.

Installing Sentry

  Important:

If you have not already done so, install Cloudera's yum, zypper/YaST or apt repository before using the following commands. For instructions, see CDH4 Installation.

  1. Install Sentry as follows, depending on your operating system:
    • On Red Hat and similar systems:
      $ sudo yum install sentry
    • On SLES systems:
      $ sudo zypper install sentry
    • On Ubuntu and Debian systems:
      sudo apt-get update; sudo apt-get install sentry