Skip to content

When creating a Hive Server 2 Thrift connection using airflow, the password does not take effect. #62338

@shashihoushengqia

Description

@shashihoushengqia

Apache Airflow version

3.1.7

If "Other Airflow 3 version" selected, which one?

No response

What happened?

When creating a Hive Server 2 Thrift connection using Airflow, no matter how the password is modified, Airflow will always change it to a "x" character.

What you think should happen instead?

No response

How to reproduce

  1. Create a Hive Server 2 Thrift connection:
Image 2. Create a DAG: Image 3. Manually trigger the DAG and perform network packet capture on the Hive end: Image

Here it is shown that Airflow sent a data packet to Hive with the Username "airflow_test_user" and the Password "x". At this point, the password I set as "123456789" has disappeared and I have also tried setting other passwords, but without exception, they were all changed to "x".

Operating System

Debian GNU/Linux 12 (bookworm)

Versions of Apache Airflow Providers

apache-airflow-providers-apache-hive==9.2.5

Deployment

Official Apache Airflow Helm Chart

Deployment details

k3s: v1.32.12+k3s1
Airflow: v3.1.7
helm-chart: v1.19.0

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions