我正在将solr从3台旧机器迁移到3台新机器,我只能让solr在3台新机器中的1台上运行。solr在3台旧机器上运行良好,但不明白为什么它不能在2台新机器上运行。
我在3台RHEL7机器上运行Solr7.4。
对于solr无法启动的2台新机器,我在尝试启动它时遇到以下错误。
Starting Solr...
find: `/user/solr/tagCollection/core_node3': No such file or directory
***[WARN]***Your open file limit is currently 1024.
It should be set to 65000 to avoid operational disruption.
If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh
***[WARN]***Your Max Processes Limit is currently 4096.
It should be set to 65000 to avoid operational disruption.
If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh
Waiting up to 180 seconds to see Solr running on port 8983 [-] Still not seeing Solr listening on 8983 after 180 seconds!
2021-06-22 08:15:48.910 INFO (qtp867148091-17) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.core.Collection3.shard1.replica_n1:UPDATE./update.requests&key=solr.core.Collection3.shard1.replica_n1:QUERY./select.requests&key=solr.core.Collection3.shard1.replica_n1:INDEX.sizeInBytes} status=0 QTime=183
2021-06-22 08:15:48.911 INFO (qtp867148091-20) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.jvm:os.processCpuLoad&key=solr.node:CONTAINER.fs.coreRoot.usableSpace&key=solr.jvm:os.systemLoadAverage&key=solr.jvm:memory.heap.used} status=0 QTime=1
2021-06-22 08:16:49.424 INFO (qtp867148091-17) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.core.Collection3.shard1.replica_n1:UPDATE./update.requests&key=solr.core.Collection3.shard1.replica_n1:QUERY./select.requests&key=solr.core.Collection3.shard1.replica_n1:INDEX.sizeInBytes} status=0 QTime=182
2021-06-22 08:16:49.425 INFO (qtp867148091-16) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.jvm:os.processCpuLoad&key=solr.node:CONTAINER.fs.coreRoot.usableSpace&key=solr.jvm:os.systemLoadAverage&key=solr.jvm:memory.heap.used} status=0 QTime=0
2021-06-22 08:17:49.932 INFO (qtp867148091-17) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.core.Collection3.shard1.replica_n1:UPDATE./update.requests&key=solr.core.Collection3.shard1.replica_n1:QUERY./select.requests&key=solr.core.Collection3.shard1.replica_n1:INDEX.sizeInBytes} status=0 QTime=186
2021-06-22 08:17:49.934 INFO (qtp867148091-13) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.jvm:os.processCpuLoad&key=solr.node:CONTAINER.fs.coreRoot.usableSpace&key=solr.jvm:os.systemLoadAverage&key=solr.jvm:memory.heap.used} status=0 QTime=1
2021-06-22 08:18:50.463 INFO (qtp867148091-13) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.core.Collection3.shard1.replica_n1:UPDATE./update.requests&key=solr.core.Collection3.shard1.replica_n1:QUERY./select.requests&key=solr.core.Collection3.shard1.replica_n1:INDEX.sizeInBytes} status=0 QTime=188
2021-06-22 08:18:50.466 INFO (qtp867148091-22) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.jvm:os.processCpuLoad&key=solr.node:CONTAINER.fs.coreRoot.usableSpace&key=solr.jvm:os.systemLoadAverage&key=solr.jvm:memory.heap.used} status=0 QTime=1
2021-06-22 08:19:50.979 INFO (qtp867148091-13) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.core.Collection3.shard1.replica_n1:UPDATE./update.requests&key=solr.core.Collection3.shard1.replica_n1:QUERY./select.requests&key=solr.core.Collection3.shard1.replica_n1:INDEX.sizeInBytes} status=0 QTime=187
2021-06-22 08:19:50.981 INFO (qtp867148091-19) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.jvm:os.processCpuLoad&key=solr.node:CONTAINER.fs.coreRoot.usableSpace&key=solr.jvm:os.systemLoadAverage&key=solr.jvm:memory.heap.used} status=0 QTime=1
2021-06-22 08:20:01.494 INFO (qtp867148091-18) [ ] o.a.s.h.a.CollectionsHandler Invoked Collection Action :clusterstatus with params action=clusterstatus&wt=json and sendToOCPQueue=true
2021-06-22 08:20:01.495 INFO (qtp867148091-18) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/collections params={action=clusterstatus&wt=json} status=0 QTime=1
2021-06-22 08:20:51.495 INFO (qtp867148091-13) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.core.Collection3.shard1.replica_n1:UPDATE./update.requests&key=solr.core.Collection3.shard1.replica_n1:QUERY./select.requests&key=solr.core.Collection3.shard1.replica_n1:INDEX.sizeInBytes} status=0 QTime=188
2021-06-22 08:20:51.502 INFO (qtp867148091-14) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.jvm:os.processCpuLoad&key=solr.node:CONTAINER.fs.coreRoot.usableSpace&key=solr.jvm:os.systemLoadAverage&key=solr.jvm:memory.heap.used} status=0 QTime=6
2021-06-22 08:21:52.024 INFO (qtp867148091-13) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.core.Collection3.shard1.replica_n1:UPDATE./update.requests&key=solr.core.Collection3.shard1.replica_n1:QUERY./select.requests&key=solr.core.Collection3.shard1.replica_n1:INDEX.sizeInBytes} status=0 QTime=186
2021-06-22 08:21:52.026 INFO (qtp867148091-16) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.jvm:os.processCpuLoad&key=solr.node:CONTAINER.fs.coreRoot.usableSpace&key=solr.jvm:os.systemLoadAverage&key=solr.jvm:memory.heap.used} status=0 QTime=1
2021-06-22 08:22:52.546 INFO (qtp867148091-13) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.core.Collection3.shard1.replica_n1:UPDATE./update.requests&key=solr.core.Collection3.shard1.replica_n1:QUERY./select.requests&key=solr.core.Collection3.shard1.replica_n1:INDEX.sizeInBytes} status=0 QTime=186
2021-06-22 08:22:52.548 INFO (qtp867148091-20) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.jvm:os.processCpuLoad&key=solr.node:CONTAINER.fs.coreRoot.usableSpace&key=solr.jvm:os.systemLoadAverage&key=solr.jvm:memory.heap.used} status=0 QTime=1
2021-06-22 08:23:53.050 INFO (qtp867148091-20) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.core.Collection3.shard1.replica_n1:UPDATE./update.requests&key=solr.core.Collection3.shard1.replica_n1:QUERY./select.requests&key=solr.core.Collection3.shard1.replica_n1:INDEX.sizeInBytes} status=0 QTime=182
2021-06-22 08:23:53.053 INFO (qtp867148091-22) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.jvm:os.processCpuLoad&key=solr.node:CONTAINER.fs.coreRoot.usableSpace&key=solr.jvm:os.systemLoadAverage&key=solr.jvm:memory.heap.used} status=0 QTime=1
2021-06-22 08:24:53.569 INFO (qtp867148091-20) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.core.Collection3.shard1.replica_n1:UPDATE./update.requests&key=solr.core.Collection3.shard1.replica_n1:QUERY./select.requests&key=solr.core.Collection3.shard1.replica_n1:INDEX.sizeInBytes} status=0 QTime=188
2021-06-22 08:24:53.570 INFO (qtp867148091-85) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.jvm:os.processCpuLoad&key=solr.node:CONTAINER.fs.coreRoot.usableSpace&key=solr.jvm:os.systemLoadAverage&key=solr.jvm:memory.heap.used} status=0 QTime=0
2021-06-22 08:25:01.787 INFO (qtp867148091-18) [ ] o.a.s.h.a.CollectionsHandler Invoked Collection Action :clusterstatus with params action=clusterstatus&wt=json and sendToOCPQueue=true
2021-06-22 08:25:01.788 INFO (qtp867148091-18) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/collections params={action=clusterstatus&wt=json} status=0 QTime=1
2021-06-22 08:25:54.096 INFO (qtp867148091-20) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.core.Collection3.shard1.replica_n1:UPDATE./update.requests&key=solr.core.Collection3.shard1.replica_n1:QUERY./select.requests&key=solr.core.Collection3.shard1.replica_n1:INDEX.sizeInBytes} status=0 QTime=186
2021-06-22 08:25:54.098 INFO (qtp867148091-14) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.jvm:os.processCpuLoad&key=solr.node:CONTAINER.fs.coreRoot.usableSpace&key=solr.jvm:os.systemLoadAverage&key=solr.jvm:memory.heap.used} status=0 QTime=0
2021-06-22 08:26:54.617 INFO (qtp867148091-20) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.core.Collection3.shard1.replica_n1:UPDATE./update.requests&key=solr.core.Collection3.shard1.replica_n1:QUERY./select.requests&key=solr.core.Collection3.shard1.replica_n1:INDEX.sizeInBytes} status=0 QTime=194
2021-06-22 08:26:54.619 INFO (qtp867148091-19) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.jvm:os.processCpuLoad&key=solr.node:CONTAINER.fs.coreRoot.usableSpace&key=solr.jvm:os.systemLoadAverage&key=solr.jvm:memory.heap.used} status=0 QTime=0
2021-06-22 08:27:55.130 INFO (qtp867148091-19) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.core.Collection3.shard1.replica_n1:UPDATE./update.requests&key=solr.core.Collection3.shard1.replica_n1:QUERY./select.requests&key=solr.core.Collection3.shard1.replica_n1:INDEX.sizeInBytes} status=0 QTime=188
2021-06-22 08:27:55.131 INFO (qtp867148091-13) [ ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/metrics params={wt=javabin&version=2&key=solr.jvm:os.processCpuLoad&key=solr.node:CONTAINER.fs.coreRoot.usableSpace&key=solr.jvm:os.systemLoadAverage&key=solr.jvm:memory.heap.used} status=0 QTime=
有人知道如何解决这个问题吗?我已经更新了所有配置设置,以使用zookeeper中的新IP,当我在所有3台新服务器上运行zookeeper状态时,它们会相应地报告。我真的很困惑,为什么三台新服务器中有一台能正常工作。
另外,这里是我在solr运行良好的1主机上得到的输出。
Starting Solr...
find: `/user/solr/tagCollection/core_node3': No such file or directory
***[WARN]***Your open file limit is currently 1024.
It should be set to 65000 to avoid operational disruption.
If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh
***[WARN]***Your Max Processes Limit is currently 1024.
It should be set to 65000 to avoid operational disruption.
If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh
Warning: Available entropy is low. As a result, use of the UUIDField, SSL, or any other features that require
RNG might not work properly. To check for the amount of available entropy, use 'cat /proc/sys/kernel/random/entropy_avail'.
Waiting up to 180 seconds to see Solr running on port 8983 [\]
Started Solr server on port 8983 (pid=10825). Happy searching!
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 10825 solruser 125u IPv6 7365290 0t0 TCP *:8983 (LISTEN)
1条答案
按热度按时间bvjxkvbb1#
这只是一个警告,如果你要处理大数据,你应该解决它。因此,您需要添加操作系统中打开文件的限制。如果您使用linux,请在中添加以下内容
/etc/sysctl.conf
并在重新记录后重新启动。更多信息:设置打开文件限制(linux/unix)