[
https://issues.apache.org/jira/browse/HBASE-28628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17851203#comment-17851203
]
Hudson commented on HBASE-28628:
--------------------------------
Results for branch branch-2.5
[build #538 on
builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.5/538/]:
(x) *{color:red}-1 overall{color}*
----
details (if available):
(x) {color:red}-1 general checks{color}
-- For more information [see general
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.5/538/General_20Nightly_20Build_20Report/]
(/) {color:green}+1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2)
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.5/538/JDK8_20Nightly_20Build_20Report_20_28Hadoop2_29/]
(/) {color:green}+1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3)
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.5/538/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2.5/538/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 source release artifact{color}
-- See build output for details.
(/) {color:green}+1 client integration test{color}
> Use Base64.getUrlEncoder().withoutPadding() in REST tests
> ---------------------------------------------------------
>
> Key: HBASE-28628
> URL: https://issues.apache.org/jira/browse/HBASE-28628
> Project: HBase
> Issue Type: Bug
> Components: REST
> Reporter: Istvan Toth
> Assignee: Istvan Toth
> Priority: Major
> Labels: pull-request-available, test
> Fix For: 2.7.0, 3.0.0-beta-2, 2.6.1, 2.5.9
>
>
> The encoder returned by java.util.Base64.getUrlEncoder() is unsuitable for
> the purpose.
> To get an encoder that is actually usable in URLs,
> java.util.Base64.getUrlEncoder().withoutPadding() must be used.
> The relevant Java bug is https://bugs.openjdk.org/browse/JDK-8026330 ,
> however instead of fixing the encoder, Java has decided to keep the broken
> default, and add the .withoutPadding() method as a way to get a working one.
> Due to sheer luck (or rather bad luck), this is not triggered in our tests,
> but anyone using them as a template will be in for a ride when hit by this
> problem.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)