[ 
https://issues.apache.org/jira/browse/SOLR-15969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17485467#comment-17485467
 ] 

Mike Drob commented on SOLR-15969:
----------------------------------

{noformat}
  2> 6700 ERROR (CreateSnapshot) [] o.a.s.h.SnapShooter Exception while 
creating snapshot
  2>           => org.apache.lucene.index.CorruptIndexException: codec footer 
mismatch (file truncated?): actual footer=808464432 vs expected 
footer=-1071082520 
(resource=BufferedChecksumIndexInput(MMapIndexInput(path="/Users/mdrob/code/solr/solr/modules/hdfs/build/tmp/tests-tmp/solr.handler.TestHdfsBackupRestoreCore_7102F921739005DD-006/tempDir-002/node1/HdfsBackupRestore_shard1_replica_n1/data/index/_0.dii")))
  2>    at org.apache.lucene.codecs.CodecUtil.validateFooter(CodecUtil.java:584)
  2> org.apache.lucene.index.CorruptIndexException: codec footer mismatch (file 
truncated?): actual footer=808464432 vs expected footer=-1071082520 
(resource=BufferedChecksumIndexInput(MMapIndexInput(path="/Users/mdrob/code/solr/solr/modules/hdfs/build/tmp/tests-tmp/solr.handler.TestHdfsBackupRestoreCore_7102F921739005DD-006/tempDir-002/node1/HdfsBackupRestore_shard1_replica_n1/data/index/_0.dii")))
  2>    at 
org.apache.lucene.codecs.CodecUtil.validateFooter(CodecUtil.java:584) 
~[lucene-core-9.0.0.jar:9.0.0 0b18b3b965cedaf5eb129aa41243a44c83ca826d - 
jpountz - 2021-12-01 14:23:49]
  2>    at org.apache.lucene.codecs.CodecUtil.checkFooter(CodecUtil.java:432) 
~[lucene-core-9.0.0.jar:9.0.0 0b18b3b965cedaf5eb129aa41243a44c83ca826d - 
jpountz - 2021-12-01 14:23:49]
  2>    at 
org.apache.solr.core.backup.repository.BackupRepository.copyIndexFileFrom(BackupRepository.java:241)
 ~[solr-core-10.0.0-SNAPSHOT.jar:10.0.0-SNAPSHOT 
cb2e58f6569704c45387a8d094625ba8e014776b [snapshot build, details omitted]]
  2>    at 
org.apache.solr.core.backup.repository.HdfsBackupRepository.copyIndexFileFrom(HdfsBackupRepository.java:194)
 ~[main/:10.0.0-SNAPSHOT cb2e58f6569704c45387a8d094625ba8e014776b [snapshot 
build, details omitted]]
  2>    at 
org.apache.solr.core.backup.repository.BackupRepository.copyFileFrom(BackupRepository.java:203)
 ~[solr-core-10.0.0-SNAPSHOT.jar:10.0.0-SNAPSHOT 
cb2e58f6569704c45387a8d094625ba8e014776b [snapshot build, details omitted]]
  2>    at 
org.apache.solr.handler.SnapShooter.createSnapshot(SnapShooter.java:269) 
~[solr-core-10.0.0-SNAPSHOT.jar:?]
  2>    at 
org.apache.solr.handler.SnapShooter.createSnapshot(SnapShooter.java:158) 
~[solr-core-10.0.0-SNAPSHOT.jar:?]
  2>    at 
org.apache.solr.handler.SnapShooter.lambda$createSnapAsync$1(SnapShooter.java:225)
 [solr-core-10.0.0-SNAPSHOT.jar:?]
  2>    at java.lang.Thread.run(Thread.java:829) [?:?]
{noformat}

> Consistent Failure in TestHdfsBackupRestoreCore
> -----------------------------------------------
>
>                 Key: SOLR-15969
>                 URL: https://issues.apache.org/jira/browse/SOLR-15969
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>         Environment: openjdk version "11.0.13"
> solr commit cb2e58f6569
>            Reporter: Mike Drob
>            Assignee: Kevin Risden
>            Priority: Major
>
> Reproduce with: {{gradlew :solr:modules:hdfs:test --tests 
> "org.apache.solr.handler.TestHdfsBackupRestoreCore.test" 
> -Ptests.seed=7102F921739005DD}}
> {noformat}
>    >     java.lang.AssertionError: Backup failure: zh expected null, but 
> was:<codec footer mismatch (file truncated?): actual footer=808464432 vs 
> expected footer=-1071082520 
> (resource=BufferedChecksumIndexInput(MMapIndexInput(path="/Users/mdrob/code/solr/solr/modules/hdfs/build/tmp/tests-tmp/solr.handler.TestHdfsBackupRestoreCore_7102F921739005DD-006/tempDir-002/node1/HdfsBackupRestore_shard1_replica_n1/data/index/_0.dii")))>
>    >         at 
> __randomizedtesting.SeedInfo.seed([7102F921739005DD:F956C6FBDD6C6825]:0)
>    >         at org.junit.Assert.fail(Assert.java:89)
>    >         at org.junit.Assert.failNotNull(Assert.java:756)
>    >         at org.junit.Assert.assertNull(Assert.java:738)
>    >         at 
> org.apache.solr.handler.BackupStatusChecker._checkBackupSuccess(BackupStatusChecker.java:207)
>    >         at 
> org.apache.solr.handler.BackupStatusChecker.checkBackupSuccess(BackupStatusChecker.java:187)
>    >         at 
> org.apache.solr.handler.BackupStatusChecker.waitForBackupSuccess(BackupStatusChecker.java:96)
>    >         at 
> org.apache.solr.handler.BackupStatusChecker.waitForBackupSuccess(BackupStatusChecker.java:72)
>    >         at 
> org.apache.solr.handler.TestHdfsBackupRestoreCore.test(TestHdfsBackupRestoreCore.java:198)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to