[ https://issues.apache.org/jira/browse/SOLR-13060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16730204#comment-16730204 ]
Dawid Weiss commented on SOLR-13060: ------------------------------------ This is probably easy to fix... but not for me. The NPE problem here can be easily avoided by adding cloud config (this is a result of Mark's changes): https://github.com/apache/lucene-solr/compare/master...dweiss:SOLR-13060 this, however, results in further errors from tests, such as: {code} 2> 17471 ERROR (qtp1816967642-985) [n:127.0.0.1:37271_solr c:MoveReplicaHDFSTest_failed_coll_true s:shard2 r:core_node7 x:Mov eReplicaHDFSTest_failed_coll_true_shard2_replica_n4] o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException: Error CRE ATEing SolrCore 'MoveReplicaHDFSTest_failed_coll_true_shard2_replica_n4': Unable to create core [MoveReplicaHDFSTest_failed_col l_true_shard2_replica_n4] Caused by: Unrecognized lockType: native {code} I'm guessing I initialize the collection wrong, because the cloud-hdfs config set has it right.... But I know too little about the subject of hdfs and Solr in cloud mode to fix it properly. All the tests that try to read this config set (cloud-hdfs) seem like they have no way of working (and are currently disabled, in one way or the other), so addressing it properly in one place should give an example to people like me on how to fix it elsewhere. I also can't run those tests in Windows at all. Hadoop home isn't properly initialized and I don't know whether it's a requirement to set it up properly manually (?): {code} 7680 ERROR (SUITE-MoveReplicaHDFSTest-seed#[8489A45D88EB8B8A]-worker) [ ] o.a.h.u.Shell Failed to locate the winutils binary in the hadoop binary path java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries. {code} > Some Nightly HDFS tests never terminate on ASF Jenkins, triggering whole-job > timeout, causing Jenkins to kill JVMs, causing dump files to be created that > fill all disk space, causing failure of all following jobs on the same node > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: SOLR-13060 > URL: https://issues.apache.org/jira/browse/SOLR-13060 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: Tests > Reporter: Steve Rowe > Priority: Major > Attachments: > junit4-J0-20181210_065854_4175881849742830327151.spill.part1.gz > > > The 3 tests that are affected: > * HdfsAutoAddReplicasIntegrationTest > * HdfsCollectionsAPIDistributedZkTest > * MoveReplicaHDFSTest > Instances from the dev list: > 12/1: > https://lists.apache.org/thread.html/e04ad0f9113e15f77393ccc26e3505e3090783b1d61bd1c7ff03d33e@%3Cdev.lucene.apache.org%3E > 12/5: > https://lists.apache.org/thread.html/d78c99255abfb5134803c2b77664c1a039d741f92d6e6fcbcc66cd14@%3Cdev.lucene.apache.org%3E > 12/8: > https://lists.apache.org/thread.html/92ad03795ae60b1e94859d49c07740ca303f997ae2532e6f079acfb4@%3Cdev.lucene.apache.org%3E > 12/8: > https://lists.apache.org/thread.html/26aace512bce0b51c4157e67ac3120f93a99905b40040bee26472097@%3Cdev.lucene.apache.org%3E > 12/11: > https://lists.apache.org/thread.html/33558a8dd292fd966a7f476bf345b66905d99f7eb9779a4d17b7ec97@%3Cdev.lucene.apache.org%3E -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org