You can use the Hue Beeswax application to integrate with Hive to query your data. Verify that you complete the following checks for successful integration with Hive:
In the
/etc/hue/conf/hue.inifile, modifyhive_conf_dirto point to the directory containinghive-site.xmlfile.The Hive data is stored in HDFS, typically under
/user/hive/warehouse(or any path as specified by thehive.metastore.warehouse.dirproperty in thehive-site.xmlfile).Ensure that this location exists and is world-writable (
1777) by the users responsible for creating tables.Hive extensively uses the
/tmpdirectory (on the local file system).Ensure that the
hive.security.authorization.managerclass is visible to Hue.For example, if
hive.security.authorization.manager=org.apache.hcatalog.security.HdfsAuthorizationProviderensure that you execute the following command on the Hive metastore host machine:
ln -s /usr/lib/hcatalog/share/hcatalog/hcatalog-core.jar $HIVE_HOME
where
$HIVE_HOMEby default points to/usr/lib/hive/lib/.

