From 3539581268f2063184044e96518267a9b19b642e Mon Sep 17 00:00:00 2001 From: Duo Zhang Date: Sat, 20 Apr 2024 20:14:38 +0800 Subject: [PATCH] HBASE-28511 Update hbase-thirdparty to 4.1.7 (#5818) Signed-off-by: Bryan Beaudreault --- .../org/apache/hadoop/hbase/security/EncryptionUtil.java | 4 ++-- .../apache/hadoop/hbase/shaded/protobuf/ProtobufUtil.java | 2 +- hbase-examples/pom.xml | 2 +- hbase-protocol-shaded/pom.xml | 2 +- .../apache/hadoop/hbase/io/hfile/FixedFileTrailer.java | 2 +- pom.xml | 8 ++++---- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/security/EncryptionUtil.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/security/EncryptionUtil.java index 6c755f9a94cd..04fc5201cc10 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/security/EncryptionUtil.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/security/EncryptionUtil.java @@ -120,7 +120,7 @@ public static byte[] wrapKey(Configuration conf, String subject, Key key) throws public static Key unwrapKey(Configuration conf, String subject, byte[] value) throws IOException, KeyException { EncryptionProtos.WrappedKey wrappedKey = - EncryptionProtos.WrappedKey.PARSER.parseDelimitedFrom(new ByteArrayInputStream(value)); + EncryptionProtos.WrappedKey.parser().parseDelimitedFrom(new ByteArrayInputStream(value)); String algorithm = conf.get(HConstants.CRYPTO_KEY_ALGORITHM_CONF_KEY, HConstants.CIPHER_AES); Cipher cipher = Encryption.getCipher(conf, algorithm); if (cipher == null) { @@ -170,7 +170,7 @@ private static Key getUnwrapKey(Configuration conf, String subject, public static Key unwrapWALKey(Configuration conf, String subject, byte[] value) throws IOException, KeyException { EncryptionProtos.WrappedKey wrappedKey = - EncryptionProtos.WrappedKey.PARSER.parseDelimitedFrom(new ByteArrayInputStream(value)); + EncryptionProtos.WrappedKey.parser().parseDelimitedFrom(new ByteArrayInputStream(value)); String algorithm = conf.get(HConstants.CRYPTO_WAL_ALGORITHM_CONF_KEY, HConstants.CIPHER_AES); Cipher cipher = Encryption.getCipher(conf, algorithm); if (cipher == null) { diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/ProtobufUtil.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/ProtobufUtil.java index e50b54e8eb02..d48b8b73a316 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/ProtobufUtil.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/ProtobufUtil.java @@ -3181,7 +3181,7 @@ public static ServerName parseServerNameFrom(final byte[] data) throws Deseriali int prefixLen = ProtobufMagic.lengthOfPBMagic(); try { ZooKeeperProtos.Master rss = - ZooKeeperProtos.Master.PARSER.parseFrom(data, prefixLen, data.length - prefixLen); + ZooKeeperProtos.Master.parser().parseFrom(data, prefixLen, data.length - prefixLen); org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.ServerName sn = rss.getMaster(); return ServerName.valueOf(sn.getHostName(), sn.getPort(), sn.getStartCode()); diff --git a/hbase-examples/pom.xml b/hbase-examples/pom.xml index 731d9ae1df64..4b4a8f3b55bb 100644 --- a/hbase-examples/pom.xml +++ b/hbase-examples/pom.xml @@ -33,7 +33,7 @@ - 3.25.2 + 4.26.1 diff --git a/hbase-protocol-shaded/pom.xml b/hbase-protocol-shaded/pom.xml index 39ecccc0015d..2c73844b7c02 100644 --- a/hbase-protocol-shaded/pom.xml +++ b/hbase-protocol-shaded/pom.xml @@ -34,7 +34,7 @@ - 3.25.2 + 4.26.1 3.10.6.Final - 4.1.100.Final + 4.1.108.Final 0.13.0 - 2.16.1 - 2.16.1 + 2.17.0 + 2.17.0 2.3.1 3.1.0 2.1.1 @@ -924,7 +924,7 @@ databind] must be kept in sync with the version of jackson-jaxrs-json-provider shipped in hbase-thirdparty. --> - 4.1.6 + 4.1.7 0.8.8