I've committed the backcompat thing for trunk now, and as far as I'm concerned, the release is complete.
Now to look at improving the clarity of the release guide. Many thanks! Upayavira On Tue, Dec 15, 2015, at 10:52 AM, Adrien Grand wrote: > Lucene54Codec was not defined in lucene/backward-codecs/src/resources/META- > INF/services/org.apache.lucene.codecs.Codec on trunk. This should > work now. > > Le lun. 14 déc. 2015 à 20:55, Upayavira <[email protected]> a écrit : >> Running "python3 -u dev-tools/scripts/addBackcompatIndexes.py >> 5.4.0" on >> lucene_5x worked fine, however on trunk it gave the below error. >> >> I notice there is a >> lucene/core/src/java/org/apache/lucene/codecs/lucene54/Lucene54Codec.ja- va >> in lucene_5x but not in trunk. >> >> Any ideas? >> >> Upayavira >> >> [junit4] 2> NOTE: reproduce with: ant test >> -Dtestcase=TestBackwardsCompatibility >> -Dtests.method=testNextIntoWrongField -Dtests.seed=29AA9C3E704E7F75 >> -Dtests.slow=true -Dtests.locale=sr__#Latn -Dtests.timezone=Africa/Accra >> -Dtests.asserts=true -Dtests.file.encoding=US-ASCII >> [junit4] ERROR 0.16s | >> TestBackwardsCompatibility.testNextIntoWrongField <<< >> [junit4] > Throwable #1: java.lang.IllegalArgumentException: Could >> not load codec 'Lucene54'. Did you forget to add >> lucene-backward-codecs.jar? >> [junit4] > at >> __randomizedtesting.SeedInfo.seed([29AA9C3E704E7F75:6F2D499D140AC549]:0) >> [junit4] > at >> org.apache.lucene.index.SegmentInfos.readCodec(SegmentInfos.java:421) >> [junit4] > at >> org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:340) >> [junit4] > at >> org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirect- oryReader.java:53) >> [junit4] > at >> org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirect- oryReader.java:50) >> [junit4] > at >> org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos- .java:671) >> [junit4] > at >> org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryR- eader.java:73) >> [junit4] > at >> org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:63) >> [junit4] > at >> org.apache.lucene.index.TestBackwardsCompatibility.testNextIntoWrongFie- ld(TestBackwardsCompatibility.java:1012) >> [junit4] > at java.lang.Thread.run(Thread.java:745) >> [junit4] > Caused by: java.lang.IllegalArgumentException: An SPI >> class of type org.apache.lucene.codecs.Codec with name 'Lucene54' >> does not exist. You need to add the corresponding JAR file >> supporting this SPI to your classpath. The current classpath >> supports the following names: [Asserting, CheapBastard, >> FastCompressingStoredFields, >> FastDecompressionCompressingStoredFields, >> HighCompressionCompressingStoredFields, DummyCompressingStoredFields, >> SimpleText, Lucene60, Lucene50, Lucene53] >> [junit4] > at >> org.apache.lucene.util.NamedSPILoader.lookup(NamedSPILoader.java:116) >> [junit4] > at >> org.apache.lucene.codecs.Codec.forName(Codec.java:116) >> [junit4] > at >> org.apache.lucene.index.SegmentInfos.readCodec(SegmentInfos.java:409) >> [junit4] > ... 43 more >> [junit4] 2> NOTE: reproduce with: ant test >> -Dtestcase=TestBackwardsCompatibility >> -Dtests.method=testAddOldIndexesReader -Dtests.seed=29AA9C3E704E7F75 >> -Dtests.slow=true -Dtests.locale=sr__#Latn >> -Dtests.timezone=Africa/Accra -Dtests.asserts=true >> -Dtests.file.encoding=US-ASCII >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >>
