From the version 5.2 onwards of Open Source BI Helical Insight, we are directly supporting CelerData (CelerDB)/Starrocks out of the box. Hence the steps mentioned in this blog are not required. In the below image we have highlighted from where you can find out about the current version of your Helical Insight instance.
Connecting to Celeradata can be done like below
Ex: Host: 0m49nk4hq.cloud-app.celerdata.com Port: 9030 Database Name: celerdata_tpch_1703144600 Datasource Name: Celer_DB User Name: admin Password: **password**
If you are using version older than version 5.2, then only you need to refer to this blog in order to make it compatible with CelerData (CelerDB) /Starrocks.
CelerData (StarRocks): A real-time analytics platform powered by the StarRocks engine. It enables lightning-fast query execution on large datasets, even in real-time.
Designed for ease of use, with a user-friendly interface.Scalable and cloud-native, built for modern data analysis needs.
Key Features:
Lightning-fast performance: CelerData (StarRocks) claims to offer the industry’s best query execution speed, even on massive datasets and complex queries. This enables real-time insights for businesses.
Built on StarRocks: CelerData (StarRocks) leverages the open-source StarRocks SQL engine and MPP database, known for its speed and scalability.
Handles updates and deletes: Unlike some real-time analytics platforms, CelerData (StarRocks) can process updates and deletes in real-time, ensuring data accuracy.
Cloud-native and scalable: It’s designed for cloud environments and can scale horizontally to support growing data volumes and user needs.
Connect CelerData (StarRocks) to Helical Insight:
As Helical Insight is a Java-based open-source business intelligence framework. We required JDBC driver to connect
NOTE: CelerData (StarRocks) will work with MySQL JDBC driver,
By default, Helical Insight includes MySql Driver, Installation is not needed
Driver Installation setup:
Download JDBC driver here:
https://repo1.maven.org/maven2/com/mysql/mysql-connector-j/8.2.0/mysql-connector-j-8.2.0.jar
Now in Helical Insight UI go to Data sources
In list of Data Sources check the required driver if not there go to end and you can see add driver option and click on that
After clicking on that add driver you can see a new tab there
Up on Click on Upload driver and select the downloaded MySQL_jdbc driver
And refresh the page now you can see the MySQLdb driver in Data sources
Now click on that MySQLdriver and give the required connection details
Ex:
Host: 0m49nk4hq.cloud-app.celerdata.com Port: 9030 Database Name: celerdata_tpch_1703144600 Datasource Name: Celer_DB User Name: admin Password: **password**
Now test the Connection, After getting Connection successful, Save the Datasource.
Setting Up Configuration Files in Backend:
Link:
Replace XML and JS files to access Metadata and Functions of CelerData (StarRocks)
Link: Celerdata (StarRocks)
XML and JS files:
Path: …\hi\hi-repository\System\Admin\SqlFunctions
Go to this path and paste(replace) the mysql.xml and mysql.js file
After completing above steps need to restart the HI application
Restarting in Windows: By putting “Services.msc” in run bar you can open the list of services.Steps: search ‘Services’ in search bar
Now you can see list of services running find Helical Insight and right click and restart it will restartin few seconds.
After restarting you can access CelerData (StarRocks) metadata and functions at report level in Helical Insight. You can create metadata and start creating reports.
In a similar way for restarting Helical Insight service on linux machine,
For Linux , to check the status of the service, run the following command:
service HelicalInsight status
You can restart the service by running the following set of commands:
service HelicalInsight stop
service HelicalInsight start
Please note that all the above commands must be run with sudo permissions.