zookeeper_dashboard

Django based dashboard for an Apache ZooKeeper cluster.

  • 所有者: phunt/zookeeper_dashboard
  • 平台:
  • 許可證: Apache License 2.0
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

h1. ZooKeeper Dashboard

Author: "Patrick Hunt":http://people.apache.org/~phunt/ (follow me on "twitter":http://twitter.com/phunt)

h2. Summary

"This project":http://github.com/phunt/zookeeper_dashboard uses Django and the zkpython bindings to provide a dashboard for a ZooKeeper ensemble (cluster).

  • Cluster summary
  • Individual server detail
  • Client connection detail
  • Navigate & examine the live znode hierarchy

This is a work in progress. Want more? Ping me on "twitter":http://twitter.com/phunt or enter an "issue":http://github.com/phunt/zookeeper_dashboard/issues on GitHub.

h3. What's Apache ZooKeeper?

From the "official site":http://hadoop.apache.org/zookeeper/: "ZooKeeper is a high-performance coordination service for distributed applications."

It exposes common services - such as naming, configuration management, synchronization, and group services - in a simple interface so you don't have to write them from scratch. You can use it off-the-shelf to implement consensus, group management, leader election, and presence protocols.

h2. Overview

Django and the zkpython bindings are used to provide a dashboard for a ZooKeeper ensemble (cluster).

h2. License

This project is licensed under the Apache License Version 2.0

h2. Requirements

  • Django 1.0+

h2. Usage

Edit settings.py. The top of the file has the ZOOKEEPER specific settings.

  • ZOOKEEPER_SERVERS - host:port(,host:port)* of all servers in your cluster. This is the same information that you provide in your ZooKeeper client configuration.

then start the django server

Obviously the dashboard needs access to the serving cluster (it queries the server's client port per ZOOKEEPER_SERVERS configuration).

Finally open a link in your browser to the server: "http://127.0.0.1:8000/":http://127.0.0.1:8000/

Note: you may need to compile the zookeeper python binding yourself, this project includes only 32bit linux binaries. Additionally, the django - zookeeper bridge relies on some changes to the zkpython binding that are not yet released, so if you do compile yourself you will need to compile zkpython from the Apache "ZooKeeper SVN trunk":http://hadoop.apache.org/zookeeper/version_control.html (this should be addressed as soon as ZooKeeper 3.3.0 is released).

ZooKeeper client output is written to "cli_log.txt".

h2. Limitations

ACLs are not yet fully supported. In particular the django server runs as an un-authenticated user. If nodes are protected by ACLs the server will not be able to access them.

h2. Screenshots

h3. Cluster Summary

h3. Server Summary

h3. ZNode tree

ACLs and child list not shown

主要指標

概覽
名稱與所有者phunt/zookeeper_dashboard
主編程語言CSS
編程語言Python (語言數: 2)
平台
許可證Apache License 2.0
所有者活动
創建於2009-10-05 21:22:07
推送於2016-12-13 16:45:42
最后一次提交2013-08-17 16:58:06
發布數0
用户参与
星數165
關注者數25
派生數47
提交數32
已啟用問題?
問題數9
打開的問題數7
拉請求數0
打開的拉請求數3
關閉的拉請求數2
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?