All Projects → bendemott → solr-zkutil

bendemott / solr-zkutil

Licence: MIT license
Solr Cloud and ZooKeeper CLI

Programming Languages

python
139335 projects - #7 most used programming language
Batchfile
5799 projects

Projects that are alternatives of or similar to solr-zkutil

IATI.cloud
The open-source IATI datastore for IATI data with RESTful web API providing XML, JSON, CSV output. It extracts and parses IATI XML files referenced in the IATI Registry and powered by Apache Solr.
Stars: ✭ 35 (+150%)
Mutual labels:  solr, solrcloud
Zheng
基于Spring+SpringMVC+Mybatis分布式敏捷开发系统架构,提供整套公共微服务服务模块:集中权限管理(单点登录)、内容管理、支付中心、用户管理(支持第三方登录)、微信平台、存储系统、配置中心、日志分析、任务和通知等,支持服务治理、监控和追踪,努力为中小型企业打造全方位J2EE企业级开发解决方案。
Stars: ✭ 16,163 (+115350%)
Mutual labels:  solr, zookeeper
BnLMetsExporter
Command Line Interface (CLI) to export METS/ALTO documents to other formats.
Stars: ✭ 11 (-21.43%)
Mutual labels:  solr, solrcloud
lib
Perl Utility Library for my other repos
Stars: ✭ 16 (+14.29%)
Mutual labels:  solr, zookeeper
E3mall
宜立方商城,SOA架构学习项目
Stars: ✭ 91 (+550%)
Mutual labels:  solr, zookeeper
vacomall
☀️☀️ 基于 dubbo 实现的分布式电商平台。
Stars: ✭ 42 (+200%)
Mutual labels:  solr, zookeeper
pulse
phData Pulse application log aggregation and monitoring
Stars: ✭ 13 (-7.14%)
Mutual labels:  solr, solrcloud
go-solr
solr go client from sendgrid, zookeeper aware, incorporates retries
Stars: ✭ 39 (+178.57%)
Mutual labels:  zookeeper, solrcloud
Jeeplatform
一款企业信息化开发基础平台,拟集成OA(办公自动化)、CMS(内容管理系统)等企业系统的通用业务功能 JeePlatform项目是一款以SpringBoot为核心框架,集ORM框架Mybatis,Web层框架SpringMVC和多种开源组件框架而成的一款通用基础平台,代码已经捐赠给开源中国社区
Stars: ✭ 1,285 (+9078.57%)
Mutual labels:  solr, zookeeper
Nagios Plugins
450+ AWS, Hadoop, Cloud, Kafka, Docker, Elasticsearch, RabbitMQ, Redis, HBase, Solr, Cassandra, ZooKeeper, HDFS, Yarn, Hive, Presto, Drill, Impala, Consul, Spark, Jenkins, Travis CI, Git, MySQL, Linux, DNS, Whois, SSL Certs, Yum Security Updates, Kubernetes, Cloudera etc...
Stars: ✭ 1,000 (+7042.86%)
Mutual labels:  solr, zookeeper
Dockerfiles
50+ DockerHub public images for Docker & Kubernetes - Hadoop, Kafka, ZooKeeper, HBase, Cassandra, Solr, SolrCloud, Presto, Apache Drill, Nifi, Spark, Consul, Riak, TeamCity and DevOps tools built on the major Linux distros: Alpine, CentOS, Debian, Fedora, Ubuntu
Stars: ✭ 847 (+5950%)
Mutual labels:  solr, zookeeper
Xbin Store
模仿国内知名B2C网站,实现的一个分布式B2C商城 使用Spring Boot 自动配置 Dubbox / MVC / MyBatis / Druid / Solr / Redis 等。使用Spring Cloud版本请查看
Stars: ✭ 2,140 (+15185.71%)
Mutual labels:  solr, zookeeper
Springboot Templates
springboot和dubbo、netty的集成,redis mongodb的nosql模板, kafka rocketmq rabbit的MQ模板, solr solrcloud elasticsearch查询引擎
Stars: ✭ 100 (+614.29%)
Mutual labels:  solr, zookeeper
query-segmenter
Solr Query Segmenter for structuring unstructured queries
Stars: ✭ 21 (+50%)
Mutual labels:  solr, solrcloud
searchhub
Fusion demo app searching open-source project data from the Apache Software Foundation
Stars: ✭ 42 (+200%)
Mutual labels:  solr
x
Commerce Search & Discovery frontend web components
Stars: ✭ 54 (+285.71%)
Mutual labels:  solr
nifi
Deploy a secured, clustered, auto-scaling NiFi service in AWS.
Stars: ✭ 37 (+164.29%)
Mutual labels:  zookeeper
xxhadoop
Data Analysis Using Hadoop/Spark/Storm/ElasticSearch/MachineLearning etc. This is My Daily Notes/Code/Demo. Don't fork, Just star !
Stars: ✭ 37 (+164.29%)
Mutual labels:  zookeeper
practice
Java并发编程与高并发解决方案:http://coding.imooc.com/class/195.html Java开发企业级权限管理系统:http://coding.imooc.com/class/149.html
Stars: ✭ 39 (+178.57%)
Mutual labels:  zookeeper
solr-container
Ansible Container project that manages the lifecycle of Apache Solr on Docker.
Stars: ✭ 17 (+21.43%)
Mutual labels:  solr

