Author: jerome Date: Thu Feb 9 07:14:17 2006 New Revision: 376315 URL: http://svn.apache.org/viewcvs?rev=376315&view=rev Log: Add a default constructor to avoid failure when JobConf tries to instanciate ParseSegment on parse command. (Just a workaround for HADOOP-29 issue).
Modified: lucene/nutch/trunk/src/java/org/apache/nutch/parse/ParseSegment.java Modified: lucene/nutch/trunk/src/java/org/apache/nutch/parse/ParseSegment.java URL: http://svn.apache.org/viewcvs/lucene/nutch/trunk/src/java/org/apache/nutch/parse/ParseSegment.java?rev=376315&r1=376314&r2=376315&view=diff ============================================================================== --- lucene/nutch/trunk/src/java/org/apache/nutch/parse/ParseSegment.java (original) +++ lucene/nutch/trunk/src/java/org/apache/nutch/parse/ParseSegment.java Thu Feb 9 07:14:17 2006 @@ -35,7 +35,11 @@ public static final Logger LOG = LogFormatter.getLogger(Parser.class.getName()); - + + public ParseSegment() { + this(null); + } + public ParseSegment(Configuration conf) { super(conf); }