Bigdata, Hadoop ecosystem, Semantic IoT등의 프로젝트를 진행중에 습득한 내용을 정리하는 곳입니다.
필요한 분을 위해서 공개하고 있습니다.
문의사항은 gooper@gooper.com로 메일을
보내주세요.
아래에서 example/solr-webapp/WEB-INF/lib/*
org.apache.solr.cloud.ZkCLI 로 언급된것은.. 배포하는 solr-4.10.1.zip파이을 압축해제하면
ZooKeeper has a utility that lets you pass command line parameters: zkcli.bat
(for Windows environments) and zkcli.sh
(for Unix environments).
zkcli
Parameters
Short | Parameter Usage | Meaning |
---|---|---|
|
| CLI Command to be executed: |
|
| Display help text. |
|
| For |
|
| For |
|
| For |
|
| For |
|
| Run ZooKeeper internally by passing the Solr run port; only for clusters on one machine. |
|
| ZooKeeper host address. |
The short form parameter options may be specified with a single dash (eg: -c mycollection
).
The long form parameter options may be specified using either a single dash (eg: -collection mycollection
) or a double dash (eg: --collection mycollection
)
ZooKeeper CLI Examples
Below are some examples of using the zkcli
CLI:
Uploading a Configuration Directory
Put arbitrary data into a new ZK file
Put a local file into a new ZK file
Linking a Collection to a Configuration Set
Bootstrapping All the Configuration Directories in solr.xml
Scripts
There are scripts in example/cloud-scripts
that handle the classpath and class name for you if you are using Solr out of the box with Jetty. Commands then become:
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
4 | Core with name 'xx_shard4_replica1' already exists. 발생시 조치사항 | 총관리자 | 2017.07.22 | 62 |
3 | 서버 5대에 solr 5.5.0 설치하고 index data를 HDFS에 저장/search하도록 설치/설정하는 방법 | 총관리자 | 2016.04.08 | 54 |
2 | core 'gc_shard3_replica2' is already locked라는 오류가 발생할때 조치사항 | 총관리자 | 2017.09.14 | 35 |
1 | [Solr in Cloudera]Solr Data Directory변경 방법/절차 | gooper | 2023.04.21 | 23 |