solr-zkutil CLI Utility

About

solr-zkutil is an easy to use tool written in Python that allows you to quickly understand information about your Solr ZooKeeper cluster.

If you live in an ethereal environment in which solr-hosts are frequently changing, or you have many different solr environments to keep track of, this tool is for you!

The program is designed to work with Windows or Linux hosts, and is easy to install.

Runs on python3 or python2!

Features

livenodesgif

Supports environment aliases for ZooKeeper Connections

environmentconf

Add your ZooKeeper connection string to the program and an environment alias

solr-zkutil config --add 'DEV=zk01.host.com:2181,zk02.host.com:2181,zk03.host.com:2181'
Or replace the configuration entirely using valid json
solr-zkutil config --configuration '{\"DEV\":\"zk01.dev.host.com:2181,zk02.dev.host.com:2181,zk03.dev.host.com:2181\", \"QA\": \"zk01.qa.host.com:2181,zk02.qa.host.com:2181,zk03.qa.host.com:2181\"}'

environmentadd

Query ZooKeeper for Solr Hosts, and Open the administration web-interface automatically

solr-zkutil live-nodes --env DEV --browser
or
solr-zkutil live-nodes -z zk01.dev.host.com:2181 --browser

livenodes

Watch any ZooKeeper file/node for changes, during deployments, etc

solr-zkutil watch /live_nodes --env DEV
or
solr-zkutil watch /clusterstate.json --env PROD

watchnode

Issue Administrative Commands Easily

solr-zkutil admin RUOK --env DEV

admincmd

solr-zkutil ls /live_nodes -z zk01.dev.host.com:2181,zk02.dev.host.com:2181,zk03.dev.host.com:2181
or.. note that ls can also be used to view the contents of node
solr-zkutil ls /clusterstate.json --env PROD --all-hosts

View the contents/children of a node across all ensemble (cluster) members quickly

lsnodesall

View all nodes, with stats info

lsnodesdebug

Execute admin commands across all nodes

adminall

Installation

Windows

On windows install Python 2.7 or Python 3.3+, and ensure Python exe and Scripts paths are configured to be on your Windows Path environment, and the program should be accessible through PowerShell or cmd.exe.

Setting up Python Paths is an option during the installation of the Python Package on Windows, I highly suggest you check the box, or mark the feature add Python to system path so this step is accomplished for you.

Note: I will try to add a bundled exe installer soon for Windows

Python Include Paths

  • C:\Python27
  • C:\Python27\Scripts

The pip command is bundled with the Python Windows installation.

Once you have this configured you should be able to also execute pip without specifying its path.

Linux

A recent version of Python ships with most linux distributions, if you don't have pip install it with (ubuntu/debian):

sudo apt-get install python-pip

(Fedora):

sudo dnf install python-pip

There are no additional special instructions on Linux.

Installing from PyPi (recommended)

pip install solr-zkutil

Or to update your solr-zkutil to the latest version:

pip install solr-zkutil --upgrade

Install Manually

Simply download, clone the repository, open a console and execute: python setup.py install

On windows if you have not configured your Python environment you can install with:

C:\Python27\python.exe setup.py install

Install from pip/github

pip install git+https://github.com/bendemott/solr-zkutil.git

Program Commands

Once installed the program is executable using the command:

solr-zkutil

For help with the command type:

solr-zkutil --help

If you are having trouble configuring paths the program can also be ran using:

python -m solrzkutil

or for Windows:

C:\Python27\python.exe -m solrzkutil

Usage

usage: solr-zkutil [-h]
                   {live-nodes,clusterstate,watch,ls,stat,admin,config} ...

positional arguments:
  {live-nodes,clusterstate,watch,ls,stat,admin,config}
                        --- available sub-commands ---
    live-nodes          List Solr Live Nodes from ZooKeeper
    clusterstate        List Solr Collections and Nodes
    watch               Watch a ZooKeeper Node for Changes
    ls                  List a ZooKeeper Node
    stat                Check ZooKeeper ensemble status
    admin               Execute a ZooKeeper administrative command
    config              Show connection strings, or set environment
                        configuration

optional arguments:
  -h, --help            show this help message and exit
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].