[ https://issues.apache.org/jira/browse/PHOENIX-4946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16637742#comment-16637742 ]
Hadoop QA commented on PHOENIX-4946: ------------------------------------ {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12942328/PHOENIX-4946.001.patch against master branch at commit ecb6bc995c478f2d58df093b48421564449c38b2. ATTACHMENT ID: 12942328 {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:red}-1 tests included{color}. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:red}-1 release audit{color}. The applied patch generated 1 release audit warnings (more than the master's current 0 warnings). {color:green}+1 lineLengths{color}. The patch does not introduce lines longer than 100 {color:red}-1 core tests{color}. The patch failed these unit tests: ./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.index.MutableIndexSplitForwardScanIT ./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.index.MutableIndexSplitReverseScanIT ./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.ViewIT ./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.ConcurrentMutationsIT ./phoenix-core/target/failsafe-reports/TEST-org.apache.phoenix.end2end.UpsertSelectAutoCommitIT Test results: https://builds.apache.org/job/PreCommit-PHOENIX-Build/2071//testReport/ Release audit warnings: https://builds.apache.org/job/PreCommit-PHOENIX-Build/2071//artifact/patchprocess/patchReleaseAuditWarnings.txt Console output: https://builds.apache.org/job/PreCommit-PHOENIX-Build/2071//console This message is automatically generated. > Super old httpclient version in phoenix-core causes NoClassDefFoundError when > Hadoop KMS is enabled > --------------------------------------------------------------------------------------------------- > > Key: PHOENIX-4946 > URL: https://issues.apache.org/jira/browse/PHOENIX-4946 > Project: Phoenix > Issue Type: Bug > Reporter: Josh Elser > Assignee: Josh Elser > Priority: Major > Fix For: 5.1.0 > > Attachments: PHOENIX-4946.001.patch > > > We have a super-old version of org.apache.httpcomponents:httpclient in > phoenix-core of 4.0.1. With Hadoop3, this appears to exclude out 4.5.2 which > comes in transitively. > When using the Hadoop KMS provider, you'll see an error like: > {noformat} > java.lang.NoClassDefFoundError: > org/apache/phoenix/shaded/org/apache/http/client/utils/URIBuilder > at > org.apache.hadoop.crypto.key.kms.KMSClientProvider.createURL(KMSClientProvider.java:437) > at > org.apache.hadoop.crypto.key.kms.KMSClientProvider.addDelegationTokens(KMSClientProvider.java:1032) > at > org.apache.hadoop.crypto.key.kms.LoadBalancingKMSClientProvider$1.call(LoadBalancingKMSClientProvider.java:193) > at > org.apache.hadoop.crypto.key.kms.LoadBalancingKMSClientProvider$1.call(LoadBalancingKMSClientProvider.java:190) > at > org.apache.hadoop.crypto.key.kms.LoadBalancingKMSClientProvider.doOp(LoadBalancingKMSClientProvider.java:123) > at > org.apache.hadoop.crypto.key.kms.LoadBalancingKMSClientProvider.addDelegationTokens(LoadBalancingKMSClientProvider.java:190) > at > org.apache.hadoop.crypto.key.KeyProviderDelegationTokenExtension.addDelegationTokens(KeyProviderDelegationTokenExtension.java:110) > at > org.apache.hadoop.hdfs.HdfsKMSUtil.addDelegationTokensForKeyProvider(HdfsKMSUtil.java:84) > at > org.apache.hadoop.hdfs.DistributedFileSystem.addDelegationTokens(DistributedFileSystem.java:2821) > {noformat} > It seems like we have no good reason to depend on an old version of > httpclient. > Avatica is on 4.5.2 by default, but we can probably just go directly to the > latest which is 4.5.6. -- This message was sent by Atlassian JIRA (v7.6.3#76005)