(hbase-site) branch asf-site updated: INFRA-10751 Empty commit
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/hbase-site.git The following commit(s) were added to refs/heads/asf-site by this push: new b18d709ab6b INFRA-10751 Empty commit b18d709ab6b is described below commit b18d709ab6b9f662be183363bc03eeb4a2767a9c Author: jenkins AuthorDate: Tue May 21 14:44:19 2024 + INFRA-10751 Empty commit
(hbase) 05/05: HBASE-28535: Add a region-server wide key to enable data-tiering. (#5856)
This is an automated email from the ASF dual-hosted git repository. wchevreuil pushed a commit to branch HBASE-28463 in repository https://gitbox.apache.org/repos/asf/hbase.git commit 7527a74ef182ae3a9660ab90c06420fff28be4f2 Author: jhungund <106576553+jhung...@users.noreply.github.com> AuthorDate: Thu May 2 13:54:33 2024 +0530 HBASE-28535: Add a region-server wide key to enable data-tiering. (#5856) Signed-off-by: Wellington Chevreuil --- .../hadoop/hbase/io/hfile/bucket/BucketCache.java | 20 ++--- .../hbase/regionserver/DataTieringManager.java | 32 +--- .../hadoop/hbase/regionserver/HRegionServer.java | 5 +- .../hbase/regionserver/TestDataTieringManager.java | 91 +++--- 4 files changed, 114 insertions(+), 34 deletions(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java index 5a9c7795a33..0b53d047990 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java @@ -985,11 +985,10 @@ public class BucketCache implements BlockCache, HeapSize { // Check the list of files to determine the cold files which can be readily evicted. Map coldFiles = null; - try { -DataTieringManager dataTieringManager = DataTieringManager.getInstance(); + + DataTieringManager dataTieringManager = DataTieringManager.getInstance(); + if (dataTieringManager != null) { coldFiles = dataTieringManager.getColdFilesList(); - } catch (IllegalStateException e) { -LOG.warn("Data Tiering Manager is not set. Ignore time-based block evictions."); } // Scan entire map putting bucket entry into appropriate bucket entry // group @@ -2195,16 +2194,11 @@ public class BucketCache implements BlockCache, HeapSize { @Override public Optional shouldCacheFile(HFileInfo hFileInfo, Configuration conf) { String fileName = hFileInfo.getHFileContext().getHFileName(); -try { - DataTieringManager dataTieringManager = DataTieringManager.getInstance(); - if (!dataTieringManager.isHotData(hFileInfo, conf)) { -LOG.debug("Data tiering is enabled for file: '{}' and it is not hot data", fileName); -return Optional.of(false); - } -} catch (IllegalStateException e) { - LOG.error("Error while getting DataTieringManager instance: {}", e.getMessage()); +DataTieringManager dataTieringManager = DataTieringManager.getInstance(); +if (dataTieringManager != null && !dataTieringManager.isHotData(hFileInfo, conf)) { + LOG.debug("Data tiering is enabled for file: '{}' and it is not hot data", fileName); + return Optional.of(false); } - // if we don't have the file in fullyCachedFiles, we should cache it return Optional.of(!fullyCachedFiles.containsKey(fileName)); } diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DataTieringManager.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DataTieringManager.java index 6c699e77c2f..952b4d4938d 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DataTieringManager.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DataTieringManager.java @@ -45,6 +45,9 @@ import org.slf4j.LoggerFactory; @InterfaceAudience.Private public class DataTieringManager { private static final Logger LOG = LoggerFactory.getLogger(DataTieringManager.class); + public static final String GLOBAL_DATA_TIERING_ENABLED_KEY = +"hbase.regionserver.datatiering.enable"; + public static final boolean DEFAULT_GLOBAL_DATA_TIERING_ENABLED = false; // disabled by default public static final String DATATIERING_KEY = "hbase.hstore.datatiering.type"; public static final String DATATIERING_HOT_DATA_AGE_KEY = "hbase.hstore.datatiering.hot.age.millis"; @@ -58,28 +61,29 @@ public class DataTieringManager { } /** - * Initializes the DataTieringManager instance with the provided map of online regions. + * Initializes the DataTieringManager instance with the provided map of online regions, only if + * the configuration "hbase.regionserver.datatiering.enable" is enabled. + * @param conf Configuration object. * @param onlineRegions A map containing online regions. + * @return True if the instance is instantiated successfully, false otherwise. */ - public static synchronized void instantiate(Map onlineRegions) { -if (instance == null) { + public static synchronized boolean instantiate(Configuration conf, +Map onlineRegions) { +if (isDataTieringFeatureEnabled(conf) && instance == null) { instance = new DataTieringManager(onlineRegions); LOG.info("DataTieringManager instantiated successfully."); + return true; }
(hbase) branch HBASE-28463 updated (c3923459efc -> 7527a74ef18)
This is an automated email from the ASF dual-hosted git repository. wchevreuil pushed a change to branch HBASE-28463 in repository https://gitbox.apache.org/repos/asf/hbase.git omit c3923459efc HBASE-28535: Add a region-server wide key to enable data-tiering. (#5856) omit c1be5f1 HBASE-28468: Integrate the data-tiering logic into cache evictions. (#5829) omit 84b3f1934cd HBASE-28466 Integration of time-based priority logic of bucket cache in prefetch functionality of HBase (#5808) omit 99c412fe156 HBASE-28505 Implement enforcement to require Date Tiered Compaction for Time Range Data Tiering (#5809) omit a1fb5928de1 HBASE-28465 Implementation of framework for time-based priority bucket-cache (#5793) add 9f773d4db02 HBASE-28232 Add release manager for 2.6 in ref guide (#5921) add 8a5337b3e43 HBASE-28501 Support non-SPNEGO authentication methods and implement session handling in REST java client library (addendum: revert incompatible API change) (#5928) add d85574aa1f4 HBASE-28607 Bump requests from 2.31.0 to 2.32.0 in /dev-support/flaky-tests (#5929) new 76a995d038e HBASE-28465 Implementation of framework for time-based priority bucket-cache (#5793) new 6ff8b067ae2 HBASE-28505 Implement enforcement to require Date Tiered Compaction for Time Range Data Tiering (#5809) new b45f2b71ea4 HBASE-28466 Integration of time-based priority logic of bucket cache in prefetch functionality of HBase (#5808) new 7ddd9d7c2d1 HBASE-28468: Integrate the data-tiering logic into cache evictions. (#5829) new 7527a74ef18 HBASE-28535: Add a region-server wide key to enable data-tiering. (#5856) This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (c3923459efc) \ N -- N -- N refs/heads/HBASE-28463 (7527a74ef18) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 5 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: dev-support/flaky-tests/python-requirements.txt| 2 +- .../apache/hadoop/hbase/rest/client/Client.java| 22 +++--- src/main/asciidoc/_chapters/community.adoc | 5 + 3 files changed, 17 insertions(+), 12 deletions(-)
(hbase) 01/05: HBASE-28465 Implementation of framework for time-based priority bucket-cache (#5793)
This is an automated email from the ASF dual-hosted git repository. wchevreuil pushed a commit to branch HBASE-28463 in repository https://gitbox.apache.org/repos/asf/hbase.git commit 76a995d038e22fc8490a9a24a7afd1dffd986450 Author: vinayak hegde AuthorDate: Mon Apr 8 20:54:19 2024 +0530 HBASE-28465 Implementation of framework for time-based priority bucket-cache (#5793) Signed-off-by: Wellington Chevreuil --- .../hbase/regionserver/DataTieringException.java | 27 ++ .../hbase/regionserver/DataTieringManager.java | 222 .../hadoop/hbase/regionserver/DataTieringType.java | 26 ++ .../hadoop/hbase/regionserver/HRegionServer.java | 1 + .../hbase/regionserver/TestDataTieringManager.java | 389 + 5 files changed, 665 insertions(+) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DataTieringException.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DataTieringException.java new file mode 100644 index 000..8d356422f6e --- /dev/null +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DataTieringException.java @@ -0,0 +1,27 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.hadoop.hbase.regionserver; + +import org.apache.yetus.audience.InterfaceAudience; + +@InterfaceAudience.Private +public class DataTieringException extends Exception { + DataTieringException(String reason) { +super(reason); + } +} diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DataTieringManager.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DataTieringManager.java new file mode 100644 index 000..0bc04ddc428 --- /dev/null +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DataTieringManager.java @@ -0,0 +1,222 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.hadoop.hbase.regionserver; + +import java.util.HashSet; +import java.util.Map; +import java.util.OptionalLong; +import java.util.Set; +import org.apache.hadoop.conf.Configuration; +import org.apache.hadoop.fs.Path; +import org.apache.hadoop.hbase.io.hfile.BlockCacheKey; +import org.apache.hadoop.hbase.util.Bytes; +import org.apache.hadoop.hbase.util.EnvironmentEdgeManager; +import org.apache.yetus.audience.InterfaceAudience; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * The DataTieringManager class categorizes data into hot data and cold data based on the specified + * {@link DataTieringType} when DataTiering is enabled. DataTiering is disabled by default with + * {@link DataTieringType} set to {@link DataTieringType#NONE}. The {@link DataTieringType} + * determines the logic for distinguishing data into hot or cold. By default, all data is considered + * as hot. + */ +@InterfaceAudience.Private +public class DataTieringManager { + private static final Logger LOG = LoggerFactory.getLogger(DataTieringManager.class); + public static final String DATATIERING_KEY = "hbase.hstore.datatiering.type"; + public static final String DATATIERING_HOT_DATA_AGE_KEY = +"hbase.hstore.datatiering.hot.age.millis"; + public static final DataTieringType DEFAULT_DATATIERING = DataTieringType.NONE; + public static final long DEFAULT_DATATIERING_HOT_DATA_AGE = 7 * 24 * 60 * 60 * 1000; // 7 Days + private static DataTieringManager instance; + private final Map onlineRegions; + + p
(hbase) 02/05: HBASE-28505 Implement enforcement to require Date Tiered Compaction for Time Range Data Tiering (#5809)
This is an automated email from the ASF dual-hosted git repository. wchevreuil pushed a commit to branch HBASE-28463 in repository https://gitbox.apache.org/repos/asf/hbase.git commit 6ff8b067ae23d2f0775aa7bde79b9bdc0b1f6e9c Author: vinayak hegde AuthorDate: Fri Apr 12 14:54:37 2024 +0530 HBASE-28505 Implement enforcement to require Date Tiered Compaction for Time Range Data Tiering (#5809) Signed-off-by: Wellington Chevreuil --- .../hbase/regionserver/DateTieredStoreEngine.java | 3 ++ .../hadoop/hbase/util/TableDescriptorChecker.java | 36 + .../hbase/client/TestIllegalTableDescriptor.java | 45 ++ 3 files changed, 84 insertions(+) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DateTieredStoreEngine.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DateTieredStoreEngine.java index ded6564bce5..26437ab1124 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DateTieredStoreEngine.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DateTieredStoreEngine.java @@ -41,6 +41,9 @@ import org.apache.yetus.audience.InterfaceAudience; @InterfaceAudience.Private public class DateTieredStoreEngine extends StoreEngine { + + public static final String DATE_TIERED_STORE_ENGINE = DateTieredStoreEngine.class.getName(); + @Override public boolean needsCompaction(List filesCompacting) { return compactionPolicy.needsCompaction(storeFileManager.getStoreFiles(), filesCompacting); diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/TableDescriptorChecker.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/TableDescriptorChecker.java index 94e2e4bbfa0..471583b32b7 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/TableDescriptorChecker.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/TableDescriptorChecker.java @@ -17,6 +17,8 @@ */ package org.apache.hadoop.hbase.util; +import static org.apache.hadoop.hbase.regionserver.DateTieredStoreEngine.DATE_TIERED_STORE_ENGINE; + import java.io.IOException; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.CompoundConfiguration; @@ -28,10 +30,13 @@ import org.apache.hadoop.hbase.client.ColumnFamilyDescriptorBuilder; import org.apache.hadoop.hbase.client.TableDescriptor; import org.apache.hadoop.hbase.client.TableDescriptorBuilder; import org.apache.hadoop.hbase.fs.ErasureCodingUtils; +import org.apache.hadoop.hbase.regionserver.DataTieringManager; +import org.apache.hadoop.hbase.regionserver.DataTieringType; import org.apache.hadoop.hbase.regionserver.DefaultStoreEngine; import org.apache.hadoop.hbase.regionserver.HStore; import org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost; import org.apache.hadoop.hbase.regionserver.RegionSplitPolicy; +import org.apache.hadoop.hbase.regionserver.StoreEngine; import org.apache.hadoop.hbase.regionserver.compactions.ExploringCompactionPolicy; import org.apache.hadoop.hbase.regionserver.compactions.FIFOCompactionPolicy; import org.apache.yetus.audience.InterfaceAudience; @@ -191,6 +196,8 @@ public final class TableDescriptorChecker { // check in-memory compaction warnOrThrowExceptionForFailure(logWarn, hcd::getInMemoryCompaction); + + checkDateTieredCompactionForTimeRangeDataTiering(conf, td); } } @@ -210,6 +217,35 @@ public final class TableDescriptorChecker { }); } + private static void checkDateTieredCompactionForTimeRangeDataTiering(final Configuration conf, +final TableDescriptor td) throws IOException { +// Table level configurations +checkDateTieredCompactionForTimeRangeDataTiering(conf); +for (ColumnFamilyDescriptor cfd : td.getColumnFamilies()) { + // Column family level configurations + Configuration cfdConf = +new CompoundConfiguration().add(conf).addStringMap(cfd.getConfiguration()); + checkDateTieredCompactionForTimeRangeDataTiering(cfdConf); +} + } + + private static void checkDateTieredCompactionForTimeRangeDataTiering(final Configuration conf) +throws IOException { +final String errorMessage = + "Time Range Data Tiering should be enabled with Date Tiered Compaction."; + +warnOrThrowExceptionForFailure(false, () -> { + + // Determine whether Date Tiered Compaction will be enabled when Time Range Data Tiering is + // enabled after the configuration change. + if (DataTieringType.TIME_RANGE.name().equals(conf.get(DataTieringManager.DATATIERING_KEY))) { +if (!DATE_TIERED_STORE_ENGINE.equals(conf.get(StoreEngine.STORE_ENGINE_CLASS_KEY))) { + throw new IllegalArgumentException(errorMessage); +} + } +}); + } + private static void checkCompactionPolicy(final Configuration conf, final TableDescriptor td) throws IOException { warnOrThrowExceptionForFailure(false, () ->
(hbase) 04/05: HBASE-28468: Integrate the data-tiering logic into cache evictions. (#5829)
This is an automated email from the ASF dual-hosted git repository. wchevreuil pushed a commit to branch HBASE-28463 in repository https://gitbox.apache.org/repos/asf/hbase.git commit 7ddd9d7c2d15b29b4eda88bf29fef329bcc13230 Author: jhungund <106576553+jhung...@users.noreply.github.com> AuthorDate: Thu Apr 25 15:29:36 2024 +0530 HBASE-28468: Integrate the data-tiering logic into cache evictions. (#5829) Signed-off-by: Wellington Chevreuil --- .../hadoop/hbase/io/hfile/bucket/BucketCache.java | 45 +- .../hbase/regionserver/DataTieringManager.java | 42 - .../apache/hadoop/hbase/io/hfile/TestPrefetch.java | 4 +- .../hbase/regionserver/TestDataTieringManager.java | 178 + 4 files changed, 263 insertions(+), 6 deletions(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java index 622a57f91c2..5a9c7795a33 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java @@ -974,6 +974,7 @@ public class BucketCache implements BlockCache, HeapSize { long bytesToFreeWithExtra = (long) Math.floor(bytesToFreeWithoutExtra * (1 + extraFreeFactor)); + long bytesFreed = 0; // Instantiate priority buckets BucketEntryGroup bucketSingle = new BucketEntryGroup(bytesToFreeWithExtra, blockSize, getPartitionSize(singleFactor)); @@ -982,9 +983,36 @@ public class BucketCache implements BlockCache, HeapSize { BucketEntryGroup bucketMemory = new BucketEntryGroup(bytesToFreeWithExtra, blockSize, getPartitionSize(memoryFactor)); + // Check the list of files to determine the cold files which can be readily evicted. + Map coldFiles = null; + try { +DataTieringManager dataTieringManager = DataTieringManager.getInstance(); +coldFiles = dataTieringManager.getColdFilesList(); + } catch (IllegalStateException e) { +LOG.warn("Data Tiering Manager is not set. Ignore time-based block evictions."); + } // Scan entire map putting bucket entry into appropriate bucket entry // group for (Map.Entry bucketEntryWithKey : backingMap.entrySet()) { +if ( + coldFiles != null && coldFiles.containsKey(bucketEntryWithKey.getKey().getHfileName()) +) { + int freedBlockSize = bucketEntryWithKey.getValue().getLength(); + if (evictBlockIfNoRpcReferenced(bucketEntryWithKey.getKey())) { +bytesFreed += freedBlockSize; + } + if (bytesFreed >= bytesToFreeWithExtra) { +if (LOG.isDebugEnabled()) { + LOG.debug( +"Bucket cache free space completed; required: {} freed: {} from cold data blocks.", +bytesToFreeWithExtra, StringUtils.byteDesc(bytesFreed)); +} +// Sufficient bytes have been freed. +return; + } + continue; +} + switch (bucketEntryWithKey.getValue().getPriority()) { case SINGLE: { bucketSingle.add(bucketEntryWithKey); @@ -1001,6 +1029,21 @@ public class BucketCache implements BlockCache, HeapSize { } } + // Check if the cold file eviction is sufficient to create enough space. + bytesToFreeWithExtra -= bytesFreed; + if (bytesToFreeWithExtra <= 0) { +LOG.debug("Bucket cache free space completed; freed space : {} bytes of cold data blocks.", + StringUtils.byteDesc(bytesFreed)); +return; + } + + if (LOG.isDebugEnabled()) { +LOG.debug( + "Bucket cache free space completed; freed space : {} " ++ "bytes of cold data blocks. {} more bytes required to be freed.", + StringUtils.byteDesc(bytesFreed), bytesToFreeWithExtra); + } + PriorityQueue bucketQueue = new PriorityQueue<>(3, Comparator.comparingLong(BucketEntryGroup::overflow)); @@ -1009,8 +1052,6 @@ public class BucketCache implements BlockCache, HeapSize { bucketQueue.add(bucketMemory); int remainingBuckets = bucketQueue.size(); - long bytesFreed = 0; - BucketEntryGroup bucketGroup; while ((bucketGroup = bucketQueue.poll()) != null) { long overflow = bucketGroup.overflow(); diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DataTieringManager.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DataTieringManager.java index dec96604774..6c699e77c2f 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DataTieringManager.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DataTieringManager.java @@ -20,6 +20,7 @@ package org.apache.hadoop.hbase.regionserver; import static org.apac
(hbase) 03/05: HBASE-28466 Integration of time-based priority logic of bucket cache in prefetch functionality of HBase (#5808)
This is an automated email from the ASF dual-hosted git repository. wchevreuil pushed a commit to branch HBASE-28463 in repository https://gitbox.apache.org/repos/asf/hbase.git commit b45f2b71ea4d1dd3369a4c2c08139355cbbd2d38 Author: vinayak hegde AuthorDate: Mon Apr 22 15:23:30 2024 +0530 HBASE-28466 Integration of time-based priority logic of bucket cache in prefetch functionality of HBase (#5808) Signed-off-by: Wellington Chevreuil --- .../apache/hadoop/hbase/io/hfile/BlockCache.java | 6 +- .../hadoop/hbase/io/hfile/CombinedBlockCache.java | 7 +- .../apache/hadoop/hbase/io/hfile/HFileInfo.java| 6 ++ .../hadoop/hbase/io/hfile/HFilePreadReader.java| 6 +- .../hadoop/hbase/io/hfile/bucket/BucketCache.java | 15 +++- .../hbase/regionserver/DataTieringManager.java | 91 +- .../hbase/regionserver/TestDataTieringManager.java | 58 ++ 7 files changed, 145 insertions(+), 44 deletions(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/BlockCache.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/BlockCache.java index bed0194b1fa..ac83af1053a 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/BlockCache.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/BlockCache.java @@ -20,6 +20,7 @@ package org.apache.hadoop.hbase.io.hfile; import java.util.Iterator; import java.util.Map; import java.util.Optional; +import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.hadoop.hbase.util.Pair; import org.apache.yetus.audience.InterfaceAudience; @@ -197,11 +198,12 @@ public interface BlockCache extends Iterable { * overridden by all implementing classes. In such cases, the returned Optional will be empty. For * subclasses implementing this logic, the returned Optional would contain the boolean value * reflecting if the passed file should indeed be cached. - * @param fileName to check if it should be cached. + * @param hFileInfo Information about the file to check if it should be cached. + * @param conf The configuration object to use for determining caching behavior. * @return empty optional if this method is not supported, otherwise the returned optional * contains the boolean value informing if the file should be cached. */ - default Optional shouldCacheFile(String fileName) { + default Optional shouldCacheFile(HFileInfo hFileInfo, Configuration conf) { return Optional.empty(); } diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CombinedBlockCache.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CombinedBlockCache.java index d6692d2e2bf..b12510cdccd 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CombinedBlockCache.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CombinedBlockCache.java @@ -22,6 +22,7 @@ import java.util.Map; import java.util.Optional; import org.apache.commons.lang3.mutable.Mutable; import org.apache.commons.lang3.mutable.MutableBoolean; +import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.hadoop.hbase.io.HeapSize; import org.apache.hadoop.hbase.io.hfile.bucket.BucketCache; @@ -482,9 +483,9 @@ public class CombinedBlockCache implements ResizableBlockCache, HeapSize { } @Override - public Optional shouldCacheFile(String fileName) { -Optional l1Result = l1Cache.shouldCacheFile(fileName); -Optional l2Result = l2Cache.shouldCacheFile(fileName); + public Optional shouldCacheFile(HFileInfo hFileInfo, Configuration conf) { +Optional l1Result = l1Cache.shouldCacheFile(hFileInfo, conf); +Optional l2Result = l2Cache.shouldCacheFile(hFileInfo, conf); final Mutable combinedResult = new MutableBoolean(true); l1Result.ifPresent(b -> combinedResult.setValue(b && combinedResult.getValue())); l2Result.ifPresent(b -> combinedResult.setValue(b && combinedResult.getValue())); diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileInfo.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileInfo.java index 31e637a0099..e89f86e7c4e 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileInfo.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileInfo.java @@ -122,6 +122,7 @@ public class HFileInfo implements SortedMap { private FixedFileTrailer trailer; private HFileContext hfileContext; + private boolean initialized = false; public HFileInfo() { super(); @@ -363,6 +364,10 @@ public class HFileInfo implements SortedMap { * should be called after initTrailerAndContext */ public void initMetaAndIndex(HFile.Reader reader) throws IOException { +if (initialized) { + return; +} + ReaderContext context = reader.getContext(); try { HFileBlock.
svn commit: r69317 [2/5] - /dev/hbase/2.4.18RC0/
Added: dev/hbase/2.4.18RC0/CHANGES.md == --- dev/hbase/2.4.18RC0/CHANGES.md (added) +++ dev/hbase/2.4.18RC0/CHANGES.md Tue May 21 09:29:02 2024 @@ -0,0 +1,1829 @@ + + +# HBASE Changelog + +## Release 2.4.18 - Unreleased (as of 2024-05-21) + + + +### NEW FEATURES: + +| JIRA | Summary | Priority | Component | +|: |: | :--- |: | +| [HBASE-28168](https://issues.apache.org/jira/browse/HBASE-28168) | Add option in RegionMover.java to isolate one or more regions on the RegionSever | Minor | . | + + +### IMPROVEMENTS: + +| JIRA | Summary | Priority | Component | +|: |: | :--- |: | +| [HBASE-27758](https://issues.apache.org/jira/browse/HBASE-27758) | Inconsistent synchronization in MetricsUserSourceImpl | Major | metrics | +| [HBASE-27713](https://issues.apache.org/jira/browse/HBASE-27713) | Remove numRegions in Region Metrics | Major | metrics | +| [HBASE-27422](https://issues.apache.org/jira/browse/HBASE-27422) | Support replication for hbase:acl | Major | acl, Replication | +| [HBASE-27818](https://issues.apache.org/jira/browse/HBASE-27818) | Split TestReplicationDroppedTables | Major | Replication, test | +| [HBASE-27819](https://issues.apache.org/jira/browse/HBASE-27819) | 10k RpcServer.MAX\_REQUEST\_SIZE is not enough in ReplicationDroppedTable related tests | Major | test | +| [HBASE-27792](https://issues.apache.org/jira/browse/HBASE-27792) | Guard Master/RS Dump Servlet behind admin walls | Minor | security, UI | +| [HBASE-27821](https://issues.apache.org/jira/browse/HBASE-27821) | Split TestFuzzyRowFilterEndToEnd | Major | test | +| [HBASE-27799](https://issues.apache.org/jira/browse/HBASE-27799) | RpcThrottlingException wait interval message is misleading between 0-1s | Major | . | +| [HBASE-27844](https://issues.apache.org/jira/browse/HBASE-27844) | changed type names to avoid conflicts with built-in types | Minor | build | +| [HBASE-27858](https://issues.apache.org/jira/browse/HBASE-27858) | Update surefire version to 3.0.0 and use the SurefireForkNodeFactory | Minor | test | +| [HBASE-27870](https://issues.apache.org/jira/browse/HBASE-27870) | Eliminate the 'WARNING: package jdk.internal.util.random not in java.base' when running UTs with jdk11 | Major | build, pom, test | +| [HBASE-27848](https://issues.apache.org/jira/browse/HBASE-27848) | Should fast-fail if unmatched column family exists when using ImportTsv | Major | mapreduce | +| [HBASE-27876](https://issues.apache.org/jira/browse/HBASE-27876) | Only generate SBOM when releasing | Minor | build, pom | +| [HBASE-27899](https://issues.apache.org/jira/browse/HBASE-27899) | Beautify the output information of the getStats method in ReplicationSource | Minor | Replication | +| [HBASE-27902](https://issues.apache.org/jira/browse/HBASE-27902) | New async admin api to invoke coproc on multiple servers | Major | . | +| [HBASE-27920](https://issues.apache.org/jira/browse/HBASE-27920) | Skipping compact for this region if the table disable compaction | Major | Compaction | +| [HBASE-27897](https://issues.apache.org/jira/browse/HBASE-27897) | ConnectionImplementation#locateRegionInMeta should pause and retry when taking user region lock failed | Major | Client | +| [HBASE-27906](https://issues.apache.org/jira/browse/HBASE-27906) | Fix the javadoc for SyncFutureCache | Minor | documentation | +| [HBASE-27956](https://issues.apache.org/jira/browse/HBASE-27956) | Support wall clock profiling in ProfilerServlet | Major | . | +| [HBASE-28012](https://issues.apache.org/jira/browse/HBASE-28012) | Avoid CellUtil.cloneRow in BufferedEncodedSeeker | Major | Offheaping, Performance | +| [HBASE-28025](https://issues.apache.org/jira/browse/HBASE-28025) | Enhance ByteBufferUtils.findCommonPrefix to compare 8 bytes each time | Major | Performance | +| [HBASE-28051](https://issues.apache.org/jira/browse/HBASE-28051) | The javadoc about RegionProcedureStore.delete is incorrect | Trivial | documentation | +| [HBASE-28052](https://issues.apache.org/jira/browse/HBASE-28052) | Removing the useless parameters from ProcedureExecutor.loadProcedures | Minor | proc-v2 | +| [HBASE-28038](https://issues.apache.org/jira/browse/HBASE-28038) | Add TLS settings to ZooKeeper client | Major | Zookeeper | +| [HBASE-28059](https://issues.apache.org/jira/browse/HBASE-28059) | Use correct units in RegionLoad#getStoreUncompressedSizeMB() | Major | Admin | +| [HBASE-28068](https://issues.apache.org/jira/browse/HBASE-28068) | Add hbase.normalizer.merge.merge\_request\_max\_number\_of\_regions property to limit max number of regions in a merge request for merge normalization | Minor | Normalizer | +| [HBASE-22138](https://issues.apache.org/jira/browse/HBASE-22138) | Undo our direct dependence on protos in google.protobuf.Any in Procedure.proto | Major | proc-v2, Protobufs | +| [HBASE-28135](https://issues.apache.org/jira/browse/HBA
svn commit: r69317 [1/5] - /dev/hbase/2.4.18RC0/
Author: zhangduo Date: Tue May 21 09:29:02 2024 New Revision: 69317 Log: Apache hbase 2.4.18RC0 Added: dev/hbase/2.4.18RC0/ dev/hbase/2.4.18RC0/CHANGES.md dev/hbase/2.4.18RC0/RELEASENOTES.md dev/hbase/2.4.18RC0/api_compare_2.4.17_to_2.4.18RC0.html dev/hbase/2.4.18RC0/hbase-2.4.18-bin.tar.gz (with props) dev/hbase/2.4.18RC0/hbase-2.4.18-bin.tar.gz.asc dev/hbase/2.4.18RC0/hbase-2.4.18-bin.tar.gz.sha512 dev/hbase/2.4.18RC0/hbase-2.4.18-client-bin.tar.gz (with props) dev/hbase/2.4.18RC0/hbase-2.4.18-client-bin.tar.gz.asc dev/hbase/2.4.18RC0/hbase-2.4.18-client-bin.tar.gz.sha512 dev/hbase/2.4.18RC0/hbase-2.4.18-src.tar.gz (with props) dev/hbase/2.4.18RC0/hbase-2.4.18-src.tar.gz.asc dev/hbase/2.4.18RC0/hbase-2.4.18-src.tar.gz.sha512
svn commit: r69317 [3/5] - /dev/hbase/2.4.18RC0/
Added: dev/hbase/2.4.18RC0/RELEASENOTES.md == --- dev/hbase/2.4.18RC0/RELEASENOTES.md (added) +++ dev/hbase/2.4.18RC0/RELEASENOTES.md Tue May 21 09:29:02 2024 @@ -0,0 +1,20385 @@ +# RELEASENOTES + +# HBASE 2.4.18 Release Notes + +These release notes cover new developer and user-facing incompatibilities, important issues, features, and major improvements. + + +--- + +* [HBASE-27762](https://issues.apache.org/jira/browse/HBASE-27762) | *Major* | **Include EventType and ProcedureV2 pid in logging via MDC** + + +Log the `o.a.h.hbase.executor.EventType` and ProcedureV2 pid in log messages via MDC. PatternLayouts on master and branch-2 have been updated to make use of the MDC variables. Note that due to LOG4J2-3660, log lines for which the MDC is empty will have extraneous characters. To opt-in on branch-2.5 or branch-2.4, make an appropriate change to `conf/log4j2.properties`. + + +--- + +* [HBASE-27799](https://issues.apache.org/jira/browse/HBASE-27799) | *Major* | **RpcThrottlingException wait interval message is misleading between 0-1s** + +The RpcThrottleException now includes millis in the message + + +--- + +* [HBASE-27956](https://issues.apache.org/jira/browse/HBASE-27956) | *Major* | **Support wall clock profiling in ProfilerServlet** + +You can now do wall clock profiling with async-profiler by specifying ?event=wall query param on the profiler servlet (/prof) + + +--- + +* [HBASE-28068](https://issues.apache.org/jira/browse/HBASE-28068) | *Minor* | **Add hbase.normalizer.merge.merge\_request\_max\_number\_of\_regions property to limit max number of regions in a merge request for merge normalization** + +Added a new property "hbase.normalizer.merge.merge\_request\_max\_number\_of\_regions" to limit the max number of region to be processed for merge request in a single merge normalisation. Defaults to 100 + + +--- + +* [HBASE-28168](https://issues.apache.org/jira/browse/HBASE-28168) | *Minor* | **Add option in RegionMover.java to isolate one or more regions on the RegionSever** + +This adds a new "isolate\_regions" operation to RegionMover, which allows operators to pass a list of region encoded ids to be "isolated" in the passed RegionServer. +Regions currently deployed in the RegionServer that are not in the passed list of regions would be moved to other RegionServers. Regions in the passed list that are currently on other RegionServers would be moved to the passed RegionServer. + +Please refer to the command help for further information. + + +--- + +* [HBASE-28204](https://issues.apache.org/jira/browse/HBASE-28204) | *Major* | **Region Canary can take lot more time If any region (except the first region) starts with delete markers** + +Canary is using Scan for first region of the table and Get for rest of the region. RAW Scan was only enabled for first region of any table. If a region has high number of deleted rows for the first row of the key-space, then It can take really long time for Get to finish execution. + +With this change, Region canary will use scan to validate that every region is accessible and also enables RAW Scan if it's enabled by the user. + + +--- + +* [HBASE-28444](https://issues.apache.org/jira/browse/HBASE-28444) | *Blocker* | **Bump org.apache.zookeeper:zookeeper from 3.8.3 to 3.8.4** + +Upgrade zookeeper to 3.8.4 for addressing CVE-2024-23944. + + +--- + +* [HBASE-28517](https://issues.apache.org/jira/browse/HBASE-28517) | *Major* | **Make properties dynamically configured** + +Make the following properties dynamically configured: +\* hbase.rs.evictblocksonclose +\* hbase.rs.cacheblocksonwrite +\* hbase.block.data.cacheonread + + +--- + +* [HBASE-28552](https://issues.apache.org/jira/browse/HBASE-28552) | *Major* | **Bump up bouncycastle dependency from 1.76 to 1.78** + +Bump bouncycastle dependency from 1.76 to 1.78 for addressing several CVEs + +CVE-2024-29857 +CVE-2024-30171 +CVE-2024-30172 +CVE-2024-301XX(Full CVE Code not available yet) + + + +# HBASE 2.4.17 Release Notes + +These release notes cover new developer and user-facing incompatibilities, important issues, features, and major improvements. + + +--- + +* [HBASE-27651](https://issues.apache.org/jira/browse/HBASE-27651) | *Minor* | **hbase-daemon.sh foreground\_start should propagate SIGHUP and SIGTERM** + + +Introduce separate `trap`s for SIGHUP vs. the rest. Treat `SIGINT`, `SIGKILL`, and `EXIT` identically, as before. Use the signal name without `SIG` prefix for increased portability, as per the POSIX man page for `trap`. + +`SIGTERM` handler will now honor `HBASE_STOP_TIMEOUT` as described in the file header. + + +--- + +* [HBASE-27741](https://issues.apache.org/jira/browse/HBASE-27741) | *Minor* | **Fall back to protoc osx-x86\_64 on Apple Silicon** + + +This change introduces and automatically applies a new profile for osx-aarch_64 hosts named `apple-silicon-workaround`. This profile overrides t
svn commit: r69317 [5/5] - /dev/hbase/2.4.18RC0/
Added: dev/hbase/2.4.18RC0/hbase-2.4.18-bin.tar.gz == Binary file - no diff available. Propchange: dev/hbase/2.4.18RC0/hbase-2.4.18-bin.tar.gz -- svn:mime-type = application/octet-stream Added: dev/hbase/2.4.18RC0/hbase-2.4.18-bin.tar.gz.asc == --- dev/hbase/2.4.18RC0/hbase-2.4.18-bin.tar.gz.asc (added) +++ dev/hbase/2.4.18RC0/hbase-2.4.18-bin.tar.gz.asc Tue May 21 09:29:02 2024 @@ -0,0 +1,16 @@ +-BEGIN PGP SIGNATURE- + +iQIzBAABCgAdFiEE5Uu+PpfPpIqvdkfnqskz15rSrkkFAmZMY9cACgkQqskz15rS +rklLrA//X+tQVJjs3B4ufYwBY1NOjRBDDIUBQv73ugxxC8q+72E6iBWlYnNrQy+f +pJvi+kI+jN3R57Jc/tktMJQnB/YiJ+TJ1Je+Egg/vFpBfb9I/PpeVj5R/i02Cdg4 +usxNfmGgDA6BfjOO6Oo7jHCczey9sdT0OqNn0oCY9qd49pbVfp4rUn9tV4KHVnKK +pTKagK9eLGAsZMqROcq+rhCq7EF4djn2n4ANIKVlzqJetWWNEs+QwTYzAS/NwTNh +lA5UPzZWnWxKgnuDxoj6W0brFFjR0aSNf/K7xlEUot1ireYo2NFvYDeq2Go1TYhF +dsJnCjok5AMKp0iiXQP4roSHGqeWBKBazMaUOjiIJVB2yAFVLO/uR7iCy3c+CGhI +eXpCOXrL7t0ntWxaT1fZ2GZaT5LyaXMvwJdX8kgNbQUScRbwCbPKjheX04nMBt+F +ROp5qNe2v4PEZ7CI78/Ri8aKD/k6flycj7ljFx7uxuWt4Np85Gg8n/yQmENJ03id +3f6ViNJVcD770R4zuaLaXmjcsi/RRULWXZKEhRz0R4VICJRf/xGno4SnpqiZVbeh +iGeC5TSeNJBR/bEtUTp8wnkRPGoHE3goMaseTRcw9R3ZxE1FqbyOnmOgYCkXJ4na +sX06GHQQ+Z1O4hUINqhQMGEeeFDWvOvlRtZDSa3waFCf6o4L7gw= +=TroJ +-END PGP SIGNATURE- Added: dev/hbase/2.4.18RC0/hbase-2.4.18-bin.tar.gz.sha512 == --- dev/hbase/2.4.18RC0/hbase-2.4.18-bin.tar.gz.sha512 (added) +++ dev/hbase/2.4.18RC0/hbase-2.4.18-bin.tar.gz.sha512 Tue May 21 09:29:02 2024 @@ -0,0 +1,3 @@ +hbase-2.4.18-bin.tar.gz: 1D90AA46 271D262A BBEBC6B8 07778353 A71743BE 5C30491B + EC7CCAFD 05F2ECF8 B3FF5C19 3ADDF28E FD8D0CAE 4E1748EE + 74FDEFD9 7FC8499C B1C163F5 A2EED48D Added: dev/hbase/2.4.18RC0/hbase-2.4.18-client-bin.tar.gz == Binary file - no diff available. Propchange: dev/hbase/2.4.18RC0/hbase-2.4.18-client-bin.tar.gz -- svn:mime-type = application/octet-stream Added: dev/hbase/2.4.18RC0/hbase-2.4.18-client-bin.tar.gz.asc == --- dev/hbase/2.4.18RC0/hbase-2.4.18-client-bin.tar.gz.asc (added) +++ dev/hbase/2.4.18RC0/hbase-2.4.18-client-bin.tar.gz.asc Tue May 21 09:29:02 2024 @@ -0,0 +1,16 @@ +-BEGIN PGP SIGNATURE- + +iQIzBAABCgAdFiEE5Uu+PpfPpIqvdkfnqskz15rSrkkFAmZMY9kACgkQqskz15rS +rknXiQ//eNQg3dqwN1nnt0YNJNB9fC7yzDDc/BGk6LXyi3o4tbgFDD7MLXFAeSUh +FkLzgppmxnT/lOZvE6plRh61QGxh6V1U7Fc9m3ZxXjCOTHYNGxxNxeoQQr8a8tdS +THPBVGbOHXH/Qe52W1YSH0WVN1L7rOgf+E+F+9I5XBEmgF+Hnnuxl5AIVscyDq9t +EHYmWT5JrULBk8X/tit5+NFk7gYsgbtl6Jfu1MT/NdNFLs5m00Dl1V6FMFzQavGk +cewO4FjyFhZDKB3Hqt1Oq4rH4t4snB5y/AyhUXVpVPpchX/w8C0u4HMIGN70np3/ +ETqgpjgxkfEWNfrpi/+HhsBKqdKhzLTrGe0vIg9OhCV/pPTeXm2tX0V+AgBA/zid +/scdl0ypU/UyxwAKAA3W4pe6f4k3LIsZXTeavP9gZOVMoByrHWlxt7SoKjT+LltO +IZE+W1SPzFmMioZwhw2VN36ZuR64poFLxOPv57ggrpHbnxkojjeFdMHzEC3qJBz8 +24bYQycxe0WjWqn3Ahm8pXx2ji40lTE3thm8bSDD3tboN3Faa4HVaoNjVRdt4Vh7 +i4WltjstSJgcavcbwiZ0Bqe2zVMRpug03NZPH8rD25MCWhk8qQzfT/pkeOIqqZh/ +rnYyjtOansV1dfve4TSdSO3zlRhVEVau8ff/KFfn7hF4wDjFZtM= +=Ak2X +-END PGP SIGNATURE- Added: dev/hbase/2.4.18RC0/hbase-2.4.18-client-bin.tar.gz.sha512 == --- dev/hbase/2.4.18RC0/hbase-2.4.18-client-bin.tar.gz.sha512 (added) +++ dev/hbase/2.4.18RC0/hbase-2.4.18-client-bin.tar.gz.sha512 Tue May 21 09:29:02 2024 @@ -0,0 +1,4 @@ +hbase-2.4.18-client-bin.tar.gz: A5F41725 DDD1A248 6448A191 6EAB9765 80CBEC05 +9EDAEE9E 2654AEBA 60EEA09C 558F73C5 05B8CE4A +0AA32952 19800087 8CCB04BE BFBC3E21 3F8878B1 +9EB3BCC4 Added: dev/hbase/2.4.18RC0/hbase-2.4.18-src.tar.gz == Binary file - no diff available. Propchange: dev/hbase/2.4.18RC0/hbase-2.4.18-src.tar.gz -- svn:mime-type = application/octet-stream Added: dev/hbase/2.4.18RC0/hbase-2.4.18-src.tar.gz.asc == --- dev/hbase/2.4.18RC0/hbase-2.4.18-src.tar.gz.asc (added) +++ dev/hbase/2.4.18RC0/hbase-2.4.18-src.tar.gz.asc Tue May 21 09:29:02 2024 @@ -0,0 +1,16 @@ +-BEGIN PGP SIGNATURE- + +iQIzBAABCgAdFiEE5Uu+PpfPpIqvdkfnqskz15rSrkkFAmZMXmsACgkQqskz15rS +rkkqNw/+MHmWhx7g1xq+RKdX2FllTRwReHKj98Rsj3S1/xO7UBudxT+eT/s5sxoH +FYI3Q3CJsRVY87o4Us44jm+xSl+Qbhm9P2GyWsEEtzCGBb1z6Qg+x/vi8y58pxKh +rAIEEOJUxCNwIQd3+u
svn commit: r69317 [4/5] - /dev/hbase/2.4.18RC0/
Added: dev/hbase/2.4.18RC0/api_compare_2.4.17_to_2.4.18RC0.html == --- dev/hbase/2.4.18RC0/api_compare_2.4.17_to_2.4.18RC0.html (added) +++ dev/hbase/2.4.18RC0/api_compare_2.4.17_to_2.4.18RC0.html Tue May 21 09:29:02 2024 @@ -0,0 +1,4109 @@ + + +http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> +http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> + + + + + +hbase: rel/2.4.17 to 2.4.18RC0 compatibility report + +body { +font-family:Arial, sans-serif; +background-color:White; +color:Black; +} +hr { +color:Black; +background-color:Black; +height:1px; +border:0; +} +h1 { +margin-bottom:0px; +padding-bottom:0px; +font-size:1.625em; +} +h2 { +margin-bottom:0px; +padding-bottom:0px; +font-size:1.25em; +white-space:nowrap; +} +div.symbols { +color:#003E69; +} +div.symbols i { +color:Brown; +} +span.section { +font-weight:bold; +cursor:pointer; +color:#003E69; +white-space:nowrap; +margin-left:0.3125em; +} +span:hover.section { +color:#336699; +} +span.sect_aff { +cursor:pointer; +padding-left:1.55em; +font-size:0.875em; +color:#cc3300; +} +span.ext { +font-weight:normal; +} +span.jar { +color:#cc3300; +font-size:0.875em; +font-weight:bold; +} +div.jar_list { +padding-left:0.4em; +font-size:0.94em; +} +span.pkg_t { +color:#408080; +font-size:0.875em; +} +span.pkg { +color:#408080; +font-size:0.875em; +font-weight:bold; +} +span.cname { +color:Green; +font-size:0.875em; +font-weight:bold; +} +span.iname_b { +font-weight:bold; +} +span.iname_a { +color:#33; +font-weight:bold; +font-size:0.94em; +} +span.sym_p { +font-weight:normal; +white-space:normal; +} +span.sym_pd { +white-space:normal; +} +span.sym_p span, span.sym_pd span { +white-space:nowrap; +} +span.attr { +color:Black; +font-weight:normal; +} +span.deprecated { +color:Red; +font-weight:bold; +font-family:Monaco, monospace; +} +div.affect { +padding-left:1em; +padding-bottom:10px; +font-size:0.87em; +font-style:italic; +line-height:0.9em; +} +div.affected { +padding-left:2em; +padding-top:10px; +} +table.ptable { +border-collapse:collapse; +border:1px outset black; +margin-left:0.95em; +margin-top:3px; +margin-bottom:3px; +width:56.25em; +} +table.ptable td { +border:1px solid Gray; +padding:3px; +font-size:0.875em; +text-align:left; +vertical-align:top; +max-width:28em; +word-wrap:break-word; +} +table.ptable th { +background-color:#ee; +font-weight:bold; +color:#33; +font-family:Verdana, Arial; +font-size:0.875em; +border:1px solid Gray; +text-align:center; +vertical-align:top; +white-space:nowrap; +padding:3px; +} +table.summary { +border-collapse:collapse; +border:1px outset black; +} +table.summary th { +background-color:#ee; +font-weight:normal; +text-align:left; +font-size:0.94em; +white-space:nowrap; +border:1px inset Gray; +padding:3px; +} +table.summary td { +text-align:right; +white-space:nowrap; +border:1px inset Gray; +padding:3px 5px 3px 10px; +} +span.mngl { +padding-left:1em; +font-size:0.875em; +cursor:text; +color:#44; +font-weight:bold; +} +span.pleft { +padding-left:2.5em; +} +span.color_p { +font-style:italic; +color:Brown; +} +span.param { +font-style:italic; +} +span.focus_p { +font-style:italic; +background-color:#DCDCDC; +} +span.ttype { +font-weight:normal; +} +span.nowrap { +white-space:nowrap; +} +span.value { +white-space:nowrap; +font-weight:bold; +} +.passed { +background-color:#CCFFCC; +font-weight:normal; +} +.warning { +background-color:#F4F4AF; +font-weight:normal; +} +.failed { +background-color:#FF; +font-weight:normal; +} +.new { +background-color:#C6DEFF; +font-weight:normal; +} + +.compatible { +background-color:#CCFFCC; +font-weight:normal; +} +.almost_compatible { +background-color:#FFDAA3; +font-weight:normal; +} +.incompatible { +background-color:#FF; +font-weight:normal; +} +.gray { +background-color:#DCDCDC; +font-weight:normal; +} + +.top_ref { +font-size:0.69em; +} +.footer { +font-size:0.8125em; +} +.tabset { +float:left; +} +a.tab { +border:1px solid Black; +float:left; +margin:0px 5px -1px 0px; +padding:3px 5px 3px 5px; +position:relative; +font-size:0.875em; +background-color:#DDD; +text-decoration:none; +color:Black; +} +a.disabled:hover +{ +color:Black; +background:#EEE; +} +a.active:hover +{ +color:Black; +background:White; +} +a.active { +border-bottom-color:White; +background-color:White; +} +div.tab { +border-to
(hbase) 01/01: Preparing development version 2.4.19-SNAPSHOT
This is an automated email from the ASF dual-hosted git repository. zhangduo pushed a commit to branch branch-2.4 in repository https://gitbox.apache.org/repos/asf/hbase.git commit 940331cb1b661479545061ee5e3bcab44370e449 Author: Duo Zhang AuthorDate: Tue May 21 08:41:13 2024 + Preparing development version 2.4.19-SNAPSHOT Signed-off-by: Duo Zhang --- hbase-annotations/pom.xml | 2 +- hbase-archetypes/hbase-archetype-builder/pom.xml | 2 +- hbase-archetypes/hbase-client-project/pom.xml | 2 +- hbase-archetypes/hbase-shaded-client-project/pom.xml | 2 +- hbase-archetypes/pom.xml | 2 +- hbase-assembly/pom.xml | 2 +- hbase-asyncfs/pom.xml | 2 +- hbase-build-configuration/pom.xml | 2 +- hbase-checkstyle/pom.xml | 4 ++-- hbase-client/pom.xml | 2 +- hbase-common/pom.xml | 2 +- hbase-endpoint/pom.xml | 2 +- hbase-examples/pom.xml | 2 +- hbase-external-blockcache/pom.xml | 2 +- hbase-hadoop-compat/pom.xml| 2 +- hbase-hadoop2-compat/pom.xml | 2 +- hbase-hbtop/pom.xml| 2 +- hbase-http/pom.xml | 2 +- hbase-it/pom.xml | 2 +- hbase-logging/pom.xml | 2 +- hbase-mapreduce/pom.xml| 2 +- hbase-metrics-api/pom.xml | 2 +- hbase-metrics/pom.xml | 2 +- hbase-procedure/pom.xml| 2 +- hbase-protocol-shaded/pom.xml | 2 +- hbase-protocol/pom.xml | 2 +- hbase-replication/pom.xml | 2 +- hbase-resource-bundle/pom.xml | 2 +- hbase-rest/pom.xml | 2 +- hbase-rsgroup/pom.xml | 2 +- hbase-server/pom.xml | 2 +- hbase-shaded/hbase-shaded-check-invariants/pom.xml | 2 +- hbase-shaded/hbase-shaded-client-byo-hadoop/pom.xml| 2 +- hbase-shaded/hbase-shaded-client/pom.xml | 2 +- hbase-shaded/hbase-shaded-mapreduce/pom.xml| 2 +- hbase-shaded/hbase-shaded-testing-util-tester/pom.xml | 2 +- hbase-shaded/hbase-shaded-testing-util/pom.xml | 2 +- hbase-shaded/hbase-shaded-with-hadoop-check-invariants/pom.xml | 2 +- hbase-shaded/pom.xml | 2 +- hbase-shell/pom.xml| 2 +- hbase-testing-util/pom.xml | 2 +- hbase-thrift/pom.xml | 2 +- hbase-zookeeper/pom.xml| 2 +- pom.xml| 2 +- 44 files changed, 45 insertions(+), 45 deletions(-) diff --git a/hbase-annotations/pom.xml b/hbase-annotations/pom.xml index dea211da2ae..c38daf3b116 100644 --- a/hbase-annotations/pom.xml +++ b/hbase-annotations/pom.xml @@ -23,7 +23,7 @@ org.apache.hbase hbase -2.4.18 +2.4.19-SNAPSHOT .. diff --git a/hbase-archetypes/hbase-archetype-builder/pom.xml b/hbase-archetypes/hbase-archetype-builder/pom.xml index 8577192e105..d534137ae93 100644 --- a/hbase-archetypes/hbase-archetype-builder/pom.xml +++ b/hbase-archetypes/hbase-archetype-builder/pom.xml @@ -24,7 +24,7 @@ org.apache.hbase hbase-archetypes -2.4.18 +2.4.19-SNAPSHOT .. diff --git a/hbase-archetypes/hbase-client-project/pom.xml b/hbase-archetypes/hbase-client-project/pom.xml index cf4479ef328..e80e7deadc3 100644 --- a/hbase-archetypes/hbase-client-project/pom.xml +++ b/hbase-archetypes/hbase-client-project/pom.xml @@ -23,7 +23,7 @@ org.apache.hbase hbase-archetypes -2.4.18 +2.4.19-SNAPSHOT .. hbase-client-project diff --git a/hbase-archetypes/hbase-shaded-client-project/pom.xml b/hbase-archetypes/hbase-shaded-client-project/pom.xml index 4c89731ff40..f1eee5b5b42 100644 --- a/hbase-archetypes/hbase-shaded-client-project/pom.xml +++ b/hbase-archetypes/hbase-shaded-client-project/pom.xml @@ -23,7 +23,7 @@ org.apache.hbase hbase-archetypes -2.4.18 +2.4.19-SNAPSHOT .. hbase-shaded-client-
(hbase) branch branch-2.4 updated (4c8cac07d54 -> 940331cb1b6)
This is an automated email from the ASF dual-hosted git repository. zhangduo pushed a change to branch branch-2.4 in repository https://gitbox.apache.org/repos/asf/hbase.git from 4c8cac07d54 HBASE-28607 Bump requests from 2.31.0 to 2.32.0 in /dev-support/flaky-tests (#5929) add a1767f4d768 Preparing hbase release 2.4.18RC0; tagging and updates to CHANGES.md and RELEASENOTES.md new 940331cb1b6 Preparing development version 2.4.19-SNAPSHOT The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: CHANGES.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
(hbase) annotated tag 2.4.18RC0 created (now 0acf740232e)
This is an automated email from the ASF dual-hosted git repository. zhangduo pushed a change to annotated tag 2.4.18RC0 in repository https://gitbox.apache.org/repos/asf/hbase.git at 0acf740232e (tag) tagging a1767f4d76859c0068720a6c1e5cb78282ebfe1e (commit) replaces 2.4.17RC0 by Duo Zhang on Tue May 21 08:40:44 2024 + - Log - Via create-release -BEGIN PGP SIGNATURE- iQIzBAABCgAdFiEE5Uu+PpfPpIqvdkfnqskz15rSrkkFAmZMXgwACgkQqskz15rS rknsRQ/+L4V3ywnugTttDNPukoKG58VPfcTT21+H3tmm/sJZne9wBy+I1v25kHC9 RpgEeHs4dnYCYgCNNUc8DL2KiYMPch0YI09mUieeF6jJ4ttEexINr5loC3pI71uZ tbNO2+GVEuEIP0BGOcuQH5dGStOQmyt6t76Yt5Jr66Zo8SYR0ct75kntkfjzzzKJ eXWjKyVF2GlKQ29Syb0qcY0xnCLWIWBNEz9HxPGdosnRgMYzbh98KzrJgqhp/ElH CdizlUBz9FcCaI3VItX8VDemgirdwuna1e5FqcNCnvG2WSuFHZLph38n7BVL+qAp caUuFpzghU0MXYhXyS3oZhIRVJ7ZjKYEMcN04CZIv2CWy6NSq+06ZCrMBnuE02er SKFf5D156ihxLn01mv55lzKjrUytt9j8XTnitu41y5SqnQLxndAy4tMUwQDmzfjz KWPYrv+HrSIBxbCWKGQXADBsIjdzdctdmPOse3HSqQlDcsLk51MvgB2VE6S1NZEA Ucfy/VqGR0tvLb27uspAySojAdWkPuYQBmA5nQE/myB+7fdX+wfWeOg7ZbHSYTHg 1fRrAvmXvW6B3veQ2OotxsAx8Tp1OJ5NPOy8iHhqaj417z8AAQbsFbalkK1uIMZ1 TkITUdJo3ZRZBg9I0n48PbxxzroCMphlwl9lfQNamKnxO2zlHQc= =1hyf -END PGP SIGNATURE- --- This annotated tag includes the following new commits: new a1767f4d768 Preparing hbase release 2.4.18RC0; tagging and updates to CHANGES.md and RELEASENOTES.md The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
(hbase) 01/01: Preparing hbase release 2.4.18RC0; tagging and updates to CHANGES.md and RELEASENOTES.md
This is an automated email from the ASF dual-hosted git repository. zhangduo pushed a commit to annotated tag 2.4.18RC0 in repository https://gitbox.apache.org/repos/asf/hbase.git commit a1767f4d76859c0068720a6c1e5cb78282ebfe1e Author: Duo Zhang AuthorDate: Tue May 21 08:40:44 2024 + Preparing hbase release 2.4.18RC0; tagging and updates to CHANGES.md and RELEASENOTES.md Signed-off-by: Duo Zhang --- CHANGES.md | 4 +++- hbase-annotations/pom.xml | 2 +- hbase-archetypes/hbase-archetype-builder/pom.xml | 2 +- hbase-archetypes/hbase-client-project/pom.xml | 2 +- hbase-archetypes/hbase-shaded-client-project/pom.xml | 2 +- hbase-archetypes/pom.xml | 2 +- hbase-assembly/pom.xml | 2 +- hbase-asyncfs/pom.xml | 2 +- hbase-build-configuration/pom.xml | 2 +- hbase-checkstyle/pom.xml | 4 ++-- hbase-client/pom.xml | 2 +- hbase-common/pom.xml | 2 +- hbase-endpoint/pom.xml | 2 +- hbase-examples/pom.xml | 2 +- hbase-external-blockcache/pom.xml | 2 +- hbase-hadoop-compat/pom.xml| 2 +- hbase-hadoop2-compat/pom.xml | 2 +- hbase-hbtop/pom.xml| 2 +- hbase-http/pom.xml | 2 +- hbase-it/pom.xml | 2 +- hbase-logging/pom.xml | 2 +- hbase-mapreduce/pom.xml| 2 +- hbase-metrics-api/pom.xml | 2 +- hbase-metrics/pom.xml | 2 +- hbase-procedure/pom.xml| 2 +- hbase-protocol-shaded/pom.xml | 2 +- hbase-protocol/pom.xml | 2 +- hbase-replication/pom.xml | 2 +- hbase-resource-bundle/pom.xml | 2 +- hbase-rest/pom.xml | 2 +- hbase-rsgroup/pom.xml | 2 +- hbase-server/pom.xml | 2 +- hbase-shaded/hbase-shaded-check-invariants/pom.xml | 2 +- hbase-shaded/hbase-shaded-client-byo-hadoop/pom.xml| 2 +- hbase-shaded/hbase-shaded-client/pom.xml | 2 +- hbase-shaded/hbase-shaded-mapreduce/pom.xml| 2 +- hbase-shaded/hbase-shaded-testing-util-tester/pom.xml | 2 +- hbase-shaded/hbase-shaded-testing-util/pom.xml | 2 +- hbase-shaded/hbase-shaded-with-hadoop-check-invariants/pom.xml | 2 +- hbase-shaded/pom.xml | 2 +- hbase-shell/pom.xml| 2 +- hbase-testing-util/pom.xml | 2 +- hbase-thrift/pom.xml | 2 +- hbase-zookeeper/pom.xml| 2 +- pom.xml| 2 +- 45 files changed, 48 insertions(+), 46 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index afcf88f3804..2227cc158c6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -18,7 +18,7 @@ --> # HBASE Changelog -## Release 2.4.18 - Unreleased (as of 2024-05-18) +## Release 2.4.18 - Unreleased (as of 2024-05-21) @@ -176,6 +176,7 @@ | [HBASE-28575](https://issues.apache.org/jira/browse/HBASE-28575) | Always printing error log when snapshot table | Minor | snapshots | | [HBASE-28598](https://issues.apache.org/jira/browse/HBASE-28598) | NPE for writer object access in AsyncFSWAL#closeWriter | Major | wal | | [HBASE-28595](https://issues.apache.org/jira/browse/HBASE-28595) | Losing exception from scan RPC can lead to partial results | Critical | regionserver, Scanners | +| [HBASE-28599](https://issues.apache.org/jira/browse/HBASE-28599) | RowTooBigException is thrown when duplicate increment RPC call is attempted | Major | regionserver | ### TESTS: @@ -239,6 +240,7 @@ | [HBASE-28333](https://issues.apache.org/jira/browse/HBASE-28333) | Refactor TestClientTimeouts to make it more clear that what we want to test | Major | Client, test | | [HBASE-28444](https://issues.apache.org/jira/browse/HBASE-28444) | Bump org.apache.zookeeper:zookeeper from 3.8.3 to 3.8.4 | Blocker | security, Zookeeper | | [HBASE-28574](https://issues.apache.
(hbase) annotated tag 2.4.18RC0 deleted (was 86f83cc15ea)
This is an automated email from the ASF dual-hosted git repository. zhangduo pushed a change to annotated tag 2.4.18RC0 in repository https://gitbox.apache.org/repos/asf/hbase.git *** WARNING: tag 2.4.18RC0 was deleted! *** tag was 86f83cc15ea The revisions that were on this annotated tag are still contained in other references; therefore, this change does not discard any commits from the repository.
svn commit: r69316 - in /dev/hbase: 2.4.18RC0/ 2.6.0RC1/ 2.6.0RC2/ 2.6.0RC3/
Author: zhangduo Date: Tue May 21 08:32:18 2024 New Revision: 69316 Log: remove unused RCs Removed: dev/hbase/2.4.18RC0/ dev/hbase/2.6.0RC1/ dev/hbase/2.6.0RC2/ dev/hbase/2.6.0RC3/
(hbase) branch branch-2.6 updated: HBASE-26525 Use unique thread name for group WALs (#3903) (#5896)
This is an automated email from the ASF dual-hosted git repository. zhangduo pushed a commit to branch branch-2.6 in repository https://gitbox.apache.org/repos/asf/hbase.git The following commit(s) were added to refs/heads/branch-2.6 by this push: new f5d78821fe0 HBASE-26525 Use unique thread name for group WALs (#3903) (#5896) f5d78821fe0 is described below commit f5d78821fe052dae2be2227fa663f324e6880f44 Author: szucsvillo <81696283+szucsvi...@users.noreply.github.com> AuthorDate: Tue May 21 10:29:22 2024 +0200 HBASE-26525 Use unique thread name for group WALs (#3903) (#5896) Change-Id: Ib048d06ca13db9817fa89603fb0ac5339240435a Co-authored-by: haxiaolin Signed-off-by: Duo Zhang --- .../java/org/apache/hadoop/hbase/regionserver/wal/AsyncFSWAL.java | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AsyncFSWAL.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AsyncFSWAL.java index f13160a549a..c4ccb21d2a7 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AsyncFSWAL.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AsyncFSWAL.java @@ -234,9 +234,11 @@ public class AsyncFSWAL extends AbstractFSWAL { hasConsumerTask = () -> false; } } else { - ThreadPoolExecutor threadPool = new ThreadPoolExecutor(1, 1, 0L, TimeUnit.MILLISECONDS, -new LinkedBlockingQueue(), new ThreadFactoryBuilder() - .setNameFormat("AsyncFSWAL-%d-" + rootDir.toString()).setDaemon(true).build()); + ThreadPoolExecutor threadPool = +new ThreadPoolExecutor(1, 1, 0L, TimeUnit.MILLISECONDS, new LinkedBlockingQueue(), + new ThreadFactoryBuilder().setNameFormat("AsyncFSWAL-%d-" + rootDir.toString() ++ "-prefix:" + (prefix == null ? "default" : prefix).replace("%", "%%")).setDaemon(true) +.build()); hasConsumerTask = () -> threadPool.getQueue().peek() == consumer; this.consumeExecutor = threadPool; }
(hbase) branch branch-2.5 updated: HBASE-26525 Use unique thread name for group WALs (#3903)(#5895)
This is an automated email from the ASF dual-hosted git repository. zhangduo pushed a commit to branch branch-2.5 in repository https://gitbox.apache.org/repos/asf/hbase.git The following commit(s) were added to refs/heads/branch-2.5 by this push: new c7248ab5e4b HBASE-26525 Use unique thread name for group WALs (#3903)(#5895) c7248ab5e4b is described below commit c7248ab5e4bccb8737a09739cd94eb020a632238 Author: szucsvillo <81696283+szucsvi...@users.noreply.github.com> AuthorDate: Tue May 21 10:28:45 2024 +0200 HBASE-26525 Use unique thread name for group WALs (#3903)(#5895) Change-Id: I351a7dcc8da8620ef472753f1bbdbb5a209276cf Co-authored-by: haxiaolin Signed-off-by: Duo Zhang --- .../java/org/apache/hadoop/hbase/regionserver/wal/AsyncFSWAL.java | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AsyncFSWAL.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AsyncFSWAL.java index f13160a549a..c4ccb21d2a7 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AsyncFSWAL.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AsyncFSWAL.java @@ -234,9 +234,11 @@ public class AsyncFSWAL extends AbstractFSWAL { hasConsumerTask = () -> false; } } else { - ThreadPoolExecutor threadPool = new ThreadPoolExecutor(1, 1, 0L, TimeUnit.MILLISECONDS, -new LinkedBlockingQueue(), new ThreadFactoryBuilder() - .setNameFormat("AsyncFSWAL-%d-" + rootDir.toString()).setDaemon(true).build()); + ThreadPoolExecutor threadPool = +new ThreadPoolExecutor(1, 1, 0L, TimeUnit.MILLISECONDS, new LinkedBlockingQueue(), + new ThreadFactoryBuilder().setNameFormat("AsyncFSWAL-%d-" + rootDir.toString() ++ "-prefix:" + (prefix == null ? "default" : prefix).replace("%", "%%")).setDaemon(true) +.build()); hasConsumerTask = () -> threadPool.getQueue().peek() == consumer; this.consumeExecutor = threadPool; }
(hbase) branch branch-2 updated: HBASE-26525 Use unique thread name for group WALs (#3903)(#5894)
This is an automated email from the ASF dual-hosted git repository. zhangduo pushed a commit to branch branch-2 in repository https://gitbox.apache.org/repos/asf/hbase.git The following commit(s) were added to refs/heads/branch-2 by this push: new 54f14bdd49d HBASE-26525 Use unique thread name for group WALs (#3903)(#5894) 54f14bdd49d is described below commit 54f14bdd49d4ef401103ea1274e19ddad95f9e76 Author: szucsvillo <81696283+szucsvi...@users.noreply.github.com> AuthorDate: Tue May 21 10:28:10 2024 +0200 HBASE-26525 Use unique thread name for group WALs (#3903)(#5894) Change-Id: I9a8107c73b5efdc7e958953024a2af9bdb534265 Co-authored-by: haxiaolin Signed-off-by: Duo Zhang --- .../java/org/apache/hadoop/hbase/regionserver/wal/AsyncFSWAL.java | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AsyncFSWAL.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AsyncFSWAL.java index f13160a549a..c4ccb21d2a7 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AsyncFSWAL.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AsyncFSWAL.java @@ -234,9 +234,11 @@ public class AsyncFSWAL extends AbstractFSWAL { hasConsumerTask = () -> false; } } else { - ThreadPoolExecutor threadPool = new ThreadPoolExecutor(1, 1, 0L, TimeUnit.MILLISECONDS, -new LinkedBlockingQueue(), new ThreadFactoryBuilder() - .setNameFormat("AsyncFSWAL-%d-" + rootDir.toString()).setDaemon(true).build()); + ThreadPoolExecutor threadPool = +new ThreadPoolExecutor(1, 1, 0L, TimeUnit.MILLISECONDS, new LinkedBlockingQueue(), + new ThreadFactoryBuilder().setNameFormat("AsyncFSWAL-%d-" + rootDir.toString() ++ "-prefix:" + (prefix == null ? "default" : prefix).replace("%", "%%")).setDaemon(true) +.build()); hasConsumerTask = () -> threadPool.getQueue().peek() == consumer; this.consumeExecutor = threadPool; }
(hbase) branch branch-2.6 updated: HBASE-28607 Bump requests from 2.31.0 to 2.32.0 in /dev-support/flaky-tests (#5929)
This is an automated email from the ASF dual-hosted git repository. zhangduo pushed a commit to branch branch-2.6 in repository https://gitbox.apache.org/repos/asf/hbase.git The following commit(s) were added to refs/heads/branch-2.6 by this push: new e91858d6461 HBASE-28607 Bump requests from 2.31.0 to 2.32.0 in /dev-support/flaky-tests (#5929) e91858d6461 is described below commit e91858d64618d75185dd73a2a3c105a77564975c Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Tue May 21 16:22:38 2024 +0800 HBASE-28607 Bump requests from 2.31.0 to 2.32.0 in /dev-support/flaky-tests (#5929) updated-dependencies: - dependency-name: requests dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Duo Zhang (cherry picked from commit d85574aa1f456cdd839ed4bd3e9d8c23a89fac0c) --- dev-support/python-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-support/python-requirements.txt b/dev-support/python-requirements.txt index 5269993fb9b..73b7c8e1160 100644 --- a/dev-support/python-requirements.txt +++ b/dev-support/python-requirements.txt @@ -15,7 +15,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -requests==2.31.0 +requests==2.32.0 future==0.18.3 gitpython==3.1.41 rbtools==4.0
(hbase) branch branch-2.5 updated: HBASE-28607 Bump requests from 2.31.0 to 2.32.0 in /dev-support/flaky-tests (#5929)
This is an automated email from the ASF dual-hosted git repository. zhangduo pushed a commit to branch branch-2.5 in repository https://gitbox.apache.org/repos/asf/hbase.git The following commit(s) were added to refs/heads/branch-2.5 by this push: new 709035dc204 HBASE-28607 Bump requests from 2.31.0 to 2.32.0 in /dev-support/flaky-tests (#5929) 709035dc204 is described below commit 709035dc204184c6b100c0cdb9782a57dffc5a8c Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Tue May 21 16:22:38 2024 +0800 HBASE-28607 Bump requests from 2.31.0 to 2.32.0 in /dev-support/flaky-tests (#5929) updated-dependencies: - dependency-name: requests dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Duo Zhang (cherry picked from commit d85574aa1f456cdd839ed4bd3e9d8c23a89fac0c) --- dev-support/python-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-support/python-requirements.txt b/dev-support/python-requirements.txt index 5269993fb9b..73b7c8e1160 100644 --- a/dev-support/python-requirements.txt +++ b/dev-support/python-requirements.txt @@ -15,7 +15,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -requests==2.31.0 +requests==2.32.0 future==0.18.3 gitpython==3.1.41 rbtools==4.0
(hbase) branch branch-2 updated: HBASE-28607 Bump requests from 2.31.0 to 2.32.0 in /dev-support/flaky-tests (#5929)
This is an automated email from the ASF dual-hosted git repository. zhangduo pushed a commit to branch branch-2 in repository https://gitbox.apache.org/repos/asf/hbase.git The following commit(s) were added to refs/heads/branch-2 by this push: new a660974ba15 HBASE-28607 Bump requests from 2.31.0 to 2.32.0 in /dev-support/flaky-tests (#5929) a660974ba15 is described below commit a660974ba1597e5cb45a02b1b1e3d49f82f5d12f Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Tue May 21 16:22:38 2024 +0800 HBASE-28607 Bump requests from 2.31.0 to 2.32.0 in /dev-support/flaky-tests (#5929) updated-dependencies: - dependency-name: requests dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Duo Zhang (cherry picked from commit d85574aa1f456cdd839ed4bd3e9d8c23a89fac0c) --- dev-support/python-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-support/python-requirements.txt b/dev-support/python-requirements.txt index 5269993fb9b..73b7c8e1160 100644 --- a/dev-support/python-requirements.txt +++ b/dev-support/python-requirements.txt @@ -15,7 +15,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -requests==2.31.0 +requests==2.32.0 future==0.18.3 gitpython==3.1.41 rbtools==4.0
(hbase) branch branch-3 updated: HBASE-28607 Bump requests from 2.31.0 to 2.32.0 in /dev-support/flaky-tests (#5929)
This is an automated email from the ASF dual-hosted git repository. zhangduo pushed a commit to branch branch-3 in repository https://gitbox.apache.org/repos/asf/hbase.git The following commit(s) were added to refs/heads/branch-3 by this push: new cdb79ea5d81 HBASE-28607 Bump requests from 2.31.0 to 2.32.0 in /dev-support/flaky-tests (#5929) cdb79ea5d81 is described below commit cdb79ea5d8125e4c070bee7d71cb53df07ff0113 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Tue May 21 16:22:38 2024 +0800 HBASE-28607 Bump requests from 2.31.0 to 2.32.0 in /dev-support/flaky-tests (#5929) updated-dependencies: - dependency-name: requests dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Duo Zhang (cherry picked from commit d85574aa1f456cdd839ed4bd3e9d8c23a89fac0c) --- dev-support/flaky-tests/python-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-support/flaky-tests/python-requirements.txt b/dev-support/flaky-tests/python-requirements.txt index 5269993fb9b..73b7c8e1160 100644 --- a/dev-support/flaky-tests/python-requirements.txt +++ b/dev-support/flaky-tests/python-requirements.txt @@ -15,7 +15,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -requests==2.31.0 +requests==2.32.0 future==0.18.3 gitpython==3.1.41 rbtools==4.0
(hbase) branch branch-2.4 updated: HBASE-28607 Bump requests from 2.31.0 to 2.32.0 in /dev-support/flaky-tests (#5929)
This is an automated email from the ASF dual-hosted git repository. zhangduo pushed a commit to branch branch-2.4 in repository https://gitbox.apache.org/repos/asf/hbase.git The following commit(s) were added to refs/heads/branch-2.4 by this push: new 4c8cac07d54 HBASE-28607 Bump requests from 2.31.0 to 2.32.0 in /dev-support/flaky-tests (#5929) 4c8cac07d54 is described below commit 4c8cac07d54cccf38dd007fa9823b3d234379456 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Tue May 21 16:22:38 2024 +0800 HBASE-28607 Bump requests from 2.31.0 to 2.32.0 in /dev-support/flaky-tests (#5929) updated-dependencies: - dependency-name: requests dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Duo Zhang (cherry picked from commit d85574aa1f456cdd839ed4bd3e9d8c23a89fac0c) --- dev-support/python-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-support/python-requirements.txt b/dev-support/python-requirements.txt index 5269993fb9b..73b7c8e1160 100644 --- a/dev-support/python-requirements.txt +++ b/dev-support/python-requirements.txt @@ -15,7 +15,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -requests==2.31.0 +requests==2.32.0 future==0.18.3 gitpython==3.1.41 rbtools==4.0
(hbase) branch dependabot/pip/dev-support/flaky-tests/requests-2.32.0 deleted (was 305a0483524)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/pip/dev-support/flaky-tests/requests-2.32.0 in repository https://gitbox.apache.org/repos/asf/hbase.git was 305a0483524 --- updated-dependencies: - dependency-name: requests dependency-type: direct:production ... The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
(hbase) branch master updated (8a5337b3e43 -> d85574aa1f4)
This is an automated email from the ASF dual-hosted git repository. zhangduo pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/hbase.git from 8a5337b3e43 HBASE-28501 Support non-SPNEGO authentication methods and implement session handling in REST java client library (addendum: revert incompatible API change) (#5928) add d85574aa1f4 HBASE-28607 Bump requests from 2.31.0 to 2.32.0 in /dev-support/flaky-tests (#5929) No new revisions were added by this update. Summary of changes: dev-support/flaky-tests/python-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
(hbase) branch branch-2.4 updated: HBASE-28501 Support non-SPNEGO authentication methods and implement session handling in REST java client library (addendum: revert incompatible API change) (#5928)
This is an automated email from the ASF dual-hosted git repository. stoty pushed a commit to branch branch-2.4 in repository https://gitbox.apache.org/repos/asf/hbase.git The following commit(s) were added to refs/heads/branch-2.4 by this push: new 0359c7e1a91 HBASE-28501 Support non-SPNEGO authentication methods and implement session handling in REST java client library (addendum: revert incompatible API change) (#5928) 0359c7e1a91 is described below commit 0359c7e1a91cb381640ff168583457fe1a8a46aa Author: Istvan Toth AuthorDate: Tue May 21 09:04:13 2024 +0200 HBASE-28501 Support non-SPNEGO authentication methods and implement session handling in REST java client library (addendum: revert incompatible API change) (#5928) Signed-off-by: Duo Zhang --- .../apache/hadoop/hbase/rest/client/Client.java| 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java index 4efe839ef62..ac3fdc18226 100644 --- a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java +++ b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java @@ -184,7 +184,7 @@ public class Client { /** * Constructor This constructor will create an object using the old faulty load balancing logic. * When specifying multiple servers in the cluster object, it is highly recommended to call - * setSticky() on the created client, or use one of the preferred constructors instead. + * setSticky() on the created client, or use the preferred constructor instead. * @param cluster the cluster definition */ public Client(Cluster cluster) { @@ -194,7 +194,7 @@ public class Client { /** * Constructor This constructor will create an object using the old faulty load balancing logic. * When specifying multiple servers in the cluster object, it is highly recommended to call - * setSticky() on the created client, or use one of the preferred constructors instead. + * setSticky() on the created client, or use the preferred constructor instead. * @param clusterthe cluster definition * @param sslEnabled enable SSL or not */ @@ -206,7 +206,7 @@ public class Client { /** * Constructor This constructor will create an object using the old faulty load balancing logic. * When specifying multiple servers in the cluster object, it is highly recommended to call - * setSticky() on the created client, or use one of the preferred constructors instead. + * setSticky() on the created client, or use the preferred constructor instead. * @param clusterthe cluster definition * @param conf Configuration * @param sslEnabled enable SSL or not @@ -220,7 +220,7 @@ public class Client { * Constructor, allowing to define custom trust store (only for SSL connections) This constructor * will create an object using the old faulty load balancing logic. When specifying multiple * servers in the cluster object, it is highly recommended to call setSticky() on the created - * client, or use one of the preferred constructors instead. + * client, or use the preferred constructor instead. * @param clusterthe cluster definition * @param trustStorePath custom trust store to use for SSL connections * @param trustStorePassword password to use for custom trust store @@ -229,8 +229,7 @@ public class Client { */ public Client(Cluster cluster, String trustStorePath, Optional trustStorePassword, Optional trustStoreType) { -this(cluster, HBaseConfiguration.create(), true, trustStorePath, trustStorePassword, - trustStoreType); +this(cluster, HBaseConfiguration.create(), trustStorePath, trustStorePassword, trustStoreType); } /** @@ -254,9 +253,10 @@ public class Client { } /** - * Constructor, allowing to define custom trust store (only for SSL connections) This constructor - * also enables sticky mode. This is a preferred constructor when not using BASIC or JWT - * authentication. Clients created by this will use the old faulty load balancing logic. + * Constructor, allowing to define custom trust store (only for SSL connections). This constructor + * will create an object using the old faulty load balancing logic. When specifying multiple + * servers in the cluster object, it is highly recommended to call setSticky() on the created + * client, or use the preferred constructor instead. * @param clusterthe cluster definition * @param conf HBase/Hadoop Configuration * @param trustStorePath custom trust store to use for SSL connections @@ -264,10 +264,10 @@ public class Client { * @param trustStoreType type of custom trust store * @throws ClientTrustStoreInitializationException if the trust store file can not
(hbase) branch branch-2.5 updated: HBASE-28501 Support non-SPNEGO authentication methods and implement session handling in REST java client library (addendum: revert incompatible API change) (#5928)
This is an automated email from the ASF dual-hosted git repository. stoty pushed a commit to branch branch-2.5 in repository https://gitbox.apache.org/repos/asf/hbase.git The following commit(s) were added to refs/heads/branch-2.5 by this push: new ef9769a9084 HBASE-28501 Support non-SPNEGO authentication methods and implement session handling in REST java client library (addendum: revert incompatible API change) (#5928) ef9769a9084 is described below commit ef9769a9084dc16c33bc9dba7e0daa5be7dcacc0 Author: Istvan Toth AuthorDate: Tue May 21 09:04:13 2024 +0200 HBASE-28501 Support non-SPNEGO authentication methods and implement session handling in REST java client library (addendum: revert incompatible API change) (#5928) Signed-off-by: Duo Zhang --- .../apache/hadoop/hbase/rest/client/Client.java| 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java index a7df571fb2f..620497d08ba 100644 --- a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java +++ b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java @@ -185,7 +185,7 @@ public class Client { /** * Constructor This constructor will create an object using the old faulty load balancing logic. * When specifying multiple servers in the cluster object, it is highly recommended to call - * setSticky() on the created client, or use one of the preferred constructors instead. + * setSticky() on the created client, or use the preferred constructor instead. * @param cluster the cluster definition */ public Client(Cluster cluster) { @@ -195,7 +195,7 @@ public class Client { /** * Constructor This constructor will create an object using the old faulty load balancing logic. * When specifying multiple servers in the cluster object, it is highly recommended to call - * setSticky() on the created client, or use one of the preferred constructors instead. + * setSticky() on the created client, or use the preferred constructor instead. * @param clusterthe cluster definition * @param sslEnabled enable SSL or not */ @@ -207,7 +207,7 @@ public class Client { /** * Constructor This constructor will create an object using the old faulty load balancing logic. * When specifying multiple servers in the cluster object, it is highly recommended to call - * setSticky() on the created client, or use one of the preferred constructors instead. + * setSticky() on the created client, or use the preferred constructor instead. * @param clusterthe cluster definition * @param conf Configuration * @param sslEnabled enable SSL or not @@ -221,7 +221,7 @@ public class Client { * Constructor, allowing to define custom trust store (only for SSL connections) This constructor * will create an object using the old faulty load balancing logic. When specifying multiple * servers in the cluster object, it is highly recommended to call setSticky() on the created - * client, or use one of the preferred constructors instead. + * client, or use the preferred constructor instead. * @param clusterthe cluster definition * @param trustStorePath custom trust store to use for SSL connections * @param trustStorePassword password to use for custom trust store @@ -230,8 +230,7 @@ public class Client { */ public Client(Cluster cluster, String trustStorePath, Optional trustStorePassword, Optional trustStoreType) { -this(cluster, HBaseConfiguration.create(), true, trustStorePath, trustStorePassword, - trustStoreType); +this(cluster, HBaseConfiguration.create(), trustStorePath, trustStorePassword, trustStoreType); } /** @@ -255,9 +254,10 @@ public class Client { } /** - * Constructor, allowing to define custom trust store (only for SSL connections) This constructor - * also enables sticky mode. This is a preferred constructor when not using BASIC or JWT - * authentication. Clients created by this will use the old faulty load balancing logic. + * Constructor, allowing to define custom trust store (only for SSL connections). This constructor + * will create an object using the old faulty load balancing logic. When specifying multiple + * servers in the cluster object, it is highly recommended to call setSticky() on the created + * client, or use the preferred constructor instead. * @param clusterthe cluster definition * @param conf HBase/Hadoop Configuration * @param trustStorePath custom trust store to use for SSL connections @@ -265,10 +265,10 @@ public class Client { * @param trustStoreType type of custom trust store * @throws ClientTrustStoreInitializationException if the trust store file can not
(hbase) branch branch-2.6 updated: HBASE-28501 Support non-SPNEGO authentication methods and implement session handling in REST java client library (addendum: revert incompatible API change) (#5928)
This is an automated email from the ASF dual-hosted git repository. stoty pushed a commit to branch branch-2.6 in repository https://gitbox.apache.org/repos/asf/hbase.git The following commit(s) were added to refs/heads/branch-2.6 by this push: new 6c4ddad43e2 HBASE-28501 Support non-SPNEGO authentication methods and implement session handling in REST java client library (addendum: revert incompatible API change) (#5928) 6c4ddad43e2 is described below commit 6c4ddad43e2bc128abf101cc11505d05f57a74b8 Author: Istvan Toth AuthorDate: Tue May 21 09:04:13 2024 +0200 HBASE-28501 Support non-SPNEGO authentication methods and implement session handling in REST java client library (addendum: revert incompatible API change) (#5928) Signed-off-by: Duo Zhang --- .../apache/hadoop/hbase/rest/client/Client.java| 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java index a7df571fb2f..620497d08ba 100644 --- a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java +++ b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java @@ -185,7 +185,7 @@ public class Client { /** * Constructor This constructor will create an object using the old faulty load balancing logic. * When specifying multiple servers in the cluster object, it is highly recommended to call - * setSticky() on the created client, or use one of the preferred constructors instead. + * setSticky() on the created client, or use the preferred constructor instead. * @param cluster the cluster definition */ public Client(Cluster cluster) { @@ -195,7 +195,7 @@ public class Client { /** * Constructor This constructor will create an object using the old faulty load balancing logic. * When specifying multiple servers in the cluster object, it is highly recommended to call - * setSticky() on the created client, or use one of the preferred constructors instead. + * setSticky() on the created client, or use the preferred constructor instead. * @param clusterthe cluster definition * @param sslEnabled enable SSL or not */ @@ -207,7 +207,7 @@ public class Client { /** * Constructor This constructor will create an object using the old faulty load balancing logic. * When specifying multiple servers in the cluster object, it is highly recommended to call - * setSticky() on the created client, or use one of the preferred constructors instead. + * setSticky() on the created client, or use the preferred constructor instead. * @param clusterthe cluster definition * @param conf Configuration * @param sslEnabled enable SSL or not @@ -221,7 +221,7 @@ public class Client { * Constructor, allowing to define custom trust store (only for SSL connections) This constructor * will create an object using the old faulty load balancing logic. When specifying multiple * servers in the cluster object, it is highly recommended to call setSticky() on the created - * client, or use one of the preferred constructors instead. + * client, or use the preferred constructor instead. * @param clusterthe cluster definition * @param trustStorePath custom trust store to use for SSL connections * @param trustStorePassword password to use for custom trust store @@ -230,8 +230,7 @@ public class Client { */ public Client(Cluster cluster, String trustStorePath, Optional trustStorePassword, Optional trustStoreType) { -this(cluster, HBaseConfiguration.create(), true, trustStorePath, trustStorePassword, - trustStoreType); +this(cluster, HBaseConfiguration.create(), trustStorePath, trustStorePassword, trustStoreType); } /** @@ -255,9 +254,10 @@ public class Client { } /** - * Constructor, allowing to define custom trust store (only for SSL connections) This constructor - * also enables sticky mode. This is a preferred constructor when not using BASIC or JWT - * authentication. Clients created by this will use the old faulty load balancing logic. + * Constructor, allowing to define custom trust store (only for SSL connections). This constructor + * will create an object using the old faulty load balancing logic. When specifying multiple + * servers in the cluster object, it is highly recommended to call setSticky() on the created + * client, or use the preferred constructor instead. * @param clusterthe cluster definition * @param conf HBase/Hadoop Configuration * @param trustStorePath custom trust store to use for SSL connections @@ -265,10 +265,10 @@ public class Client { * @param trustStoreType type of custom trust store * @throws ClientTrustStoreInitializationException if the trust store file can not
(hbase) branch branch-2 updated: HBASE-28501 Support non-SPNEGO authentication methods and implement session handling in REST java client library (addendum: revert incompatible API change) (#5928)
This is an automated email from the ASF dual-hosted git repository. stoty pushed a commit to branch branch-2 in repository https://gitbox.apache.org/repos/asf/hbase.git The following commit(s) were added to refs/heads/branch-2 by this push: new 90832827f87 HBASE-28501 Support non-SPNEGO authentication methods and implement session handling in REST java client library (addendum: revert incompatible API change) (#5928) 90832827f87 is described below commit 90832827f875b08601b36439fd506a36e4819338 Author: Istvan Toth AuthorDate: Tue May 21 09:04:13 2024 +0200 HBASE-28501 Support non-SPNEGO authentication methods and implement session handling in REST java client library (addendum: revert incompatible API change) (#5928) Signed-off-by: Duo Zhang --- .../apache/hadoop/hbase/rest/client/Client.java| 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java index a7df571fb2f..620497d08ba 100644 --- a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java +++ b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java @@ -185,7 +185,7 @@ public class Client { /** * Constructor This constructor will create an object using the old faulty load balancing logic. * When specifying multiple servers in the cluster object, it is highly recommended to call - * setSticky() on the created client, or use one of the preferred constructors instead. + * setSticky() on the created client, or use the preferred constructor instead. * @param cluster the cluster definition */ public Client(Cluster cluster) { @@ -195,7 +195,7 @@ public class Client { /** * Constructor This constructor will create an object using the old faulty load balancing logic. * When specifying multiple servers in the cluster object, it is highly recommended to call - * setSticky() on the created client, or use one of the preferred constructors instead. + * setSticky() on the created client, or use the preferred constructor instead. * @param clusterthe cluster definition * @param sslEnabled enable SSL or not */ @@ -207,7 +207,7 @@ public class Client { /** * Constructor This constructor will create an object using the old faulty load balancing logic. * When specifying multiple servers in the cluster object, it is highly recommended to call - * setSticky() on the created client, or use one of the preferred constructors instead. + * setSticky() on the created client, or use the preferred constructor instead. * @param clusterthe cluster definition * @param conf Configuration * @param sslEnabled enable SSL or not @@ -221,7 +221,7 @@ public class Client { * Constructor, allowing to define custom trust store (only for SSL connections) This constructor * will create an object using the old faulty load balancing logic. When specifying multiple * servers in the cluster object, it is highly recommended to call setSticky() on the created - * client, or use one of the preferred constructors instead. + * client, or use the preferred constructor instead. * @param clusterthe cluster definition * @param trustStorePath custom trust store to use for SSL connections * @param trustStorePassword password to use for custom trust store @@ -230,8 +230,7 @@ public class Client { */ public Client(Cluster cluster, String trustStorePath, Optional trustStorePassword, Optional trustStoreType) { -this(cluster, HBaseConfiguration.create(), true, trustStorePath, trustStorePassword, - trustStoreType); +this(cluster, HBaseConfiguration.create(), trustStorePath, trustStorePassword, trustStoreType); } /** @@ -255,9 +254,10 @@ public class Client { } /** - * Constructor, allowing to define custom trust store (only for SSL connections) This constructor - * also enables sticky mode. This is a preferred constructor when not using BASIC or JWT - * authentication. Clients created by this will use the old faulty load balancing logic. + * Constructor, allowing to define custom trust store (only for SSL connections). This constructor + * will create an object using the old faulty load balancing logic. When specifying multiple + * servers in the cluster object, it is highly recommended to call setSticky() on the created + * client, or use the preferred constructor instead. * @param clusterthe cluster definition * @param conf HBase/Hadoop Configuration * @param trustStorePath custom trust store to use for SSL connections @@ -265,10 +265,10 @@ public class Client { * @param trustStoreType type of custom trust store * @throws ClientTrustStoreInitializationException if the trust store file can not be l
(hbase) branch branch-3 updated: HBASE-28501 Support non-SPNEGO authentication methods and implement session handling in REST java client library (addendum: revert incompatible API change) (#5928)
This is an automated email from the ASF dual-hosted git repository. stoty pushed a commit to branch branch-3 in repository https://gitbox.apache.org/repos/asf/hbase.git The following commit(s) were added to refs/heads/branch-3 by this push: new ca98f8d8d47 HBASE-28501 Support non-SPNEGO authentication methods and implement session handling in REST java client library (addendum: revert incompatible API change) (#5928) ca98f8d8d47 is described below commit ca98f8d8d470be4269239bbd76249f7ed3539188 Author: Istvan Toth AuthorDate: Tue May 21 09:04:13 2024 +0200 HBASE-28501 Support non-SPNEGO authentication methods and implement session handling in REST java client library (addendum: revert incompatible API change) (#5928) Signed-off-by: Duo Zhang --- .../apache/hadoop/hbase/rest/client/Client.java| 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java index a7df571fb2f..620497d08ba 100644 --- a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java +++ b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java @@ -185,7 +185,7 @@ public class Client { /** * Constructor This constructor will create an object using the old faulty load balancing logic. * When specifying multiple servers in the cluster object, it is highly recommended to call - * setSticky() on the created client, or use one of the preferred constructors instead. + * setSticky() on the created client, or use the preferred constructor instead. * @param cluster the cluster definition */ public Client(Cluster cluster) { @@ -195,7 +195,7 @@ public class Client { /** * Constructor This constructor will create an object using the old faulty load balancing logic. * When specifying multiple servers in the cluster object, it is highly recommended to call - * setSticky() on the created client, or use one of the preferred constructors instead. + * setSticky() on the created client, or use the preferred constructor instead. * @param clusterthe cluster definition * @param sslEnabled enable SSL or not */ @@ -207,7 +207,7 @@ public class Client { /** * Constructor This constructor will create an object using the old faulty load balancing logic. * When specifying multiple servers in the cluster object, it is highly recommended to call - * setSticky() on the created client, or use one of the preferred constructors instead. + * setSticky() on the created client, or use the preferred constructor instead. * @param clusterthe cluster definition * @param conf Configuration * @param sslEnabled enable SSL or not @@ -221,7 +221,7 @@ public class Client { * Constructor, allowing to define custom trust store (only for SSL connections) This constructor * will create an object using the old faulty load balancing logic. When specifying multiple * servers in the cluster object, it is highly recommended to call setSticky() on the created - * client, or use one of the preferred constructors instead. + * client, or use the preferred constructor instead. * @param clusterthe cluster definition * @param trustStorePath custom trust store to use for SSL connections * @param trustStorePassword password to use for custom trust store @@ -230,8 +230,7 @@ public class Client { */ public Client(Cluster cluster, String trustStorePath, Optional trustStorePassword, Optional trustStoreType) { -this(cluster, HBaseConfiguration.create(), true, trustStorePath, trustStorePassword, - trustStoreType); +this(cluster, HBaseConfiguration.create(), trustStorePath, trustStorePassword, trustStoreType); } /** @@ -255,9 +254,10 @@ public class Client { } /** - * Constructor, allowing to define custom trust store (only for SSL connections) This constructor - * also enables sticky mode. This is a preferred constructor when not using BASIC or JWT - * authentication. Clients created by this will use the old faulty load balancing logic. + * Constructor, allowing to define custom trust store (only for SSL connections). This constructor + * will create an object using the old faulty load balancing logic. When specifying multiple + * servers in the cluster object, it is highly recommended to call setSticky() on the created + * client, or use the preferred constructor instead. * @param clusterthe cluster definition * @param conf HBase/Hadoop Configuration * @param trustStorePath custom trust store to use for SSL connections @@ -265,10 +265,10 @@ public class Client { * @param trustStoreType type of custom trust store * @throws ClientTrustStoreInitializationException if the trust store file can not be l
(hbase) branch master updated: HBASE-28501 Support non-SPNEGO authentication methods and implement session handling in REST java client library (addendum: revert incompatible API change) (#5928)
This is an automated email from the ASF dual-hosted git repository. stoty pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/hbase.git The following commit(s) were added to refs/heads/master by this push: new 8a5337b3e43 HBASE-28501 Support non-SPNEGO authentication methods and implement session handling in REST java client library (addendum: revert incompatible API change) (#5928) 8a5337b3e43 is described below commit 8a5337b3e435a947f4ad04ecf4f81b6c3d99e5ba Author: Istvan Toth AuthorDate: Tue May 21 09:04:13 2024 +0200 HBASE-28501 Support non-SPNEGO authentication methods and implement session handling in REST java client library (addendum: revert incompatible API change) (#5928) Signed-off-by: Duo Zhang --- .../apache/hadoop/hbase/rest/client/Client.java| 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java index a7df571fb2f..620497d08ba 100644 --- a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java +++ b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java @@ -185,7 +185,7 @@ public class Client { /** * Constructor This constructor will create an object using the old faulty load balancing logic. * When specifying multiple servers in the cluster object, it is highly recommended to call - * setSticky() on the created client, or use one of the preferred constructors instead. + * setSticky() on the created client, or use the preferred constructor instead. * @param cluster the cluster definition */ public Client(Cluster cluster) { @@ -195,7 +195,7 @@ public class Client { /** * Constructor This constructor will create an object using the old faulty load balancing logic. * When specifying multiple servers in the cluster object, it is highly recommended to call - * setSticky() on the created client, or use one of the preferred constructors instead. + * setSticky() on the created client, or use the preferred constructor instead. * @param clusterthe cluster definition * @param sslEnabled enable SSL or not */ @@ -207,7 +207,7 @@ public class Client { /** * Constructor This constructor will create an object using the old faulty load balancing logic. * When specifying multiple servers in the cluster object, it is highly recommended to call - * setSticky() on the created client, or use one of the preferred constructors instead. + * setSticky() on the created client, or use the preferred constructor instead. * @param clusterthe cluster definition * @param conf Configuration * @param sslEnabled enable SSL or not @@ -221,7 +221,7 @@ public class Client { * Constructor, allowing to define custom trust store (only for SSL connections) This constructor * will create an object using the old faulty load balancing logic. When specifying multiple * servers in the cluster object, it is highly recommended to call setSticky() on the created - * client, or use one of the preferred constructors instead. + * client, or use the preferred constructor instead. * @param clusterthe cluster definition * @param trustStorePath custom trust store to use for SSL connections * @param trustStorePassword password to use for custom trust store @@ -230,8 +230,7 @@ public class Client { */ public Client(Cluster cluster, String trustStorePath, Optional trustStorePassword, Optional trustStoreType) { -this(cluster, HBaseConfiguration.create(), true, trustStorePath, trustStorePassword, - trustStoreType); +this(cluster, HBaseConfiguration.create(), trustStorePath, trustStorePassword, trustStoreType); } /** @@ -255,9 +254,10 @@ public class Client { } /** - * Constructor, allowing to define custom trust store (only for SSL connections) This constructor - * also enables sticky mode. This is a preferred constructor when not using BASIC or JWT - * authentication. Clients created by this will use the old faulty load balancing logic. + * Constructor, allowing to define custom trust store (only for SSL connections). This constructor + * will create an object using the old faulty load balancing logic. When specifying multiple + * servers in the cluster object, it is highly recommended to call setSticky() on the created + * client, or use the preferred constructor instead. * @param clusterthe cluster definition * @param conf HBase/Hadoop Configuration * @param trustStorePath custom trust store to use for SSL connections @@ -265,10 +265,10 @@ public class Client { * @param trustStoreType type of custom trust store * @throws ClientTrustStoreInitializationException if the trust store file can not be loade