天天看點

Kylin-web上的資料分析Kylin Web Interface

Supported Browsers Windows: Google Chrome, FireFox Mac: Google Chrome, FireFox, Safari

Host to access: http://hostname:7070

Login with username/password: ADMIN/KYLIN

Kylin-web上的資料分析Kylin Web Interface

Although Kylin will using SQL as query interface and leverage Hive metadata, kylin will not enable user to query all hive tables since it’s a pre-build OLAP (MOLAP) system so far. To enable Table in Kylin, it will be easy to using “Sync” function to sync

up tables from Hive.

Kylin-web上的資料分析Kylin Web Interface

Kylin’s OLAP Cubes are pre-calculation datasets from star schema tables, Here’s the web interface for user to explorer, manage all cubes. Go to

<code>Model</code> menu, it will list all cubes available in system:

Kylin-web上的資料分析Kylin Web Interface

To explore more detail about the Cube

Form View:

Kylin-web上的資料分析Kylin Web Interface

SQL View (Hive Query to read data to generate the cube):

Kylin-web上的資料分析Kylin Web Interface

Access (Grant user/role privileges, grant operation only open to Admin):

Kylin-web上的資料分析Kylin Web Interface

Kylin’s web offer a simple query tool for user to run SQL to explorer existing cube, verify result and explorer the result set using #5’s Pivot analysis and visualization

Query Limit Only SELECT query be supported SQL will not be redirect to Hive

Go to “Insight” menu:

Kylin-web上的資料分析Kylin Web Interface

Source Tables:

Browser current available tables (same structure and metadata as Hive):

Kylin-web上的資料分析Kylin Web Interface

New Query:

You can write and execute your query and explorer the result.

Kylin-web上的資料分析Kylin Web Interface

Saved Query (only work after enable LDAP security):

Associate with user account, you can get saved query from different browsers even machines.

Click “Save” in Result area, it will popup for name and description to save current query:

Kylin-web上的資料分析Kylin Web Interface

Click “Saved Queries” to browser all your saved queries, you could direct submit it or remove it.

Query History:

Only keep the current user’s query history in current bowser, it will require cookie enabled and will lost if you clean up bowser’s cache. Click “Query History” tab, you could directly resubmit any of them to execute again.

There’s one simple pivot and visualization analysis tool in Kylin’s web for user to explore their query result:

General Information:

When the query execute success, it will present a success indictor and also a cube’s name which be hit.

Also it will present how long this query be executed in backend engine (not cover network traffic from Kylin server to browser):

Kylin-web上的資料分析Kylin Web Interface

Query Result:

It’s easy to order on one column.

Kylin-web上的資料分析Kylin Web Interface

Export to CSV File

Click “Export” button to save current result as CSV file.

Pivot Table:

Drag and drop one or more columns into the header, the result will grouping by such column’s value:

Kylin-web上的資料分析Kylin Web Interface

Visualization:

Also, the result set will be easy to show with different charts in “Visualization”:

note: line chart only available when there’s at least one dimension with real “Date” data type of column from Hive Table.

Bar Chart:

Kylin-web上的資料分析Kylin Web Interface

Pie Chart:

Kylin-web上的資料分析Kylin Web Interface

Line Chart

Kylin-web上的資料分析Kylin Web Interface