Search in sources :

Example 1 with CellCreator

use of org.apache.hadoop.hbase.mapreduce.CellCreator in project Gaffer by gchq.

the class AddElementsFromHdfsMapper method setup.

@Override
protected void setup(final Context context) {
    super.setup(context);
    serialisation = new ElementSerialisation(schema);
    Configuration conf = context.getConfiguration();
    this.kvCreator = new CellCreator(conf);
}
Also used : CellCreator(org.apache.hadoop.hbase.mapreduce.CellCreator) Configuration(org.apache.hadoop.conf.Configuration) ElementSerialisation(uk.gov.gchq.gaffer.hbasestore.serialisation.ElementSerialisation)

Aggregations

Configuration (org.apache.hadoop.conf.Configuration)1 CellCreator (org.apache.hadoop.hbase.mapreduce.CellCreator)1 ElementSerialisation (uk.gov.gchq.gaffer.hbasestore.serialisation.ElementSerialisation)1