edu.yale.cs.hadoopdb.catalog
Class Catalog
java.lang.Object
edu.yale.cs.hadoopdb.catalog.Catalog
public class Catalog
- extends java.lang.Object
HadoopDB Catalog: Simple XML file based implementation. No support for mid-job updates
except by recreating the XML catalog file and re-executing the job.
Constructor Summary |
private |
Catalog(org.apache.hadoop.mapred.JobConf job)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.commons.logging.Log LOG
replication
private boolean replication
singleton
private static Catalog singleton
xmlConfig
private ConfigurationMapping xmlConfig
Catalog
private Catalog(org.apache.hadoop.mapred.JobConf job)
getInstance
public static Catalog getInstance(org.apache.hadoop.mapred.JobConf job)
setSplitLocationStructure
public void setSplitLocationStructure(BaseDBConfiguration dbConf,
java.lang.String relation)
- For a given relation, it populates the configuration object with the different
chunks associated with the relation. Each chunk contains connection and location
information.