TEZ-4688 TEZ-4648: Tez upgrade to Hadoop 3.5.0 and jersey 2.x#474
TEZ-4688 TEZ-4648: Tez upgrade to Hadoop 3.5.0 and jersey 2.x#474maheshrajus wants to merge 7 commits intoapache:masterfrom
Conversation
|
FYI, |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
|
💔 -1 overall
This message was automatically generated. |
|
@abstractdog @ayushtkn Can you please review and provide comments if any. Thanks ! |
|
@maheshrajus , can you please rebase this PR and resolve merge conflicts? |
|
@Aggarwal-Raghav Hi, i rebased and pushed the commit just now. Could you please take a look at this? Thanks ! |
| return ReflectionUtils.createClazzInstance(authenticatorClazzName); | ||
| } | ||
|
|
||
| private static class TokenAuthenticatedURLConnectionFactory implements HttpURLConnectionFactory { |
There was a problem hiding this comment.
Why TokenAuthenticatedURLConnectionFactory was removed won't it break things on Hadoop delegation token auth?
There was a problem hiding this comment.
I checked and added Hadoop delegation token auth related checks in latest commit. Please check and let me know if any other scenarios we can cover. thanks !
| private Client getHttpClient() { | ||
| if (httpClient == null) { | ||
| ClientConfig config = new DefaultClientConfig(JSONRootElementProvider.App.class); | ||
| HttpURLConnectionFactory urlFactory = new PseudoAuthenticatedURLConnectionFactory(); |
There was a problem hiding this comment.
If it was removed because HttpURLConnectionFactory was in jersey 1.x, Can we use HttpUrlConnectorProvider ?
There was a problem hiding this comment.
@Aggarwal-Raghav PseudoAuthenticatedURLConnectionFactory removed in Jersey 2.x and for Pseudo auth strategy for env where delegation token is not supported (hadoop 2.4). So creating client as per below code will be sufficient in my opinion. Please let me know if anything we can check add over here.
return ClientBuilder.newClient();
|
The explicit dependency of |
|
💔 -1 overall
This message was automatically generated. |
@Aggarwal-Raghav Better this we will handle separately. thanks ! |
|
💔 -1 overall
This message was automatically generated. |
jersey upgrade changes taken from PR : #429 by @abstractdog as they need for hadoop 3.5.0 upgrade.