Supported Browsers
Windows: Google Chrome, FireFox
Mac: Google Chrome, FireFox, Safari
1. Access & Login
Host to access: http://your_sandbox_ip:9080
Login with username/password: ADMIN/KYLIN
2. Available Hive Tables in Kylin
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.
3. Kylin OLAP Cube
Kylin’s OLAP Cubes are pre-calculation datasets from Star Schema Hive tables, Here’s the web management interface for user to explorer, manage all cubes.Go to Cubes
Menu, it will list all cubes available in system:
To explore more detail about the Cube
-
Form View:
-
SQL View (Hive Query to read data to generate the cube):
-
Visualization (Showing the Star Schema behind of this cube):
-
Access (Grant user/role privileges, Grant operation only open to Admin in beta):
4. Write and Execute SQL on web
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
To avoid huge network traffic from server to client, the scan range’s threshold be set to 1,000,000 in beta.
SQL can’t found data from cube will not redirect to Hive in beta
Go to “Query” menu:
-
Source Tables:
Browser current available Tables (same structure and metadata as Hive):
-
New Query:
You can write and execute your query and explorer the result. One query for you reference:
-
Saved Query:
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:Click “Saved Queries” to browser all your saved queries, you could direct resubmit it to run 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.
5. Pivot Analysis and Visualization
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): -
Query Result:
It’s easy to order on one column.
-
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:
-
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:
- Pie Chart:
- Line Chart
6. Cube Build Job Monitoring
Monitor and manage cube build process, diagnostic into the detail and even link to Hadoop’s job information directly: