"Fossies" - the Fresh Open Source Software Archive

Member "apache-zookeeper-3.8.1/zookeeper-contrib/zookeeper-contrib-huebrowser/README" (25 Jan 2023, 2551 Bytes) of package /linux/misc/apache-zookeeper-3.8.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.


    1 
    2 ZooKeeper Browser - Hue Application
    3 ===================================
    4 
    5 The ZooKeeper Browser application allows you to see how the cluster nodes are working and also allows you to do CRUD operations on the znode hierarchy.
    6 
    7 Requirements
    8 ------------
    9 
   10 Hue-1.0:
   11   * http://github.com/downloads/cloudera/hue/hue-1.0.tgz
   12   * http://github.com/downloads/cloudera/hue/release-notes-1.0.html
   13 
   14 ZooKeeper REST gateway:
   15   * available as contrib: contrib/rest
   16 
   17 How to install?
   18 ---------------
   19 
   20 First of all you need to install Hue 1.0 release:
   21 
   22   * http://archive.cloudera.com/cdh/3/hue/sdk/sdk.html
   23   * http://github.com/cloudera/hue/tree/release-1.0
   24 
   25 After you finish the previous step you should copy the zkui/ folder to apps/ and register the new application:
   26 
   27   * $ ./build/env/bin/python tools/app_reg/app_reg.py --install apps/zkui
   28   * $ ./build/env/bin/python tools/app_reg/app_reg.py --list 2>&1 | grep zkui
   29     zkui           0.1     /Users/philip/src/hue/apps/zkui
   30 
   31 
   32 And restart the Hue application server.
   33 
   34 Configuration
   35 -------------
   36 
   37 Edit zkui/src/zkui/settings.py:
   38 
   39 CLUSTERS = [{
   40         'nice_name': 'Default',
   41         'hostport': 'localhost:2181,localhost:2182,localhost:2183',
   42         'rest_gateway': 'http://localhost:9998'
   43     }, {
   44       # ... and more clusters
   45     }
   46 ]
   47 
   48 What is Hue?
   49 ------------
   50 
   51 Wiki: http://wiki.github.com/cloudera/hue/
   52 Main Repo: http://github.com/cloudera/hue 
   53 
   54 Hue is both a web UI for Hadoop and a framework to create interactive web applications. It features a FileBrowser for accessing HDFS, JobSub and JobBrowser applications for submitting and viewing MapReduce jobs, a Beeswax application for interacting with Hive. On top of that, the web frontend is mostly built from declarative widgets that require no JavaScript and are easy to learn.
   55 
   56 What is ZooKeeper?
   57 ------------------
   58 
   59 http://zookeeper.apache.org/
   60 
   61 ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services. All of these kinds of services are used in some form or another by distributed applications. Each time they are implemented there is a lot of work that goes into fixing the bugs and race conditions that are inevitable. Because of the difficulty of implementing these kinds of services, applications initially usually skimp on them ,which make them brittle in the presence of change and difficult to manage. Even when done correctly, different implementations of these services lead to management complexity when the applications are deployed.
   62