nifi icon indicating copy to clipboard operation
nifi copied to clipboard

NIFI-12889: Retry Kerberos login on auth failure in HDFS processors

Open mattyb149 opened this issue 1 year ago • 1 comments

Summary

NIFI-12889 This PR resets the HDFS resources upon Kerberos authentication failure so the relogin can happen correctly on the next try.

Tracking

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

Issue Tracking

Pull Request Tracking

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

Pull Request Formatting

  • [x] Pull Request based on current revision of the main branch
  • [x] 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

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

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

mattyb149 avatar Mar 12 '24 17:03 mattyb149

reviewing...

Lehel44 avatar Mar 13 '24 19:03 Lehel44

@mattyb149 Thanks for making these improvements! LGTM+1

Lehel44 avatar Apr 08 '24 23:04 Lehel44

@mattyb149 - I merged this into main but forgot to amend the commit and add the magic words to close the PR, so closing manually. Also it does not apply cleanly to 1.x can you open a PR for the support branch? Thanks!

pvillard31 avatar Apr 09 '24 10:04 pvillard31