Authorizing Hive
Hive authorization is about verifying that a user is authorized to perform a particular action. Authentication is about verifying the identity of a user, which is different from the authorization concept.
Hive can be used in the following different ways:
- HCatalog API: Hive's HCatalog API is used to access Hive by many other frameworks, such as Apache Pig, MapReduce, Facebook Presto, Spark SQL, and Cloudera Impala. Using Hcatalog API, the users have direct access to HDFS data and Hive metadata. Hive metadata is directly accessible using the metastore server API.
- Hive Command Line Interface (CLI): Using Hive CLI also, users have direct access to HDFS data and Hive metadata. Hive CLI directly interacts with the Hive metastore server. Currently, Hive CLI don't support rich authorization. In next versions of Hive, Hive CLI's implementation will be changed to provide better security, and also Hive CLI will interact with HiveSerer2 rather than directly interacting...