This project has retired. For details please refer to its Attic page.
LensServerConf (Lens 2.1.0-beta-incubating API)

org.apache.lens.server
Class LensServerConf

java.lang.Object
  extended by org.apache.lens.server.LensServerConf

public final class LensServerConf
extends Object

The Class LensServerConf.


Method Summary
static org.apache.hadoop.hive.conf.HiveConf createHiveConf()
          Creates a new configuration object from Server HiveConf, Creation should would be called usually from tests to modify some configurations.
static org.apache.hadoop.conf.Configuration getConf()
          The configuration object which does not load any defaults and loads only lens*.xml files.
static org.apache.hadoop.hive.conf.HiveConf getHiveConf()
          The HiveConf object with lensserver-default.xml and lens-site.xml added.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getHiveConf

public static org.apache.hadoop.hive.conf.HiveConf getHiveConf()
The HiveConf object with lensserver-default.xml and lens-site.xml added.

Returns:
the hive conf

getConf

public static org.apache.hadoop.conf.Configuration getConf()
The configuration object which does not load any defaults and loads only lens*.xml files. This is passed to all drivers in configure

Returns:
the conf

createHiveConf

public static org.apache.hadoop.hive.conf.HiveConf createHiveConf()
Creates a new configuration object from Server HiveConf, Creation should would be called usually from tests to modify some configurations.

Returns:


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.