You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2023/01/04 09:08:45 UTC

[GitHub] [airflow] potiuk commented on issue #28679: Status of testing Providers that were prepared on January 02, 2023

potiuk commented on issue #28679:
URL: https://github.com/apache/airflow/issues/28679#issuecomment-1370650957

   All Good:
   
   * The #28434 was just dev change 
   
   * I checked all dependency changes in METADATA of wheel packages  (#28505, #28648, #28442, #28316 , #28671)
   
   * Hive provider when installed provides the macros from the provider instead of the ones from Airflow (#28538):
   
   I had no hive and connection defined, but it was correctly added and used by JINJA  and was clearly taken from hive provider, not airflow core:
   
   ```
     File "/opt/airflow/airflow/providers/apache/hive/macros/hive.py", line 49, in max_partition
       hive_hook = HiveMetastoreHook(metastore_conn_id=metastore_conn_id)
     File "/opt/airflow/airflow/providers/apache/hive/hooks/hive.py", line 485, in __init__
       self.conn = self.get_connection(metastore_conn_id)
     File "/opt/airflow/airflow/hooks/base.py", line 72, in get_connection
       conn = Connection.get_connection_from_secrets(conn_id)
     File "/opt/airflow/airflow/models/connection.py", line 435, in get_connection_from_secrets
       raise AirflowNotFoundException(f"The conn_id `{conn_id}` isn't defined")
   airflow.exceptions.AirflowNotFoundException: The conn_id `metastore_default` isn't defined
   ```
   
   Also it is visible in Airflow Webserver as Plugin when the new hive provider is installed (missing when installing hive provider 5.0.0):
   
   <img width="2034" alt="Screenshot 2023-01-04 at 09 58 17" src="https://user-images.githubusercontent.com/595491/210519322-28410f1b-1637-439d-a6b3-d6e352ff777c.png">
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org