This project has retired. For details please refer to its Attic page.
Lens –

Configuring lens server

This document guides you through configuring lens server.

Server configuration

Lens server provides you with various configuration options. Administrator can configure the offered services from server, available drivers for query execution, query output options, enabling metrics from server and etc. The configuration parameters and their detailed description and default values are available here. The overridden configuration can be part of lens-site.xml.

Driver configuration

The supported drivers are configured through classnames in this release. The configuration for each driver can be specified in their site.xml file. For example, HiveDriver's configuration should be specified in hive-site.xml. Supported drivers in this version are org.apache.lens.driver.hive.HiveDriver and org.apache.lens.driver.jdbc.JDBCDriver. The configuration parameters and their detailed description and default values for HiveDriver are available here and for JDBCDriver available here. The overridden configuration for HiveDriver and JDBCDriver can be part of hivedriver-site.xml and jdbc-driver-site.xml respectively.

Session configuration

The configuration that user can override for each session is documented here. These configuration mostly include query parameters, which can be overriden by query as well. Server should be configured with appropriate values for them in the site file. The overridden configuration can be part of lens-site.xml.