Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.
The following page has been changed by TerenceKwan: http://wiki.apache.org/hadoop/Chukwa_Console_Integration_Guide ------------------------------------------------------------------------------ == Introduction == - This document provides a high level overview of the Chukwa Console (aka HICC). It describes how to setup the Chukwa HICC console and integrate the Chukwa console as a standalone management portal. It is targeted to developers who just want to use the Chukwa web UI component to display their own data set. + This document provides a high level overview of the Chukwa Console (aka HICC). It describes how to setup the Chukwa HICC console and integrate the Chukwa console as a standalone web portal. It is targeted to developers who just want to use the Chukwa web UI component to display their own data set. For information about setting up the full Chukwa system (instead of just HICC), please read ["Chukwa Quick Start"]. @@ -12, +12 @@ HICC is a java based portal platform for service management. The basic features for HICC include: * Individual user view management * Basic Drag and Drop Web portal functions - * Multiple view per user + * Multiple views per user - * Multiple tab page per view + * Multiple tabs page per view * Multiple widgets per tab page * Drag and Drop relayout individual view * Basic view permission system @@ -52, +52 @@ * restart the tomcat. * tomcat/bin/catalina.sh stop * tomcat/bin/catalina.sh start - * check out the web UI + * access the web UI * goto: http://<host>:8080/hicc @@ -65, +65 @@ * Click '''Create New Workspace'''. It will create a new workspace called '''New View''' * You can click on '''Change''' button on the same row to change the view name. It will change the file in the $CHUKWA_DATA/DIR/views directory to the new view name. - To add more widget to the view, + To add more widgets to the view, * Click '''Options''' -> '''Add Widget''' - * Explorer the widget tree and add widget into the potral. + * Explorer the widget tree and add widgets into the potral. To remove widget from the view. * move the mouse to the widget's title bar and click the "X" delete button - * after confirmation of the deletion, the widget will be remove from the page + * after confirm the deletion, the widget will be removed from the page - * To save the modification. Click "Save Dashboard" + * To save the modification, click "Save Dashboard". == Customization == In this part of the documnent, I will describe how to customize the HICC console for your own application. @@ -83, +83 @@ This will describe the HICC user based permission system. === Add Your Own Widget === - In this section, I will describe how to create your own widget for HICC. ==== Example 1. Simple Hello World ==== First, we will build a '''Hello World widget'''. @@ -185, +184 @@ In order to use the chart component, you need to create a dataMap variable and put the graph data information inside it. Then call the Chart component to draw the chart. - A good example is in: '''chukwa-0.1/src/web/hicc/jsp/single-series-chart-javascript.jsp'''. Inside the jsp file, it will open the database and read the data and call the Chart component and return the chart to the front end. + A good example is in: '''src/web/hicc/jsp/single-series-chart-javascript.jsp'''. Inside the jsp file, it first opens the database and read the data. Then it will call the Chart component and return the chart to the front end. - You can get your data from rest API or database, then call the Chart as below and return the object to the front end. (TODO: need to link to the Javadoc of the Chart component.) + You can also package your data from rest API or database, then call the Chart as below and return the object to the front end. (TODO: need to link to the Javadoc of the Chart component.) {{{ if(dataMap.size()!=0) {
