EdColeman commented on issue #4094:
URL: https://github.com/apache/accumulo/issues/4094#issuecomment-1869621107

   To illustrate the issue I create a clone and then list the metadata files.  
The original table is tableA (id=1), the clone is cloneA (id=5).  The resulting 
files for the clone look like
   ```
   5;0020 file:hdfs://localhost:8020/accumulo/tables/1/t-000004d/A0000009.rf
   ```
   If the table id in pulled from the file path, it would show id=1, the file 
really belongs to id=5. Both tableA and  cloneA are "sharing" the file. If 
cloneA (id=5) is compacted, new files will be created under the id=5 directory.
   
   <details>
     <summary>Additional listings</summary>
   
   Output of tables -ls:
   
   ```
   > tables -ls
   accumulo.metadata    =>        !0
   accumulo.root        =>        +r
   accumulo.replication =>      +rep
   tableA               =>         1
   tableB               =>         2
   tableC               =>         3
   tableD               =>         4
   cloneA               =>         5
   ```
   
   Listing the metadata files:
   ```
   > scan -np -t accumulo.metadata -c file
   1;0020 file:hdfs://localhost:8020/accumulo/tables/1/t-000004d/A0000009.rf [] 
299,21
   1;0040 file:hdfs://localhost:8020/accumulo/tables/1/t-000004e/A0000008.rf [] 
296,20
   1;0060 file:hdfs://localhost:8020/accumulo/tables/1/t-000004f/A000000f.rf [] 
298,20
   1;0080 file:hdfs://localhost:8020/accumulo/tables/1/t-000004g/A000000h.rf [] 
303,20
   1< file:hdfs://localhost:8020/accumulo/tables/1/default_tablet/A000000e.rf 
[]        288,19
   2;0020 file:hdfs://localhost:8020/accumulo/tables/2/t-000004h/A000000i.rf [] 
291,21
   ...
   4< file:hdfs://localhost:8020/accumulo/tables/4/default_tablet/A0000016.rf 
[]        292,19
   5;0020 file:hdfs://localhost:8020/accumulo/tables/1/t-000004d/A0000009.rf [] 
299,21
   5;0040 file:hdfs://localhost:8020/accumulo/tables/1/t-000004e/A0000008.rf [] 
296,20
   5;0060 file:hdfs://localhost:8020/accumulo/tables/1/t-000004f/A000000f.rf [] 
298,20
   5;0080 file:hdfs://localhost:8020/accumulo/tables/1/t-000004g/A000000h.rf [] 
303,20
   5< file:hdfs://localhost:8020/accumulo/tables/1/default_tablet/A000000e.rf 
[]        288,19
   ```
   </details>
   
   


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