apache-airflow-providers-apache-hdfs
Note
This release dropped support for Python 3.7
- Add ability to read/write task instance logs from HDFS (#31512)
Note
This release of provider is only available for Airflow 2.4+ as explained in the Apache Airflow providers support policy.
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 any more. 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.
Bump minimum Airflow version in providers (#30917)
Fix HDFSHook HAClient is invalid (#30164)
Note
This release of provider is only available for Airflow 2.3+ as explained in the Apache Airflow providers support policy.
Move min airflow version to 2.3.0 for all providers (#27196)
Adding Authentication to webhdfs sensor (#25110)
'WebHDFSHook' Bugfix/optional port (#24550)
- This release of provider is only available for Airflow 2.2+ as explained in the Apache Airflow providers support policy https://github.com/apache/airflow/blob/main/README.md#support-for-providers
chore: Refactoring and Cleaning Apache Providers (#24219)
Fix mistakenly added install_requires for all providers (#22382)
Add Trove classifiers in PyPI (Framework :: Apache Airflow :: Provider)
Support for Python 3.10
Add how-to guide for WebHDFS operators (#21393)
hdfs provider: restore HA support for webhdfs (#19711)
fix get_connections deprecation warning in webhdfs hook (#18331)
hdfs provider: allow SSL webhdfs connections (#17637)
Optimise connection importing for Airflow 2.2.0
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.
Updated documentation and readme files.
Initial version of the provider.