Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-3047

Invalid URI in delete marker in accumulo.metadata

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.1, 1.7.0
    • Component/s: gc
    • Labels:
      None

      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

            Activity

              People

              • Assignee:
                ecn Eric Newton
                Reporter:
                elserj Josh Elser
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m