diff --git a/providers/src/airflow/providers/apache/hive/CHANGELOG.rst b/providers/src/airflow/providers/apache/hive/CHANGELOG.rst index 1213e305cf813..b55a36bd82cb4 100644 --- a/providers/src/airflow/providers/apache/hive/CHANGELOG.rst +++ b/providers/src/airflow/providers/apache/hive/CHANGELOG.rst @@ -26,6 +26,14 @@ Changelog --------- +main +.... + +.. warning:: + All deprecated classes, parameters and features have been removed from the {provider_name} provider package. + The following breaking changes were introduced: + + * Removed deprecated ``GSSAPI`` for ``auth_mechanism.`` Use ``KERBEROS`` instead. 8.2.1 ..... diff --git a/providers/src/airflow/providers/apache/hive/hooks/hive.py b/providers/src/airflow/providers/apache/hive/hooks/hive.py index d768743cd459b..dde421e01e69b 100644 --- a/providers/src/airflow/providers/apache/hive/hooks/hive.py +++ b/providers/src/airflow/providers/apache/hive/hooks/hive.py @@ -873,14 +873,6 @@ def get_conn(self, schema: str | None = None) -> Any: auth_mechanism = db.extra_dejson.get("auth_mechanism", "KERBEROS") kerberos_service_name = db.extra_dejson.get("kerberos_service_name", "hive") - # pyhive uses GSSAPI instead of KERBEROS as a auth_mechanism identifier - if auth_mechanism == "GSSAPI": - self.log.warning( - "Detected deprecated 'GSSAPI' for auth_mechanism for %s. Please use 'KERBEROS' instead", - self.hiveserver2_conn_id, # type: ignore - ) - auth_mechanism = "KERBEROS" - # Password should be set if and only if in LDAP or CUSTOM mode if auth_mechanism in ("LDAP", "CUSTOM"): password = db.password