Skip to content

Engine Description

Starting from Hengshi-sense:4.3, an embedded Doris engine is provided. If you have specific requirements for the engine type, please confirm the engine type with the staff before obtaining the installation upgrade package.

Doris Engine Configuration

Engine configuration needs to be set before startup in the conf/hengshi-sense-env.sh file under the installation root directory. The export keyword must be added before the variables. The relevant field descriptions are as follows:

FieldRequiredTypeDescription
DORIS_FE_HOSTSNoARRAYDoris engine Fe (Frontend) deployment machine information. This option is mandatory when the deployment environment has virtual network cards or the machine has multiple network cards. (10.10.10.x) (10.10.10.x 10.10.12.x)
DORIS_BE_HOSTSNoARRAYDoris engine Be (Backend) deployment machine information. This option is mandatory when the deployment environment has virtual network cards or the machine has multiple network cards. (10.10.10.x) (10.10.10.x 10.10.12.x)
DORIS_FE_QUERY_PORTNoINTEGERDoris FE query connection port via MySQL protocol. Default value: 9030
DORIS_BE_BE_PORTNoINTEGERPort number of the Thrift server on BE, used to receive requests from FE. Default value: 9060
HS_DORIS_ENGINE_DATASET_DATABNoSTRINGBusiness database name used internally by HENGSHI SENSE, storing dataset-related information.
HS_DORIS_ENGINE_TMP_DATABASENoSTRINGBusiness database name used internally by HENGSHI SENSE, storing temporary tables and data integration file information.
HS_DORIS_ENGINE_OUTPUT_DATABASENoSTRINGBusiness database name used internally by HENGSHI SENSE, storing public data information.
HS_DORIS_ENGINE_USERNoSTRINGInternal Doris user name provided by HENGSHI SENSE.
HS_DORIS_ENGINE_PWDNoSTRINGInternal Doris user password provided by HENGSHI SENSE.

Notes

1. In a VM standalone deployment environment, if there are multiple network interfaces or virtual network interfaces in the environment, the conf/hengshi-sense-env.sh configuration file must configure the DORIS_FE_HOSTS and DORIS_BE_HOSTS parameters to avoid startup failures due to network factors.

shell
ip addr | sed -rn '/docker/{N;N;/inet/d}; s/127.0.0.1//; s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p'
# Multiple IPs are output as a result, indicating the presence of multiple network interfaces or virtual network interfaces in the environment
shell
#Note that the number of doris-fe needs to be configured as an odd number
[doris-fe] # It is recommended to use IP information for configuration, hostname configuration may cause startup failure
Node-A master=true
Node-B
Node-C

[doris-be] # It is recommended to use IP information for configuration, hostname configuration may cause startup failure
Node-A
Node-B
Node-C

HENGSHI SENSE Platform User Manual