Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.0
    • Component/s: contrib
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Tags:
      web, interface, contrib

      Description

      Implement a web-based administrative interface that should allow the user to perform all the tasks that can be done using the interactive shell (zkCli.sh) from a browser. It should also display cluster and individual server info extracted using the 4letter word commands.

      I'm going to build starting from the http://github.com/phunt/zookeeper_dashboard implemented by Patrick Hunt.

        Issue Links

          Activity

          Hide
          Andrei Savu added a comment -

          I've created this JIRA to track my progress on this GSoC subtask. I will attach a specification describing how I think it should be implemented.

          I'm thinking about using an improved version of the REST ZooKeeper interface (available as a contrib), a version that should also support ephemerals, watches and ACLs. I believe this is a good idea because there is a mismatch between how a typical web application works (HTTP requests) and how a typical ZooKeeper client works (persistent connections). On the other hand there is a perfect fit between HTTP and REST. I also believe that an improved version of the REST interface, one that implements the whole API, would be really useful for other projects / tasks.

          Show
          Andrei Savu added a comment - I've created this JIRA to track my progress on this GSoC subtask. I will attach a specification describing how I think it should be implemented. I'm thinking about using an improved version of the REST ZooKeeper interface (available as a contrib), a version that should also support ephemerals, watches and ACLs. I believe this is a good idea because there is a mismatch between how a typical web application works (HTTP requests) and how a typical ZooKeeper client works (persistent connections). On the other hand there is a perfect fit between HTTP and REST. I also believe that an improved version of the REST interface, one that implements the whole API, would be really useful for other projects / tasks.
          Hide
          Andrei Savu added a comment -

          The web-based administrative interface is available on Github as a Hue app.

          Repository: http://github.com/andreisavu/hue/tree/zookeeper-browser/
          Branch: zookeeper-browser App: zkui

          It requires the lates Hue release (1.0).

          Show
          Andrei Savu added a comment - The web-based administrative interface is available on Github as a Hue app. Repository: http://github.com/andreisavu/hue/tree/zookeeper-browser/ Branch: zookeeper-browser App: zkui It requires the lates Hue release (1.0).
          Hide
          Kapil Thangavelu added a comment -

          Does that mean that this web admin interface for zookeeper also depends on other hadoop components because of hue assumptions/dependencies?

          Show
          Kapil Thangavelu added a comment - Does that mean that this web admin interface for zookeeper also depends on other hadoop components because of hue assumptions/dependencies?
          Hide
          Andrei Savu added a comment -

          No. The application is pretty much self-contained. You only need to deploy the new REST gateway (ZOOKEEPER-809) and configure the application by editing apps/zkui/src/zkui/settings.py.

          Show
          Andrei Savu added a comment - No. The application is pretty much self-contained. You only need to deploy the new REST gateway ( ZOOKEEPER-809 ) and configure the application by editing apps/zkui/src/zkui/settings.py .
          Hide
          Patrick Hunt added a comment -

          lgtm, seems like we should get apps/zkui into zk's src/contrib along with a README on how to integrate into hue. What do you think? Can you create a patch for this?

          Also, be sure to add apache license headers to all the files that you created, I believe the hue license headers are fine (state that they are apache license), but we should be sure to have apache headers on any new files. this includes the mako files (I assume that you can add as comment?)

          Show
          Patrick Hunt added a comment - lgtm, seems like we should get apps/zkui into zk's src/contrib along with a README on how to integrate into hue. What do you think? Can you create a patch for this? Also, be sure to add apache license headers to all the files that you created, I believe the hue license headers are fine (state that they are apache license), but we should be sure to have apache headers on any new files. this includes the mako files (I assume that you can add as comment?)
          Hide
          Andrei Savu added a comment -

          Yes. That's exactly what I'm doing now I will upload the patch / archive in a few minutes.

          Show
          Andrei Savu added a comment - Yes. That's exactly what I'm doing now I will upload the patch / archive in a few minutes.
          Hide
          Andrei Savu added a comment -
          • Packaged the ZooKeeper Browser Hue application to be added to the trunk as a contrib.
          • Added README with install & config instructions.
          Show
          Andrei Savu added a comment - Packaged the ZooKeeper Browser Hue application to be added to the trunk as a contrib. Added README with install & config instructions.
          Hide
          Patrick Hunt added a comment -

          +1, great finish to a great GSOC project, thanks Andrei!

          Show
          Patrick Hunt added a comment - +1, great finish to a great GSOC project, thanks Andrei!
          Hide
          Andrei Savu added a comment -

          Thanks a lot Patrick for all your help.

          Show
          Andrei Savu added a comment - Thanks a lot Patrick for all your help.
          Hide
          Hudson added a comment -

          Integrated in ZooKeeper-trunk #936 (See https://hudson.apache.org/hudson/job/ZooKeeper-trunk/936/)

          Show
          Hudson added a comment - Integrated in ZooKeeper-trunk #936 (See https://hudson.apache.org/hudson/job/ZooKeeper-trunk/936/ )

            People

            • Assignee:
              Andrei Savu
              Reporter:
              Andrei Savu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development