public class HadoopShimFactory extends Object
HadoopShim objects.| Modifier and Type | Method and Description |
|---|---|
HadoopShim |
getHadoopShim()
Get the Hadoop shim for the Hadoop version on the class path.
|
String |
getMajorVersion()
Get the Hadoop major version number.
|
static HadoopShimFactory |
INSTANCE()
Access the
HadoopShimFactory singleton. |
public static HadoopShimFactory INSTANCE()
HadoopShimFactory singleton.HadoopShimFactory.public HadoopShim getHadoopShim()
RuntimeException.
Note that this method is potentially costly.HadoopShim.public String getMajorVersion()
Copyright © 2010-2015 The Apache Software Foundation. All Rights Reserved.