This is an automated email from the ASF dual-hosted git repository.
dlmarion pushed a commit to branch 2.1
in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/2.1 by this push:
new 20e444ad8c Fixes LocatorIT when locating tablets for offline table
(#6194)
20e444ad8c is described below
commit 20e444ad8c6a2e81ec3bf6cd5a8d2113bf990a66
Author: Dave Marion <[email protected]>
AuthorDate: Mon Mar 9 08:14:24 2026 -0400
Fixes LocatorIT when locating tablets for offline table (#6194)
The TabletLocator no longer throws an exception when
trying to locate tablets for an offline table due to
the changes in PR #6156 that allows Scan Servers to
scan an offline table. I added a check in TableOperations
so that the method would still throw the documented
exception and get LocatorIT back to passing.
---
.../java/org/apache/accumulo/core/clientImpl/TableOperationsImpl.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/core/src/main/java/org/apache/accumulo/core/clientImpl/TableOperationsImpl.java
b/core/src/main/java/org/apache/accumulo/core/clientImpl/TableOperationsImpl.java
index 7155cb3b1b..0fc1e52ac3 100644
---
a/core/src/main/java/org/apache/accumulo/core/clientImpl/TableOperationsImpl.java
+++
b/core/src/main/java/org/apache/accumulo/core/clientImpl/TableOperationsImpl.java
@@ -1930,6 +1930,7 @@ public class TableOperationsImpl extends
TableOperationsHelper {
requireNonNull(ranges, "ranges must be non null");
TableId tableId = context.getTableId(tableName);
+ context.requireNotOffline(tableId, tableName);
TabletLocator locator = TabletLocator.getLocator(context, tableId);
List<Range> rangeList = null;