Enabling the Hive Warehouse Connector and Hive LLAP
Enabling the Hive Warehouse Connector and Hive LLAP
Before you enable the Hive Warehouse Connector, enable Hive LLAP on the Hadoop cluster. To enable the connector, configure the following properties in the Spark advanced properties for the Hadoop connection:
infaspark.useHiveWarehouseAPI
Enables the Hive Warehouse Connector. Set to TRUE.
For example,
infaspark.useHiveWarehouseAPI=true
.
spark.datasource.hive.warehouse.load.staging.dir
Directory for the temporary HDFS files used for batch writes to Hive. Required when you enable the Hive Warehouse Connector.
For example, set to
/tmp
spark.datasource.hive.warehouse.metastoreUri
URI for the Hive metastore. Required when you enable the Hive Warehouse Connector. Use the value for
hive.metastore.uris
from the hive_site_xml cluster configuration properties.
For example, set the value to
thrift://mycluster-1.com:9083
.
spark.hadoop.hive.llap.daemon.service.hosts
Application name for the LLAP service. Required when you enable the Hive Warehouse Connector. Use the value for
hive.llap.daemon.service.hosts
from the hive_site_xml cluster configuration properties.
spark.hadoop.hive.zookeeper.quorum
Zookeeper hosts used by Hive LLAP. Required when you enable the Hive Warehouse Connector. Use the value for
hive.zookeeper.quorum
from the hive_site_xml cluster configuration properties.
spark.sql.hive.hiveserver2.jdbc.url
URL for HiveServer2 Interactive. Required to use the Hive Warehouse Connector. Use the value in Ambari for HiveServer2 JDBC URL.