milleruntime commented on issue #2754:
URL: https://github.com/apache/accumulo/issues/2754#issuecomment-1145969873

   > Is this reproduced with the changes in PR 
[#2215](https://github.com/apache/accumulo/pull/2215)?
   
   I haven't tested it with your branch but if it is up to date then I think it 
would have the same problem.
   
   > When I was originally testing, I found that timing was important for the 
fate -list command. I usually added a timer during table creation in order to 
see a fate transaction taking place. Otherwise, the transaction finished before 
I could print/ do other fate commands to it.
   
   Right, it is tricky to get the timing. I found it helps if you use the 
`SlowIterator` on a compaction. This requires the test jar and can be done 
using these commands:
   <pre>
   config -t ci -s 
table.iterator.majc.slow=1,org.apache.accumulo.test.functional.SlowIterator
   config -t ci -s table.iterator.majc.slow.opt.sleepTime=5
   </pre>
   
   It helps to cancel compactions on the table first too then run a user 
compaction. Fate TX will only be created for user initiated compaction. I just 
confirmed this again on main using the `SlowIterator`:
   <pre>
   [zk: localhost:2181(CONNECTED) 2] ls 
/accumulo/af1770d1-ffa1-4373-95f9-d715b11d70dd/fate 
   [tx_50704e650c56e804]
   [zk: localhost:2181(CONNECTED) 3] get 
/accumulo/af1770d1-ffa1-4373-95f9-d715b11d70dd/fate/tx_50704e650c56e804 
   IN_PROGRESS
   root@uno ci> fate -print 50704e650c56e804
   2022-06-03T09:26:32,409 [conf.SiteConfiguration] INFO : Found Accumulo 
configuration on classpath at 
/home/mpmill4/workspace/uno/install/accumulo-2.1.0-SNAPSHOT/conf/accumulo.properties
    0 transactions
   root@uno ci> fate -print 50704e650c56e804
   2022-06-03T09:30:27,019 [conf.SiteConfiguration] INFO : Found Accumulo 
configuration on classpath at 
/home/mpmill4/workspace/uno/install/accumulo-2.1.0-SNAPSHOT/conf/accumulo.properties
    0 transactions
   root@uno ci> fate -print 
   2022-06-03T09:30:31,987 [conf.SiteConfiguration] INFO : Found Accumulo 
configuration on classpath at 
/home/mpmill4/workspace/uno/install/accumulo-2.1.0-SNAPSHOT/conf/accumulo.properties
    0 transactions
   root@uno ci> fate -list
   2022-06-03T09:30:34,832 [conf.SiteConfiguration] INFO : Found Accumulo 
configuration on classpath at 
/home/mpmill4/workspace/uno/install/accumulo-2.1.0-SNAPSHOT/conf/accumulo.properties
    0 transactions
   </pre>
   </pre>


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