以下错误可以确定在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 - -- ::21.383; org.apache.solr.servlet.SolrDispatchFilter;
Could not start Solr. Check solr/home property and the logs
ERROR - -- ::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:) Server is shutting down

You might need to force Solr to reload the configuration. Beware, this might break Apache ZooKeeper and you might need to read Error #3.

solrctl init --force

3.If you see this error:

KeeperErrorCode = NoNode for /overseer/collection-queue-work</str>
<str name="trace">
org.apache.zookeeper.KeeperException$NoNodeException:
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:

org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:Error CREATEing SolrCore 'xxx_shard3_replica1': Unable to create core [noc_shard3_replica1] Caused by: Permission denied: user=solr, access=WRITE, inode="/":hdfs:hadoop:drwxr-xr-x 

也许是hdfs上没有创建相应文件的权限,需要赋予solr用户权限或者采取其他的措施。

(建议使用集群管理用户创建好/solr目录,然后变更用户权限给solr用户。)

5.If you see this error:

  (该错误实际的没有复制下来——条件不允许)大致上说已经有indexer和hbase中的表连接 subscription 失败了。

执行命令:hbase-indexer list-indexers (最好指定一下zookeeper啦)
//显示:(红色部分是不正常的,蓝色部分是一个正常的案例)
Number of indexes: nocIndexer
+ Lifecycle state: ACTIVE
+ Incremental indexing state: SUBSCRIBE_AND_CONSUME
+ Batch indexing state: INACTIVE
+ SEP subscription ID: null //SEP subscription ID: Indexer_xxxIndexer
+ SEP subscription timestamp: --21T20::52.923+:
+ Connection type: solr
+ Connection params:
+ solr.zk = n1.cluster:,n2.cluster:,n3.cluster:/solr
+ solr.collection = noc
+ Indexer config:
bytes, use -dump to see content
+ Indexer component factory: com.ngdata.hbaseindexer.conf.DefaultIndexerComponentFactory
+ Additional batch index CLI arguments:
(none)
+ Default additional batch index CLI arguments:
(none)
+ Processes
+ 0 running processes //4 running processes
   + failed processes

这很可能是你已经对该hbase中的表已经设置过了indexer,然后,你又选择进行配置新的indexer,但之前配置的indexer和hbase中的连接信息并没有清理掉。

这种情况下(使用的zookeeper进行协调同步):

  1.关闭hbase-solr-indexer服务

  2.关闭solr-server服务

  3.关闭hbase集群

  4.清理zookeeper上和solr有关(/solr),和indexer有关(/ngdata),和hbase有关(/hbase)

  5.重新启动hbase集群,solrcloud,hbase-solr-indexer服务。

  6.如果可以清理hdfs上为solr创建的目录下面的与indexer配置相关的文件

  7.移除之前配置的solr collection / instancedir 相关配置文件

  8.重新开始配置Lily hbase indexer。 

事实上这个方案适合解决大部分的在配置lily hbase indexer中的问题-生产环境慎用。

