Skip to content

Commit

Permalink
Fix package name in exception message for hdfs provider
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrejeambrun committed Aug 27, 2023
1 parent a23f318 commit fbe2a0e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions airflow/providers/apache/hdfs/hooks/hdfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
Please convert your DAGs to use the WebHdfsHook or downgrade the provider to below 4.*
if you want to continue using it.
If you want to use earlier provider you can downgrade to latest released 3.* version
using `pip install apache-airflow-providers-hdfs==3.2.1` (no constraints)
using `pip install apache-airflow-providers-apache-hdfs==3.2.1` (no constraints)
"""


Expand All @@ -34,7 +34,7 @@ class HDFSHookException(AirflowException):
Please convert your DAGs to use the WebHdfsHook or downgrade the provider
to below 4.* if you want to continue using it. If you want to use earlier
provider you can downgrade to latest released 3.* version using
`pip install apache-airflow-providers-hdfs==3.2.1` (no constraints).
`pip install apache-airflow-providers-apache-hdfs==3.2.1` (no constraints).
"""

def __init__(self, *args, **kwargs):
Expand All @@ -48,7 +48,7 @@ class HDFSHook(BaseHook):
Please convert your DAGs to use the WebHdfsHook or downgrade the provider
to below 4.*. if you want to continue using it. If you want to use earlier
provider you can downgrade to latest released 3.* version using
`pip install apache-airflow-providers-hdfs==3.2.1` (no constraints).
`pip install apache-airflow-providers-apache-hdfs==3.2.1` (no constraints).
"""

def __init__(self, *args, **kwargs):
Expand Down
4 changes: 2 additions & 2 deletions airflow/providers/apache/hdfs/sensors/hdfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
Please convert your DAGs to use the WebHdfsSensor or downgrade the provider to below 4.*
if you want to continue using it.
If you want to use earlier provider you can downgrade to latest released 3.* version
using `pip install apache-airflow-providers-hdfs==3.2.1` (no constraints)
using `pip install apache-airflow-providers-apache-hdfs==3.2.1` (no constraints)
"""


Expand All @@ -33,7 +33,7 @@ class HdfsSensor(BaseSensorOperator):
Please convert your DAGs to use the WebHdfsSensor or downgrade the provider
to below 4.* if you want to continue using it. If you want to use earlier
provider you can downgrade to latest released 3.* version using
`pip install apache-airflow-providers-hdfs==3.2.1` (no constraints).
`pip install apache-airflow-providers-apache-hdfs==3.2.1` (no constraints).
"""

def __init__(self, *args, **kwargs):
Expand Down

0 comments on commit fbe2a0e

Please sign in to comment.