bigdata_zookeeper 可视化界面zkui
安装zkui
zookeeper节点的可视化界面有很多种,我使用的是zkui,比较直观,而且可以导入文件,他的Git地址: https://github.com/DeemOpen/zkui。
使用
1、 从github上可以下载下来,maven clean install成jar,运行zkui-2.0-SNAPSHOT.jar 或者直接在编译器中运行main函数,启动jetty插件。
2、配置文件config.cfg zookeeper相关配置如下
- #Server Port
- serverPort=9090
- #Comma seperated list of all the zookeeper servers
- zkServer=127.0.0.1:2181,127.0.0.1:2182,127.0.0.1:2183
- #Http path of the repository. Ignore if you dont intent to upload files from repository.
- scmRepo=http://myserver.com/@rev1=
- #Path appended to the repo url. Ignore if you dont intent to upload files from repository.
- scmRepoPath=//appconfig.txt
- #if set to true then userSet is used for authentication, else ldap authentication is used.
- ldapAuth=false
- ldapDomain=mycompany,mydomain
- #ldap authentication url. Ignore if using file based authentication.
- ldapUrl=ldap://<ldap_host>:<ldap_port>/dc=mycom,dc=com
- #Specific roles for ldap authenticated users. Ignore if using file based authentication.
- ldapRoleSet={"users": [{ "username":"domain\\user1" , "role": "ADMIN" }]}
- userSet = {"users": [{ "username":"admin" , "password":"123456","role": "ADMIN" },{ "username":"appconfig" , "password":"appconfig","role": "USER" }]}
- #Set to prod in production and dev in local. Setting to dev will clear history each time.
- env=prod
- jdbcClass=org.h2.Driver
- jdbcUrl=jdbc:h2:zkui
- jdbcUser=root
- jdbcPwd=manager
- #If you want to use mysql db to store history then comment the h2 db section.
- #jdbcClass=com.mysql.jdbc.Driver
- #jdbcUrl=jdbc:mysql://localhost:3306/zkui
- #jdbcUser=root
- #jdbcPwd=manager
- loginMessage=Please login using admin/manager or appconfig/appconfig.
- #session timeout 5 mins/300 secs.
- sessionTimeout=300
- #Default 5 seconds to keep short lived zk sessions. If you have large data then the read will take more than 30 seconds so increase this accordingly.
- #A bigger zkSessionTimeout means the connection will be held longer and resource consumption will be high.
- zkSessionTimeout=5
- #Block PWD exposure over rest call.
- blockPwdOverRest=false
- #ignore rest of the props below if https=false.
- https=false
- keystoreFile=/home/user/keystore.jks
- keystorePwd=password
- keystoreManagerPwd=password
- # The default ACL to use for all creation of nodes. If left blank, then all nodes will be universally accessible
- # Permissions are based on single character flags: c (Create), r (read), w (write), d (delete), a (admin), * (all)
- # For example defaultAcl={"acls": [{"scheme":"ip", "id":"192.168.1.192", "perms":"*"}, {"scheme":"ip", id":"192.168.1.0/24", "perms":"r"}]
- defaultAcl=
serverPort访问zk ui的端口号,默认是9090,zkServer zookeeper集群节点,userSet:用户名角色及其密码设置,在这里设置的admin密码为123456。
3、在linxu中启动jar,或者是在自己本地的编译器中启动main函数,输入localhost:9090,zookeeer中相关配置的节点就可以在可视化界面中看到。界面如下
下一篇,Java操作zookeeper,添加删除节点
欢迎指教~
转载: http://blog.csdn.net/lovesummerforever/article/details/48997797
bigdata_zookeeper 可视化界面zkui的更多相关文章
- awt可视化界面上传数据到mysql,jsp通过jdbc方式查询数据库,并将结果打印在网页上
今天尝试写一个小demo实现下之前看过的代码,目的了解不同文件的数据访问,掌握如何获取前台数据,如何将数据库的数据在前端页面展示. awt可视化界面可已实现提交数据到数据库,也可查询数据在控制台打印. ...
- GDB-Dashboard-GDB可视化界面
项目地址 https://github.com/cyrus-and/gdb-dashboard 项目介绍 gdb-dashboard是一个gdb的可视化界面,可以通过web或者终端来现实可视化信息,支 ...
- Ubuntu mysql安装,还有可视化界面
安装mysql sudo apt-get install mysql-server sudo apt-get install mysql-client sudo apt-get install lib ...
- Solr学习笔记---部署Solr到Tomcat上,可视化界面的介绍和使用,Solr的基本内容介绍,SolrJ的使用
学习Solr前需要有Lucene的基础 Lucene的一些简单用法:https://www.cnblogs.com/dddyyy/p/9842760.html 1.部署Solr到Tomcat(Wind ...
- docker swarm 集群及可视化界面的安装及配置
docker swarm 集群及可视化界面的安装及配置 2016-12-14 16:08:46 标签:swarm consul registrator 原创作品,允许转载,转载时请务必以超链接形式标明 ...
- 可视化界面:ElasticSearch Head,最方便的是直接下载谷歌浏览器扩展程序
可视化界面:ElasticSearch Head,最方便的是直接下载谷歌浏览器扩展程序
- 关于Eclipse上使用可视化设计界面(Java EE 使用可视化界面设计)
Eclipse下可视化界面实现——WindowBulider安装 第一步: WindowBuilder官方下载安装说明地址:http://www.eclipse.org/windowbuilder/d ...
- CentOS7安装GNOME可视化界面和如何配置IP地址
本人在虚拟机安装 CentOS7 1,检查一下我们已经安装的软件以及可以安装的软件,用命令 yum grouplist 2,然后安装我们需要的图形界面软件,GNOME(GNOME Desktop) 这 ...
- SwaggerUI+SpringMVC——构建RestFul API的可视化界面
今天给大家介绍一款工具,这个工具眼下可预见的优点是:自己主动维护最新的接口文档. 我们都知道,接口文档是非常重要的,可是随着代码的不断更新,文档却非常难持续跟着更新,今天要介绍的工具,完美的攻克了这个 ...
随机推荐
- .NET-架构优化实战-底层服务优化
原文:.NET-架构优化实战-底层服务优化 前言 问题分析 在本系列第一篇文章我们提到,底层问题主要存在以下两点: 代码冗余 时效低 代码冗余 例如: 领奖方法不统一,一次性的写一套,可循环的又写一套 ...
- 授人玫瑰 手留余香 --纪念python3.2.3官方文档翻译结束
当你点击看到这篇文章的时候.你已经得到了祝福. 一个来自夜深人静的码农,在2014年5月19号的01:18分.默默为你献上祝福. 希望你.我和他,每个在IT行业中奋斗的人.能找到属于自己一片天空. 在 ...
- 【u032】均衡发展
Time Limit: 1 second Memory Limit: 128 MB [问题描述] 神牛小R在许多方面都有着很强的能力,具体的说,他总共有m种能力,并将这些能力编号为1到m.他的能力是一 ...
- P2P理财友情提示
最近2年,P2P理财非常火,但是出现的问题也是越来越频繁. 2014年12月,据说有70多家平台出现了问题,加上以前的,一共有300多家了,出现问题的占总比有20%~30%了. 这个真的是非常的可怕. ...
- 通过引入SiteMesh的JSP标签库,解决Freemarker与SiteMesh整合时,自定义SiteMesh标签的问题
不少web项目,都用到了SiteMesh.SiteMesh可以和JSP.Freemarker等模版进行整合,有一定的好处,当然也有其不好的地方.我个人觉得,如果没有必要,不要在项目中引入太多的工具和技 ...
- 使用Opencv中均值漂移meanShift跟踪移动目标
Mean Shift均值漂移算法是无参密度估计理论的一种,无参密度估计不需要事先知道对象的任何先验知识,完全依靠训练数据进行估计,并且可以用于任意形状的密度估计,在某一连续点处的密度函数值可由该点邻域 ...
- METHODS OF AND APPARATUS FOR USING TEXTURES IN GRAPHICS PROCESSING SYSTEMS
BACKGROUND The technology described herein relates to methods of and apparatus for using and handlin ...
- MapReduce 切片机制源码分析
总体来说大概有以下2个大的步骤 1.连接集群(yarnrunner或者是localjobrunner) 2.submitter.submitJobInternal()在该方法中会创建提交路径,计算切片 ...
- 【63.63%】【codeforces 724A】Checking the Calendar
time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard ou ...
- @AspectJ support (good)
AspectJ类型匹配的通配符:*:匹配任何数量字符:..:匹配任何数量字符的重复,如在类型模式中匹配任何数量子包:而在方法参数模式中匹配任何数量参数.+:匹配指定类型的子类型:仅能作为后缀放在类型模 ...