Esta página ainda não está disponível no idioma selecionado. Estamos trabalhando para adicionar mais opções de idiomas. Agradecemos sua compreensão.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Data Lake Insight/ Best Practices/ Connecting BI Tools to DLI for Data Analysis/ Configuring Yonghong BI to Connect to DLI for Data Query and Analysis

Configuring Yonghong BI to Connect to DLI for Data Query and Analysis

Updated on 2025-02-26 GMT+08:00

Yonghong BI is an enterprise-level data analysis tool that supports data visualization, report creation, data analysis, and decision-making. It helps businesses gain insights into their data and improve decision-making efficiency.

This section describes how to configure Yonghong BI to connect to DLI.

Preparations

  • Environment requirements:
    • Yonghong BI has been installed.
  • DLI JDBC driver:

    Download the JDBC driver huaweicloud-dli-jdbc-xxx-dependencies.jar from the DLI management console.

  • Connection information:
    Table 1 Connection information

    Item

    Description

    How to Obtain

    DLI's AK/SK

    AK/SK-based authentication refers to the use of an AK/SK pair to sign requests for identity authentication.

    Obtaining an AK/SK

    DLI's endpoint address

    Endpoint of a cloud service in a region.

    Obtaining an Endpoint

    DLI's project ID

    Project ID, which is used for resource isolation.

    Obtaining a Project ID

    DLI's region information

    DLI's region information

    Regions and Endpoints

Step 1: Creating a DLI Data Connection on Yonghong BI

  1. Start Yonghong BI.
  2. On the Yonghong BI page, click Add Data Source.
  3. On the New Connection Type page, choose GENERIC as the data source type.
  4. Configure the new connection.

    Driver: Upload DLI's JDBC driver you have downloaded.

    URL: Enter the URL of DLI JDBC. Table 2 describes the URL format. Table 3 describes attribute configuration items.

    Specify a database.
    NOTE:
    • In Schema, you can optionally enter the name of the database to be accessed. If you enter the name, only tables in the database are displayed during data set creation. If you do not enter the name, tables in all databases are displayed during data set creation.
    • Retain default values for other parameters. You do not need to select Request Login.
    Table 2 Database connection parameters

    Parameter

    Description

    URL

    The URL format is as follows:

    jdbc:dli://<endPoint>/<projectId>?<key1>=<val1>;<key2>=<val2>...

    NOTE:
    • endpoint indicates DLI's endpoint. Obtain it by referring to Regions and Endpoints.
    • projectId indicates the project ID, which can be obtained from the My Credentials page of the public cloud platform.
    • ? is followed by other configuration items, with each item listed in the "key=value" format and multiple items are separated by semicolons (;). See Table 3.
    Table 3 Attribute configuration items

    Attribute (key)

    Mandatory

    Default Value (value)

    Description

    enginetype

    No

    -

    Type of the engine that executes jobs.

    queuename

    Yes

    -

    DLI queue name.

    databasename

    No

    -

    Default database to access. If not specified in the URL, you need to use db.table (for example, select * from dbother.tabletest) to access tables in the database.

    accesskey

    Mandatory when authenticationmode is aksk.

    -

    Authentication mode that JDBC supports.

    secretkey

    Mandatory when authenticationmode is aksk.

    -

    Authentication mode that JDBC supports.

    regionname

    Mandatory when authenticationmode is aksk.

    -

    Obtain it by referring to Regions and Endpoints.

    servicename

    Mandatory when authenticationmode is aksk.

    -

    Set it to dli as Yonghong BI connects to DLI.

    catalog

    No

    dli

    Type of metadata that the job reads.

  5. On the tool bar of the displayed page, click Test Connection. Once the test is complete, click Save. Enter the data source name and save the data source.
    NOTE:

    Currently, you can only save the data source to an existing folder as you are not allowed to save any data sources to the root directory.

Step 2: Create a DLI Dataset on Yonghong BI

  1. On the home page of the Yonghong SaaS production environment, click Create Data Set in the navigation pane on the left.

    Figure 1 Creating a dataset

  2. On the displayed page, click SQL Data Set.

    Figure 2 Creating a SQL dataset

  3. On the displayed page, select the added DLI data source from the Connection drop-down list box.

    Figure 3 Selecting a data source

  4. In the Table area on the left pane, right-click and choose Update to update tables. All databases and their tables are listed in the area. Figure 4 shows the page displayed when Table Structure is not configured during connection creation.

    Figure 4 Updating tables

  5. In the SQL Statement area on the left pane, enter the select * from table_name command to query tables. On the Preview Data page on the right pane, click . Metadata of the table, including fields and field types, is displayed.

    Figure 5 Querying the table

  6. Click in the right pane to query data details.

    Figure 6 Querying data of the table

  7. On the tool bar of the displayed page, click Save.

Once Yonghong BI is connected to the DLI data source and a dataset is created, you can create BI charts in Yonghong BI as needed.

Usamos cookies para aprimorar nosso site e sua experiência. Ao continuar a navegar em nosso site, você aceita nossa política de cookies. Saiba mais

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback