keith-turner opened a new pull request, #4872:
URL: https://github.com/apache/accumulo/pull/4872

   Addes detailed trace logging for the accumulo block caches that can be used 
for scans.
   
   With the following log4j config
   
   ```
   logger.cache.name = org.apache.accumulo.cache
   logger.cache.level = trace
   ```
   
   can see output like the following with these changes when running a few 
scans.
   
   ```
   2024-09-10T23:08:47,821 [accumulo.cache] TRACE: INDEX loader:299585732 
getDependencies() returned 
[hdfs://localhost:8020/accumulo/tables/1/default_tablet/A000003t.rf!RootData]
   2024-09-10T23:08:47,828 [accumulo.cache] TRACE: INDEX loader:299585732 
load(201326592,{hdfs://localhost:8020/accumulo/tables/1/default_tablet/A000003t.rf!RootData=65})
 returned 113 bytes in 823μs
   2024-09-10T23:08:47,828 [accumulo.cache] TRACE: INDEX 
getBlock(hdfs://localhost:8020/accumulo/tables/1/default_tablet/A000003t.rfMRFile.index,
 loader:299585732) returned 113 bytes in 6924μs
   2024-09-10T23:08:47,829 [accumulo.cache] TRACE: DATA 
getBlock(hdfs://localhost:8020/accumulo/tables/1/default_tablet/A000003t.rfR16, 
loader:1259534108) returned 101125 bytes in 865μs
   2024-09-10T23:09:00,692 [accumulo.cache] TRACE: DATA 
getBlock(hdfs://localhost:8020/accumulo/tables/1/default_tablet/A000003t.rfR16, 
loader:161430432) returned 101125 bytes in 5μs
   2024-09-10T23:09:01,579 [accumulo.cache] TRACE: DATA 
getBlock(hdfs://localhost:8020/accumulo/tables/1/default_tablet/A000003t.rfR16, 
loader:1386294126) returned 101125 bytes in 8μs
   2024-09-10T23:09:02,323 [accumulo.cache] TRACE: DATA 
getBlock(hdfs://localhost:8020/accumulo/tables/1/default_tablet/A000003t.rfR16, 
loader:740950152) returned 101125 bytes in 9μs
   2024-09-10T23:09:03,011 [accumulo.cache] TRACE: DATA 
getBlock(hdfs://localhost:8020/accumulo/tables/1/default_tablet/A000003t.rfR16, 
loader:1766289486) returned 101125 bytes in 9μs
   ```


-- 
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]

Reply via email to