Skip to content
This repository has been archived by the owner on Jul 10, 2019. It is now read-only.

Commit

Permalink
exclude asm dependency as breaks builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jnioche committed Jan 28, 2014
1 parent 76070ec commit 87d5151
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Expand Up @@ -68,7 +68,7 @@ public WARCConverterJob(Configuration conf) {

public void configure(JobConf job) {
setConf(job);
filter = DocumentFilter.getFilters(job);
filter = DocumentFilter.getFilters(job);
}

public void close() {
Expand All @@ -82,8 +82,6 @@ public void map(LongWritable key, WritableWarcRecord record,
OutputCollector<Text, BehemothDocument> output, Reporter reporter)
throws IOException {

BehemothDocument behemothDocument = new BehemothDocument();

WarcRecord wr = record.getRecord();

if (wr.getHeaderRecordType().equals("response") == false)
Expand All @@ -106,6 +104,8 @@ public void map(LongWritable key, WritableWarcRecord record,
return;
}

BehemothDocument behemothDocument = new BehemothDocument();

behemothDocument.setUrl(uri);
newKey.set(uri);

Expand Down
6 changes: 6 additions & 0 deletions pom.xml
Expand Up @@ -129,6 +129,12 @@
<artifactId>hadoop-core</artifactId>
<version>1.2.1</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<artifactId>asm</artifactId>
<groupId>asm</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand Down

0 comments on commit 87d5151

Please sign in to comment.