The Apache Doris v2.1 supports Arrow Flight SQL channel out of the box. To enable Arrow Flight SQL, the arrow_flight_sql_port needs to be configured in fe/conf/fe.conf and be/conf/be.conf[1]. Adding these properties in feSpec.configMap.fe.conf and beSpec.configMap.be.conf enables the Arrow Flight SQL port on BE and FE.
However, this configuration does not expose the port on the pod and the service when deploying Doris using the DorisCluster CRD. Any attempt to manually expose it by editing the StatefulSet and Service results in the following error (with PVC as well):
2024-06-03 16:28:33,158 INFO (UNKNOWN fe_a9d8b97b_7b57_4961_ac21_0ffa0bbcc532(-1)|1) [Env.waitForReady():1067] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:101 reason:
This issue persists even when metadata_failure_recovery=true is set in fe.conf[2].
Request:
It would be highly beneficial if the doris-operator could support the configuration for the Arrow Flight SQL port on BE and FE. This enhancement will facilitate seamless deployment and usage of the Arrow Flight SQL feature in Doris.
Description:
The Apache Doris v2.1 supports Arrow Flight SQL channel out of the box. To enable Arrow Flight SQL, the
arrow_flight_sql_port
needs to be configured infe/conf/fe.conf
andbe/conf/be.conf
[1]. Adding these properties infeSpec.configMap.fe.conf
andbeSpec.configMap.be.conf
enables the Arrow Flight SQL port on BE and FE.However, this configuration does not expose the port on the pod and the service when deploying Doris using the
DorisCluster
CRD. Any attempt to manually expose it by editing the StatefulSet and Service results in the following error (with PVC as well):This issue persists even when
metadata_failure_recovery=true
is set infe.conf
[2].Request:
It would be highly beneficial if the doris-operator could support the configuration for the Arrow Flight SQL port on BE and FE. This enhancement will facilitate seamless deployment and usage of the Arrow Flight SQL feature in Doris.
References: [1] Arrow Flight SQL in Apache Doris
[2] apache/doris#4322