Skip to content

Commit e9a953d

Browse files
authored
Fix path in TableZooHelper when clearing ZooCache entry (apache#5270)
1 parent 22831aa commit e9a953d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/apache/accumulo/core/util/tables/TableZooHelper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public TableState getTableState(TableId tableId, boolean clearCachedState) {
179179
String statePath = context.getZooKeeperRoot() + Constants.ZTABLES + "/" + tableId.canonical()
180180
+ Constants.ZTABLE_STATE;
181181
if (clearCachedState) {
182-
context.getZooCache().clear(context.getZooKeeperRoot() + statePath);
182+
context.getZooCache().clear(statePath);
183183
instanceToMapCache.invalidateAll();
184184
}
185185
ZooCache zc = context.getZooCache();

0 commit comments

Comments
 (0)