[英]Solr - IO Exception while posting data: java.net.ConnectionException
I am trying use apache solr to index data on clouera in Hadoop using cloudera's CDH 4.7 我正在尝试使用Apache Solr使用Cloudera的CDH 4.7在Hadoop中的Clouera上索引数据
$ java -Durl=http://localhost:8983/solr/collection1/update -jar post.jar monitor.xml" throws an error
"SimplePostTool version 1.5
Posting files to base url http://localhost:8993/solr/collection1/update using content-type application/xml..
POSTing file monitor.xml
SimplePostTool: FATAL: IOException while posting data: java.net.ConnectException: Connection refused"
I ensured that all the other settings have been performed correctly. 我确保所有其他设置均已正确执行。 I went through the blogs posted for this but couldn't still figure out why the connection is getting refused. 我浏览了为此发布的博客,但仍无法弄清为什么连接被拒绝。 The solr service in cloudera manager is running on port 8983. cloudera manager中的solr服务在端口8983上运行。
Please help. 请帮忙。 Thanks in advance 提前致谢
I would recommend you to go with Cloudera CDH 5.2 which has already resolved this issue. 我建议您使用已经解决了该问题的Cloudera CDH 5.2。 The SOLR folder is missing in /user/share/docs and you have to explicitly put the solr files inside. / user / share / docs中缺少SOLR文件夹,您必须明确地将solr文件放入其中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.