Skip to content

NIFI-13121: Handle runtime exceptions in FetchHDFS#8727

Closed
mattyb149 wants to merge 1 commit intoapache:mainfrom
mattyb149:NIFI-13121
Closed

NIFI-13121: Handle runtime exceptions in FetchHDFS#8727
mattyb149 wants to merge 1 commit intoapache:mainfrom
mattyb149:NIFI-13121

Conversation

@mattyb149
Copy link
Contributor

Summary

NIFI-13121 This PR mimics the fix from NIFI-6367 that was applied to FetchS3Object, and applies it to FetchHDFS. Runtime exceptions can currently be thrown by the Ozone File System for example.

Tracking

Please complete the following tracking steps prior to pull request creation.

Issue Tracking

Pull Request Tracking

  • Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
  • Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

  • Pull Request based on current revision of the main branch
  • Pull Request refers to a feature branch with one commit containing changes

Verification

Please indicate the verification steps performed prior to pull request creation.

Build

  • Build completed using mvn clean install -P contrib-check
    • JDK 21

UI Contributions

  • NiFi is modernizing its UI. Any contributions that update the current UI also need to be implemented in the new UI.

Licensing

  • New dependencies are compatible with the Apache License 2.0 according to the License Policy
  • New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

  • Documentation formatting appears as expected in rendered files

Copy link
Contributor

@gresockj gresockj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix looks good, I see the same strategy is used in FetchS3Object. That test timeout looks to be unrelated to your changes. Thanks @mattyb149

@asfgit asfgit closed this in b6a8699 May 2, 2024
asfgit pushed a commit that referenced this pull request May 2, 2024
Signed-off-by: Joe Gresock <jgresock@gmail.com>
This closes #8727.
shubhluck pushed a commit to shubhluck/nifi that referenced this pull request Jun 1, 2024
Signed-off-by: Joe Gresock <jgresock@gmail.com>
This closes apache#8727.
shubhluck pushed a commit to shubhluck/nifi that referenced this pull request Jun 1, 2024
Signed-off-by: Joe Gresock <jgresock@gmail.com>
This closes apache#8727.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants