kevinrr888 commented on code in PR #5479:
URL: https://github.com/apache/accumulo/pull/5479#discussion_r2049547320
##########
server/base/src/test/java/org/apache/accumulo/server/util/TableDiskUsageTest.java:
##########
@@ -276,36 +288,41 @@ private static String getTableName(TableId tableId) {
return tableIdToNameMap.get(tableId);
}
- private static void appendFileMetadata(Map<Key,Value> tableEntries,
TabletFile file, long size) {
- tableEntries.put(
- new Key(new Text(file.getTableId() + "<"),
- MetadataSchema.TabletsSection.DataFileColumnFamily.NAME,
file.getMetaInsertText()),
- new DataFileValue(size, 1).encodeAsValue());
+ private static void appendFileMetadata(List<TabletMetadata>
realTabletsMetadata,
+ StoredTabletFile file, TableId id, long size) throws Exception {
+ Map<StoredTabletFile,DataFileValue> files = Map.of(file, new
DataFileValue(size, 1));
+ TabletMetadata tm = EasyMock.createMock(TabletMetadata.class);
Review Comment:
Thanks, I had missed that. Added in ab6206d19fc6cb6985a38baebf902ff23a8a2c4a
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]