solr-搭建与使用过程中问题总结-链接的更多相关文章

  1. 【10.2.3】ArcGIS Runtime for Android搭建开发环境过程中问题具体解释

    一.Visual Studio Ultimate2012安装过程问题 1.问题描写叙述 安装完毕后,您将看到一条消息,指示安装程序已完毕.但并非全部的功能具有已正确安装.以及下面警告消息: Micro ...

  2. Hexo 使用中搭建博客过程中遇到的坑

    本地执行hexo s 时报错: WARN No layout: index.html 原因:theme 没有下载下来,经查,theme文件夹下为空. 新建文章后,执行 hexo g 时报如下错误: ( ...

  3. 【LAMP】搭建Web网站过程中的记录【Ubuntu18.04+Apache2.4+PHP7.2+MySQL5.7】

    全文使用的环境如题,主机使用的是腾讯云主机. 内容应该会是linux和apache这些所有部分都有一点,因为是遇见一个问题就记录一个. 配置LAMP环境 这部分可以参考这篇文章:https://www ...

  4. Hadoop完全分布式搭建过程中遇到的问题小结

    前一段时间,终于抽出了点时间,在自己本地机器上尝试搭建完全分布式Hadoop集群环境,也是借助网络上虾皮的Hadoop开发指南系列书籍一步步搭建起来的,在这里仅代表hadoop初学者向虾皮表示衷心的感 ...

  5. CentOs6.8 hadoop集群搭建过程中的问题

    1.Error: Java heap space 网上有很多说是java虚拟机内存不够的,我也试着修改内存大小,但是没起作用,后来发现是文件在传输过程中失真.文件在上传到HDFS后变成乱码,重新上传文 ...

  6. SpringCloud整合过程中jar依赖踩坑经验

    今天在搭建SpringCloud Eureka过程中,一直在报pom依赖错误,排查问题总结如下经验. 1.SpringBoot整合SpringCloud两者版本是有严格约束的,详细见SpringBoo ...

  7. Solr环境搭建过程中遇到的问题

    Solr下载地址:http://www.apache.org/dyn/closer.lua/lucene/solr/6.3.0 Solr搭建步骤转自:http://blog.csdn.net/wbcg ...

  8. Kubernetes集群搭建过程中遇到的问题

    1. 创建Nginx Pod过程中报如下错误: #kubectlcreate -f nginx-pod.yaml Error from server: error when creating &quo ...

  9. kakfa源代码开发环境搭建过程中的错误处理

    在window上搭建kafka的源代码开发环境,主要参考如下的blog: http://www.bubuko.com/infodetail-695974.html    << Window ...

随机推荐

  1. Linux系统上安装JDK和Tomcat服务器

    一.安装JDK 1.查看当前Linux系统是否已经安装java  输入命令: rpm -qa | grep java 2.卸载两个openJDK  输入命令:rpm -e --nodeps 3.上传j ...

  2. 解决不同操作系统下git换行符一致性问题

    一.不同操系统下的换行符CR回车 LF换行Windows/Dos CRLF \r\nLinux/Unix LF \nMacOS CR \r二.解决方法 打卡git bash,设置core.autocr ...

  3. 分享给有需要的你,精选了10套web开发免费视频教程~~

    在这里给大家精选百度传课里的一些比较好的视频教程,比较适合新手们,有需要的可以收藏着学习!!  蓝鸥微信小程序全方位深度解析 链接:http://www.chuanke.com/v4702151-19 ...

  4. 现代 PHP 新特性系列(三) —— Trait 概览

    Trait是PHP 5.4引入的新概念,看上去既像类又像接口,其实都不是,Trait可以看做类的部分实现,可以混入一个或多个现有的PHP类中,其作用有两个:表明类可以做什么:提供模块化实现.Trait ...

  5. 在js中怎样获得checkbox里选中的多个值?

    https://zhidao.baidu.com/question/203897221.html 思路:利用name属性值获取checkbox对象,然后循环判断checked属性(true表示被选中, ...

  6. 数据库复习总结(20)-存储过程以及.net调用存储过程

    一.存储过程(注意区分将一段select语句进行封装叫做视图)(1)将一段t-sql脚本进行封装,以完成一个逻辑操作(2)创建存储过程:            create proc 名称      ...

  7. Centos6.9安装部署nginx服务器

    (一)依赖包安装 首先,gcc,pcre,zlib,openssl安装一边(可以用非-devel,但是嫌麻烦....用非-devel的看这个链接) yum  -y install gcc ------ ...

  8. css FlexBox 弹性盒子常用方法总结

    总结一下弹性盒子常用的方法,弹性盒子的功能强大,这次我做了兼容性的felxbox,虽然代码多了一点,但在项目时候可以直接复制过来用,同时在项目上线的时候,如果这时候弹性盒子出了兼容问题,那就可急了~ ...

  9. java8-新特性--(接口的默认方法与静态方法)

    Java 8用默认方法与静态方法这两个新概念来扩展接口的声明. public interface Inte{ void method(); default void defaultMethod(){ ...

  10. python 闭包初识

    def func_100(val): passline = 60 if val >= passline: print('pass') else: print('failed') def func ...