Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-7290 Online snapshots
  3. HBASE-7742

[snapshot 130201 merge] Fix TestHFileArchving#testArchiveOnTableDelete

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • hbase-7290
    • 0.95.0
    • snapshots
    • None
    • Reviewed

    Description

      After the 2/1/13 merge this test case started to fail.

      Looks like after deleting a table files are moved to <hbase>/.tmp/.archive instead of <hbase>/.archive.

      2013-02-01 16:23:25,037 DEBUG [main] util.FSUtils(1395): Current file system:
      2013-02-01 16:23:25,040 DEBUG [main] util.FSUtils(1411): |-user/
      2013-02-01 16:23:25,042 DEBUG [main] util.FSUtils(1411): |----jon/
      2013-02-01 16:23:25,045 DEBUG [main] util.FSUtils(1411): |-------hbase/
      2013-02-01 16:23:25,048 DEBUG [main] util.FSUtils(1411): |-----------ROOT-/
      2013-02-01 16:23:25,051 DEBUG [main] util.FSUtils(1414): |-------------.tableinfo.0000000001
      2013-02-01 16:23:25,051 DEBUG [main] util.FSUtils(1411): |-------------.tmp/
      2013-02-01 16:23:25,053 DEBUG [main] util.FSUtils(1411): |-------------70236052/
      2013-02-01 16:23:25,056 DEBUG [main] util.FSUtils(1411): |----------------.oldlogs/
      2013-02-01 16:23:25,059 DEBUG [main] util.FSUtils(1414): |-------------------hlog.1359764552904
      2013-02-01 16:23:25,059 DEBUG [main] util.FSUtils(1414): |----------------.regioninfo
      2013-02-01 16:23:25,060 DEBUG [main] util.FSUtils(1411): |----------------info/
      2013-02-01 16:23:25,062 DEBUG [main] util.FSUtils(1414): |-------------------73d7663c7ffa47089e5138f79af6da5c
      2013-02-01 16:23:25,062 DEBUG [main] util.FSUtils(1411): |----------.META./
      2013-02-01 16:23:25,064 DEBUG [main] util.FSUtils(1414): |-------------.tableinfo.0000000001
      2013-02-01 16:23:25,065 DEBUG [main] util.FSUtils(1411): |-------------.tmp/
      2013-02-01 16:23:25,066 DEBUG [main] util.FSUtils(1411): |-------------1028785192/
      2013-02-01 16:23:25,069 DEBUG [main] util.FSUtils(1411): |----------------.oldlogs/
      2013-02-01 16:23:25,072 DEBUG [main] util.FSUtils(1414): |-------------------hlog.1359764553440
      2013-02-01 16:23:25,073 DEBUG [main] util.FSUtils(1414): |----------------.regioninfo
      2013-02-01 16:23:25,073 DEBUG [main] util.FSUtils(1411): |----------------info/
      2013-02-01 16:23:25,075 DEBUG [main] util.FSUtils(1411): |----------.logs/
      2013-02-01 16:23:25,078 DEBUG [main] util.FSUtils(1411): |-------------localhost,39842,1359764552342/
      2013-02-01 16:23:25,080 DEBUG [main] util.FSUtils(1414): |----------------localhost%2C39842%2C1359764552342.1359764554756
      2013-02-01 16:23:25,081 DEBUG [main] util.FSUtils(1414): |----------------localhost%2C39842%2C1359764552342.1359764555929.meta
      2013-02-01 16:23:25,081 DEBUG [main] util.FSUtils(1411): |----------.oldlogs/
      2013-02-01 16:23:25,083 DEBUG [main] util.FSUtils(1411): |----------.tmp/
      2013-02-01 16:23:25,085 DEBUG [main] util.FSUtils(1411): |-------------.archive/
      2013-02-01 16:23:25,087 DEBUG [main] util.FSUtils(1411): |----------------test_table/
      2013-02-01 16:23:25,089 DEBUG [main] util.FSUtils(1411): |-------------------8293b640249b4c47e469119a9ba4514a/
      2013-02-01 16:23:25,091 DEBUG [main] util.FSUtils(1411): |----------------------fam/
      2013-02-01 16:23:25,093 DEBUG [main] util.FSUtils(1414): |-------------------------2b6faae136d648b38f335ff9c885b294
      2013-02-01 16:23:25,093 DEBUG [main] util.FSUtils(1414): |-------------------------4ba2080dbd6f4c3eb9b7a70ccefe9f9b
      2013-02-01 16:23:25,094 DEBUG [main] util.FSUtils(1414): |-------------------------50dd7ee0cb2049158de3139e814f4784
      2013-02-01 16:23:25,094 DEBUG [main] util.FSUtils(1414): |-------------------------86544bf4d23a4413b01c3b2e7e2f5562
      2013-02-01 16:23:25,094 DEBUG [main] util.FSUtils(1414): |-------------------------aecf536371374393a113af2875b38997
      2013-02-01 16:23:25,094 DEBUG [main] util.FSUtils(1414): |----------hbase.id
      2013-02-01 16:23:25,094 DEBUG [main] util.FSUtils(1414): |----------hbase.version
      

      Attachments

        1. hbase-7742.patch
          7 kB
          Jonathan Hsieh

        Activity

          People

            jmhsieh Jonathan Hsieh
            jmhsieh Jonathan Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: