-
Notifications
You must be signed in to change notification settings - Fork 8.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HADOOP-16340. ABFS driver continues to retry on IOException responses from REST operations #939
Conversation
… from REST operations
FYI @steveloughran , @DadanielZ |
💔 -1 overall
This message was automatically generated. |
No unit tests added because the only change is the protection level on a class's constructor. |
LGTM. XNS account: non-xns account: |
@steveloughran @ajfabbri could you help to review this change? |
@DadanielZ , Thanks for the review and help to push this along. |
committed into trunk, thanks |
💔 -1 overall
This message was automatically generated. |
SAMZA-2122: Fix the task caught-up logic which doesn't handle no incoming messages
ABFS driver continues to retry (until retry count is exhausted) upon IOException responses from REST operations.
In the exception hander for IOExceptions at
hadoop/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsRestOperation.java
Lines 174 to 197 in 65f60e5
From an org.apache.hadoop.fs.azurebfs.extensions.CustomTokenProviderAdaptee or org.apache.hadoop.fs.azurebfs.extensions.CustomDelegationTokenManager implementation, there is no way to create an org.apache.hadoop.fs.azurebfs.oauth2.AzureADAuthenticator.HttpException since the constructor is package private.
To solve this issue, access to org.apache.hadoop.fs.azurebfs.oauth2.AzureADAuthenticator.HttpException needs to be set to that custom implementations can use it.
This patch changes the org.apache.hadoop.fs.azurebfs.oauth2.AzureADAuthenticator.HttpException constructor to private rather than package private.