Skip to content

Commit

Permalink
removed some debugging statements that were causing arrayindexoutofbo…
Browse files Browse the repository at this point in the history
…undsexceptions
  • Loading branch information
Jacob Perkins committed Mar 3, 2011
1 parent 18419e9 commit e558d5b
Showing 1 changed file with 0 additions and 2 deletions.
Expand Up @@ -70,10 +70,8 @@ public ElasticSearchRecordWriter(TaskAttemptContext context) {
Configuration conf = context.getConfiguration();
this.indexName = conf.get("elasticsearch.index.name");
this.bulkSize = Integer.parseInt(conf.get("elasticsearch.bulk.size"));
LOG.info("field names: "+conf.get("elasticsearch.field.names"));
this.fieldNames = conf.get("elasticsearch.field.names").split(",");
this.idField = Integer.parseInt(conf.get("elasticsearch.id.field"));
LOG.info("key field name: "+fieldNames[idField]);
this.objType = conf.get("elasticsearch.object.type");
System.setProperty("es.config",conf.get("elasticsearch.config"));
System.setProperty("es.path.plugins",conf.get("elasticsearch.plugins.dir"));
Expand Down

0 comments on commit e558d5b

Please sign in to comment.