apache-airflow-providers-apache-hdfs

Changelog

4.3.0

Note

This release of provider is only available for Airflow 2.6+ as explained in the Apache Airflow providers support policy.

Misc

  • Bump minimum Airflow version in providers to Airflow 2.6.0 (#36017)

4.2.0

Note

This release of provider is only available for Airflow 2.5+ as explained in the Apache Airflow providers support policy.

Misc

  • Bump min airflow version of providers (#34728)

  • Use 'airflow.exceptions.AirflowException' in providers (#34511)

4.1.1

Misc

  • Fix package name in exception message for hdfs provider (#33813)

4.1.0

Note

This release dropped support for Python 3.7

Features

  • Add ability to read/write task instance logs from HDFS (#31512)

4.0.0

Note

This release of provider is only available for Airflow 2.4+ as explained in the Apache Airflow providers support policy.

Breaking changes

The original HDFS Hook and sensor has been removed. It used the old HDFS snakebite-py3 library that had no update in years and the protobuf they are using reached end of life.

The 3.* version of the provider is still available and can be used if you need to use the old hooks and sensors.

The HDFSHook, HDFSSensor, HdfsRegexSensor, HdfsRegexSensor that have been removed from this provider and they are not available anymore. If you want to continue using them, you can use 3.* version of the provider, but the recommendation is to switch to the new WebHDFSHook and WebHDFSSensor that use the WebHDFS API.

  • Remove snakebite-py3 based HDFS hooks and sensors (#31262)

Note

Protobuf 3 required by the snakebite-py3 library has ended its life in June 2023 and Airflow and it’s providers stopped supporting it. If you would like to continue using HDFS hooks and sensors based on snakebite-py3 library when you have protobuf library 4.+ you can install the 3.* version of the provider but due to Protobuf incompatibility, you need to do one of the two things:

  • set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python variable in your environment.

  • downgrade protobuf to latest 3.* version (3.20.3 at this time)

Setting PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python will make many libraries using protobuf much slower - including multiple Google client libraries and Kubernetes. Downgrading protobuf to (already End-Of-Life) 3.* version will make some of the latest versions of the new providers incompatible (for example google and grpc) and you will have to downgrade those providers as well. Both should be treated as a temporary workaround only, and you should migrate to WebHDFS as soon as possible.

Misc

  • Bump minimum Airflow version in providers (#30917)

3.2.1

Bug Fixes

  • Fix HDFSHook HAClient is invalid (#30164)

3.2.0

Note

This release of provider is only available for Airflow 2.3+ as explained in the Apache Airflow providers support policy.

Misc

  • Move min airflow version to 2.3.0 for all providers (#27196)

3.1.0

Features

  • Adding Authentication to webhdfs sensor  (#25110)

3.0.1

Bug Fixes

  • 'WebHDFSHook' Bugfix/optional port (#24550)

3.0.0

Breaking changes

Misc

  • chore: Refactoring and Cleaning Apache Providers (#24219)

2.2.3

Bug Fixes

  • Fix mistakenly added install_requires for all providers (#22382)

2.2.2

Misc

  • Add Trove classifiers in PyPI (Framework :: Apache Airflow :: Provider)

2.2.1

Misc

  • Support for Python 3.10

  • Add how-to guide for WebHDFS operators (#21393)

2.2.0

Features

  • hdfs provider: restore HA support for webhdfs (#19711)

2.1.1

Bug Fixes

  • fix get_connections deprecation warning in webhdfs hook (#18331)

2.1.0

Features

  • hdfs provider: allow SSL webhdfs connections (#17637)

Misc

  • Optimise connection importing for Airflow 2.2.0

2.0.0

Breaking changes

  • Auto-apply apply_default decorator (#15667)

Warning

Due to apply_default decorator removal, this version of the provider requires Airflow 2.1.0+. If your Airflow version is < 2.1.0, and you want to install this provider version, first upgrade Airflow to at least version 2.1.0. Otherwise your Airflow package version will be upgraded automatically and you will have to manually run airflow upgrade db to complete the migration.

1.0.1

Updated documentation and readme files.

1.0.0

Initial version of the provider.

Was this entry helpful?