You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "pankajkoti (via GitHub)" <gi...@apache.org> on 2023/11/14 07:55:35 UTC

[PR] Extend task context logging support for remote logging using AWS S3 [airflow]

pankajkoti opened a new pull request, #32950:
URL: https://github.com/apache/airflow/pull/32950

   With the addition of task context logging feature in PR #32646, 
   this PR extends the feature to AWS S3 when is it set as remote 
   logging store. Here, backward compatibility is ensured for older 
   versions of Airflow that do not have the feature included in 
   Airflow Core.
   
   <!--
    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at
   
      http://www.apache.org/licenses/LICENSE-2.0
   
    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
    -->
   
   <!--
   Thank you for contributing! Please make sure that your code changes
   are covered with tests. And in case of new features or big changes
   remember to adjust the documentation.
   
   Feel free to ping committers for the review!
   
   In case of an existing issue, reference it using one of the following:
   
   closes: #ISSUE
   related: #ISSUE
   
   How to write a good git commit message:
   http://chris.beams.io/posts/git-commit/
   -->
   
   
   
   <!-- Please keep an empty line above the dashes. -->
   ---
   **^ Add meaningful description above**
   
   Read the **[Pull Request Guidelines](https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst#pull-request-guidelines)** for more information.
   In case of fundamental code changes, an Airflow Improvement Proposal ([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvement+Proposals)) is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x).
   In case of backwards incompatible changes please leave a note in a newsfragment file, named `{pr_number}.significant.rst` or `{issue_number}.significant.rst`, in [newsfragments](https://github.com/apache/airflow/tree/main/newsfragments).
   


-- 
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


[GitHub] [airflow] github-actions[bot] commented on pull request #32950: Extend task context logging support for remote logging using AWS S3

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #32950:
URL: https://github.com/apache/airflow/pull/32950#issuecomment-1722071347

   This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.


-- 
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


Re: [PR] Extend task context logging support for remote logging using AWS S3 [airflow]

Posted by "pankajkoti (via GitHub)" <gi...@apache.org>.
pankajkoti merged PR #32950:
URL: https://github.com/apache/airflow/pull/32950


-- 
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


[GitHub] [airflow] github-actions[bot] closed pull request #32950: Extend task context logging support for remote logging using AWS S3

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #32950: Extend task context logging support for remote logging using AWS S3
URL: https://github.com/apache/airflow/pull/32950


-- 
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


[GitHub] [airflow] pankajkoti commented on pull request #32950: Extend task context logging support for remote logging using AWS S3

Posted by "pankajkoti (via GitHub)" <gi...@apache.org>.
pankajkoti commented on PR #32950:
URL: https://github.com/apache/airflow/pull/32950#issuecomment-1659582952

   @uranusjr yes, since the base PR https://github.com/apache/airflow/pull/32646 is not merged to main yet, the keyword argument identifier is not available yet for the `set_context` method and it is complaining for that. Once the base PR is merged, this check will pass.


-- 
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


[GitHub] [airflow] pankajkoti commented on pull request #32950: Extend task context logging support for remote logging using AWS S3

Posted by "pankajkoti (via GitHub)" <gi...@apache.org>.
pankajkoti commented on PR #32950:
URL: https://github.com/apache/airflow/pull/32950#issuecomment-1658844933

   Backward compatibility test by putting this change on top of main branch locally:
   <img width="1697" alt="Screenshot 2023-07-31 at 10 56 47 PM" src="https://github.com/apache/airflow/assets/10206082/37abe2f3-a61d-4249-8f29-acfaf8607a6f">
   
   
   **Feature testing by putting these changes on the base PR branch which adds the feature in Airflow Core:**
   Without this change for AWS S3 remote logging when tasks fail in scheduler:
   <img width="1709" alt="Screenshot 2023-07-31 at 10 56 58 PM" src="https://github.com/apache/airflow/assets/10206082/9247095b-f0b2-4db3-a00d-33b9a46604e9">
   
   With this change for GCS remote logging when tasks fail in scheduler:
   <img width="1710" alt="Screenshot 2023-07-31 at 10 59 03 PM" src="https://github.com/apache/airflow/assets/10206082/71b0f6a8-fbb2-4023-99e1-6acaa5fd170c">
   
   


-- 
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


Re: [PR] Extend task context logging support for remote logging using AWS S3 [airflow]

Posted by "pankajkoti (via GitHub)" <gi...@apache.org>.
pankajkoti commented on PR #32950:
URL: https://github.com/apache/airflow/pull/32950#issuecomment-1816321322

   Latest successful testing with S3 remote logging
   
   <img width="1713" alt="Screenshot 2023-11-17 at 5 54 05 PM" src="https://github.com/apache/airflow/assets/10206082/fc13a890-d6bd-43da-9aaf-23320cabda36">
   


-- 
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