sebastian-nagel commented on code in PR #905:
URL: https://github.com/apache/nutch/pull/905#discussion_r2901705464
##########
src/java/org/apache/nutch/indexer/IndexerOutputFormat.java:
##########
@@ -40,32 +33,67 @@ public RecordWriter<Text, NutchIndexAction> getRecordWriter(
Configuration conf = context.getConfiguration();
final IndexWriters writers = IndexWriters.get(conf);
- String name = getUniqueFile(context, "part", "");
- writers.open(conf, name);
+ // open writers (no temporary file output anymore)
+ writers.open(conf, "index");
Review Comment:
The method [open(Configuration conf, String
name)](https://nutch.apache.org/documentation/javadoc/api/org/apache/nutch/indexer/IndexWriter.html#open(org.apache.hadoop.conf.Configuration,java.lang.String))
of the IndexWriter class is deprecated. Once it is finally removed, the
`indexName` parameter is not used anymore. So, this is no real problem.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]