mirror of https://github.com/apache/lucene.git
SOLR-10064: Lower block cache size to fit within default limits.
This commit is contained in:
parent
98d1dabcd8
commit
e316f2f15a
|
@ -38,7 +38,7 @@ public class HdfsCollectionsAPIDistributedZkTest extends CollectionsAPIDistribut
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void setupClass() throws Exception {
|
public static void setupClass() throws Exception {
|
||||||
dfsCluster = HdfsTestUtil.setupClass(createTempDir().toFile().getAbsolutePath());
|
dfsCluster = HdfsTestUtil.setupClass(createTempDir().toFile().getAbsolutePath());
|
||||||
System.setProperty("solr.hdfs.blockcache.blocksperbank", "2048");
|
System.setProperty("solr.hdfs.blockcache.blocksperbank", "1024");
|
||||||
|
|
||||||
ZkConfigManager configManager = new ZkConfigManager(zkClient());
|
ZkConfigManager configManager = new ZkConfigManager(zkClient());
|
||||||
configManager.uploadConfigDir(configset("cloud-hdfs"), "conf");
|
configManager.uploadConfigDir(configset("cloud-hdfs"), "conf");
|
||||||
|
|
Loading…
Reference in New Issue