milleruntime opened a new issue, #2754:
URL: https://github.com/apache/accumulo/issues/2754
**Describe the bug**
Many changes have been made to the `fate` shell command and now it doesn't
work properly.
**Versions (OS, Maven, Java, and others, as appropriate):**
- Affected version(s) of this project: 2.1
- OS: Ubuntu 18
- Others: Hadoop 3.2.2 & apache-zookeeper-3.6.3
**To Reproduce**
Steps to reproduce the behavior (or a link to an example repository that
reproduces the problem):
1. Run CI from accumulo-testing for 10 minutes: `./bin/cingest createtable`
and then `./bin/cingest ingest`
2. Run the Shell cmd: `compact -t ci`
3. Run the Shell cmd: `listcompactions`. Make sure there is at least one
"USER" compaction.
4. Run the Shell cmd: `fate -list` or `fate -print`. There should be the
User Compact FATE operation printed but you only get `0 transactions`
5. From ZK Shell, `ls /accumulo/<instance_id>/fate`
[zk: localhost:2181(CONNECTED) 3] ls
/accumulo/363c7563-bd35-448a-9dbc-dc6ef18cd819/fate
[tx_291329b4af233519]
6. In the logs directory: `grep "291329b4af233519" *.log` to see:
**Expected behavior**
The user compaction Fate TX should be printed in the shell.
<pre>
root@uno> compact -t ci
2022-06-03T07:39:29,891 [shell.Shell] INFO : Compaction of table ci started
for given range
root@uno> fate -list
2022-06-03T07:39:31,775 [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> listcompactions
SERVER | AGE | TYPE | REASON | READ | WROTE | TABLE
| TABLET | INPUT | OUTPUT
| ITERATORS | ITERATOR OPTIONS
localhost:9997 | 5s424ms | MAJOR | SYSTEM | 921K | 902K |
ci | 1;733333333333333e;6cccccccccccccd7 | 4 |
/1/t-000004m/C000027e.rf_tmp | [] | {}
localhost:9997 | 5s23ms | FULL | USER | 840K | 829K |
ci | 1;533333333333333b;4cccccccccccccd4 | 8 |
/1/t-000004h/A000027f.rf_tmp | [] | {}
localhost:9997 | 3s125ms | FULL | USER | 547K | 540K |
ci | 1<;79999999999999a5 | 7 |
/1/default_tablet/A000027g.rf_tmp | [] | {}
localhost:10000 | 5s243ms | FULL | USER | 897K | 893K |
ci | 1;0cccccccccccccce;0666666666666667 | 5 |
/1/t-0000046/A000022u.rf_tmp | [] | {}
localhost:10000 | 1s225ms | FULL | USER | 208K | 206K |
ci | 1;1333333333333335;0cccccccccccccce | 7 |
/1/t-0000047/A000022v.rf_tmp | [] | {}
root@uno> fate -list
2022-06-03T07:39:44,128 [conf.SiteConfiguration] INFO : Found Accumulo
configuration on classpath at
/home/mpmill4/workspace/uno/install/accumulo-2.1.0-SNAPSHOT/conf/accumulo.properties
0 transactions
[zk: localhost:2181(CONNECTED) 3] ls
/accumulo/363c7563-bd35-448a-9dbc-dc6ef18cd819/fate
[tx_291329b4af233519]
08:00:34 {main} ~/workspace/uno/install/logs/accumulo$ grep 291329b4af233519
*.log
manager_ip-10-113-14-231-06-03-22-07-1.log:2022-06-03T07:39:29,881
[fate.Fate] INFO : Seeding FATE[291329b4af233519] TABLE_COMPACT Compact table
(1) with config []
manager_ip-10-113-14-231-06-03-22-07-1.log:2022-06-03T07:39:29,895
[zookeeper.DistributedReadWriteLock] INFO : Added lock entry 0 userData
291329b4af233519 lockType READ
manager_ip-10-113-14-231-06-03-22-07-1.log:2022-06-03T07:39:29,896
[tableOps.Utils] INFO : namespace +default (291329b4af233519) locked for read
operation: COMPACT
manager_ip-10-113-14-231-06-03-22-07-1.log:2022-06-03T07:39:29,904
[zookeeper.DistributedReadWriteLock] INFO : Added lock entry 0 userData
291329b4af233519 lockType READ
manager_ip-10-113-14-231-06-03-22-07-1.log:2022-06-03T07:39:29,905
[tableOps.Utils] INFO : table 1 (291329b4af233519) locked for read operation:
COMPACT
</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]