2016-11-23 152 views
0

我使用nifi创建了一个推文流程,并在solr中进行分析,但tweet发布到了nifi中,但没有任何事件发生在solr.But中,nifi处理器putsolrcontentstream中的错误无法连接到localhost:2181/solr cluster not发现/未准备好。Nifi错误Wwth putsolrcontentstream处理器

Putsolrcontentstream处理器错误:

enter image description here

+0

你应该显示你有问题的代码。请在帮助中阅读[如何提问](http://stackoverflow.com/help/how-to-ask)。 – Tony

回答

1

你在集群模式下运行?

我刚刚设置了本地(标准模式)Solr核心,并在Solr Location属性I中使用了http://localhost:8983/solr/myDemoCore。你可能忘了提及核心的名字?

如果您尚未创建一个核心:

cd path/to/solr/bin/ ./solr create -c myDemoCore ./solr restart

Solr的位置属性然后使用http://localhost:8983/solr/myDemoCore,然后再试一次。

编辑:我看到你正在使用Windows--只是相应地改变你的路径符号。