|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.splout.db.common.SploutHadoopConfiguration
public class SploutHadoopConfiguration
Configuratio helper class.
Constructor Summary | |
---|---|
SploutHadoopConfiguration()
|
Method Summary | |
---|---|
static void |
addSQLite4JavaNativeLibsToDC(org.apache.hadoop.conf.Configuration conf)
Adds the SQLite native libraries to the DistributedCache so that they will be present in the java.library.path of the child's Hadoop task. |
static void |
addSQLite4JavaNativeLibsToDC(org.apache.hadoop.conf.Configuration conf,
java.io.File nativeLibsLocalPath)
Adds the SQLite native libraries to the DistributedCache so that they will be present in the java.library.path of the child's Hadoop task. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SploutHadoopConfiguration()
Method Detail |
---|
public static void addSQLite4JavaNativeLibsToDC(org.apache.hadoop.conf.Configuration conf) throws java.io.IOException, java.net.URISyntaxException
Usually you don't need to do this as the task will already try to load them from the job's uncompressed JAR, however it is not assured that all Hadoop versions do the uncompressing of the JAR so in this case it's safer to use this.
This method uses the default "native" folder.
java.io.IOException
java.net.URISyntaxException
public static void addSQLite4JavaNativeLibsToDC(org.apache.hadoop.conf.Configuration conf, java.io.File nativeLibsLocalPath) throws java.io.IOException, java.net.URISyntaxException
Usually you don't need to do this as the task will already try to load them from the job's uncompressed JAR, however it is not assured that all Hadoop versions do the uncompressing of the JAR so in this case it's safer to use this.
java.io.IOException
java.net.URISyntaxException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |