solr 一 getting start
2014-12-29 14:03
211 查看
/article/4791903.html
http://www.chepoo.com/solrcloud-introduction.html
/article/4620273.html
http://wenku.baidu.com/link?url=b0PifkghK0JMoMP2RgRaR1X4LP4t8Eu72BpffTQ1uDArMgUjYF1tq7qJbli7L3IkKAVRjasY0sV18U3g-MD2yV01fkYsWXM-d0LC5m28RCK
/article/10903063.html
集群模式下
1.upload 每个collection的conf目录到zookeeper
linkconf 与collection
这两步将会自zookeeper的根目录下生成连个节点:
configs,collections
configs 里面会生成每个collection_conf的子目录,conf下面的内容会upload到相应的子目录
collections里面会生成每个xxx_collection的子目录,初始每个子目录为空
2.配置好solr.xml里面的zkhost和每个solrhome中每个collection下面core后,启动solr web所在的tomcat,即将该node加入zookeeper中:
1)设置zookeeperclient:
org.apache.solr.core.ZkContainer – Zookeeper client=
2)zookeeper下面创建overseer节点:
org.apache.solr.common.cloud.SolrZkClient – makePath: /overseer/queue
org.apache.solr.common.cloud.SolrZkClient – makePath: /overseer/collection-queue-work
3)创建live_nodes节点并将当前server host注册到live_nodes中
org.apache.solr.common.cloud.SolrZkClient – makePath: /live_nodes
4)创建overseer_elect节点
makePath: /overseer_elect/election
org.apache.solr.common.cloud.SolrZkClient – makePath: /overseer_elect/leader
5) 创建overseer/queue-work
6)创建/clusterstate.json
7)创建/aliases.json
8) 在solr home目录下找到各个collection的core定义。
9)在zookeeper中找core node,并更新collections下每个collection的信息(leaders,leader_elec)
http://www.chepoo.com/solrcloud-introduction.html
/article/4620273.html
http://wenku.baidu.com/link?url=b0PifkghK0JMoMP2RgRaR1X4LP4t8Eu72BpffTQ1uDArMgUjYF1tq7qJbli7L3IkKAVRjasY0sV18U3g-MD2yV01fkYsWXM-d0LC5m28RCK
/article/10903063.html
集群模式下
1.upload 每个collection的conf目录到zookeeper
linkconf 与collection
这两步将会自zookeeper的根目录下生成连个节点:
configs,collections
configs 里面会生成每个collection_conf的子目录,conf下面的内容会upload到相应的子目录
collections里面会生成每个xxx_collection的子目录,初始每个子目录为空
2.配置好solr.xml里面的zkhost和每个solrhome中每个collection下面core后,启动solr web所在的tomcat,即将该node加入zookeeper中:
1)设置zookeeperclient:
org.apache.solr.core.ZkContainer – Zookeeper client=
2)zookeeper下面创建overseer节点:
org.apache.solr.common.cloud.SolrZkClient – makePath: /overseer/queue
org.apache.solr.common.cloud.SolrZkClient – makePath: /overseer/collection-queue-work
3)创建live_nodes节点并将当前server host注册到live_nodes中
org.apache.solr.common.cloud.SolrZkClient – makePath: /live_nodes
4)创建overseer_elect节点
makePath: /overseer_elect/election
org.apache.solr.common.cloud.SolrZkClient – makePath: /overseer_elect/leader
5) 创建overseer/queue-work
6)创建/clusterstate.json
7)创建/aliases.json
8) 在solr home目录下找到各个collection的core定义。
9)在zookeeper中找core node,并更新collections下每个collection的信息(leaders,leader_elec)
相关文章推荐
- Solr7.1---Getting Start
- spring webflow getting start
- getting start with storm 翻译 第一章
- SolrCloud Wiki翻译(1) Getting Started with SolrCloud
- Solr查询参数(分页)start 与 rows
- Getting Start With Entity Framework
- getting start with storm 翻译 第三章 part-1
- Getting start with nhibernate)
- Lua入门系列----pil学习笔记之Getting Start
- cdh5.8.3集成solr4.10.3创建core时报错 Could not start Solr. Check solr/home property and the logs
- Equinox P2 介绍(一)Getting Start
- Kafka文档(2)----0.8.2- 基本介绍(Getting Start)
- getting start with rubyOnRails
- Solr DIH Quick Start
- SolrCloud Wiki翻译(1) Getting Started with SolrCloud
- Node学习系列--guides/getting-start
- [转]Getting Start With Node.JS Tools For Visual Studio
- 数据库、用户-第二章Getting Start with the Oracle Server(oracle入门)-by小雨
- 【翻译自mos文章】Oracle Cluster failed to start with ASM instance getting ORA-00443 ---改动/etc/resolv.conf所致
- getting start with storm 翻译 第三章 part-2