org.apache.hadoop.hive.shims
Class ShimLoader

java.lang.Object
  extended by org.apache.hadoop.hive.shims.ShimLoader

public abstract class ShimLoader
extends Object

ShimLoader.


Method Summary
static HadoopShims getHadoopShims()
          Factory method to get an instance of HadoopShims based on the version of Hadoop on the classpath.
static HadoopThriftAuthBridge getHadoopThriftAuthBridge()
           
static JettyShims getJettyShims()
          Factory method to get an instance of JettyShims based on the version of Hadoop on the classpath.
static String getMajorVersion()
          Return the "major" version of Hadoop currently on the classpath.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getHadoopShims

public static HadoopShims getHadoopShims()
Factory method to get an instance of HadoopShims based on the version of Hadoop on the classpath.


getJettyShims

public static JettyShims getJettyShims()
Factory method to get an instance of JettyShims based on the version of Hadoop on the classpath.


getHadoopThriftAuthBridge

public static HadoopThriftAuthBridge getHadoopThriftAuthBridge()

getMajorVersion

public static String getMajorVersion()
Return the "major" version of Hadoop currently on the classpath. For releases in the 0.x series this is simply the first two components of the version, e.g. "0.20" or "0.23". Releases in the 1.x and 2.x series are mapped to the appropriate 0.x release series, e.g. 1.x is mapped to "0.20S" and 2.x is mapped to "0.23".



Copyright © 2013 The Apache Software Foundation