Description
Noticed in while testing some other stuff in master today:
Create a table (note the tableId), add some splits to the table, call deleterows -t table -f, note the entries in the ~del section of accumulo.metadata. The URI for the tablet directories is messed up.
For me, doing the above with a table id of '5', nets:
~del/5hdfs:/localhost:8020/accumulo/tables/5/default_tablet : [] ~del/5hdfs:/localhost:8020/accumulo/tables/5/t-00003bn : [] ~del/5hdfs:/localhost:8020/accumulo/tables/5/t-00003bo : [] ~del/5hdfs:/localhost:8020/accumulo/tables/5/t-00003bp : [] ~del/5hdfs:/localhost:8020/accumulo/tables/5/t-00003bq : [] ~del/5hdfs:/localhost:8020/accumulo/tables/5/t-00003br : []
The state of the table did appear to be good. Before I issued the deleterows command
5;1 loc:147798d9f2804fa [] localhost:9997 5;1 srv:dir [] hdfs://localhost:8020/accumulo/tables/5/t-00003bo 5;1 srv:lock [] tservers/localhost:9997/zlock-0000000000$147798d9f2804fa 5;1 srv:time [] M0 5;1 ~tab:~pr [] \x00 5;3 loc:147798d9f2804fa [] localhost:9997 5;3 srv:dir [] hdfs://localhost:8020/accumulo/tables/5/t-00003bq 5;3 srv:lock [] tservers/localhost:9997/zlock-0000000000$147798d9f2804fa 5;3 srv:time [] M0 5;3 ~tab:~pr [] \x011 5;5 loc:147798d9f2804fa [] localhost:9997 5;5 srv:dir [] hdfs://localhost:8020/accumulo/tables/5/t-00003bn 5;5 srv:lock [] tservers/localhost:9997/zlock-0000000000$147798d9f2804fa 5;5 srv:time [] M0 5;5 ~tab:~pr [] \x013 5;7 loc:147798d9f2804fa [] localhost:9997 5;7 srv:dir [] hdfs://localhost:8020/accumulo/tables/5/t-00003bp 5;7 srv:lock [] tservers/localhost:9997/zlock-0000000000$147798d9f2804fa 5;7 srv:time [] M0 5;7 ~tab:~pr [] \x015 5;9 loc:147798d9f2804fa [] localhost:9997 5;9 srv:dir [] hdfs://localhost:8020/accumulo/tables/5/t-00003br 5;9 srv:lock [] tservers/localhost:9997/zlock-0000000000$147798d9f2804fa 5;9 srv:time [] M0 5;9 ~tab:~pr [] \x017 5< loc:147798d9f2804fa [] localhost:9997 5< srv:dir [] hdfs://localhost:8020/accumulo/tables/5/default_tablet 5< srv:lock [] tservers/localhost:9997/zlock-0000000000$147798d9f2804fa 5< srv:time [] M0 5< ~tab:~pr [] \x019
Attachments
Issue Links
- is broken by
-
ACCUMULO-2974 Unable to assign single tablet table migrated to 1.6.0
- Resolved