以下错误可以确定在CDH版本Hbase集群+Lily hbase indexer+solrCloud的环境中可以解决,有开源版本解决成功案例的请在下方评论。
1.If you see this error:
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException
:Error CREATEing SolrCore
'reviews_shard1_replica1': Unable to
create core: reviews_shard1_replica1 Caused by: Could not
find
configName
for collection reviews found:null</str>
You may have forgotten to create the collection:
solrctl instancedir --create review solr_configs
2.If you see this error:
ERROR - 2013-10-10 20:01:21.383; org.apache.solr.servlet.SolrDispatchFilter; Could not start Solr. Check solr
/home property and the logs
ERROR
- 2013-10-10 20:01:21.409; org.apache.solr.common.SolrException;null:org.apache.solr.common.SolrException: solr.xml not found in ZooKeeper at org.apache.solr.core.ConfigSolr.fromSolrHome(ConfigSolr.java:
109)
Server is shutting down
You might need to force Solr to> solrctl init --force
3.If you see this error:
KeeperErrorCode = NoNode for /overseer/collection-queue-work</str>
<str name="trace">
KeeperErrorCode = NoNode for /overseer/collection-queue-work
It probably comes from Error #2. You might need to re-upload the config and recreate the collection.
以上来自:http://blog.cloudera.com/blog/2013/11/how-to-index-and-search-data-with-hues-search-app/
4.If you see this error:
也许是hdfs上没有创建相应文件的权限,需要赋予solr用户权限或者采取其他的措施。
(建议使用集群管理用户创建好/solr目录,然后变更用户权限给solr用户。)
5.If you see this error:
(该错误实际的没有复制下来——条件不允许)大致上说已经有indexer和hbase中的表连接 subscription 失败了。