Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-8015 Support for Namespaces
  3. HBASE-9128

Drop the '.' prefix from names under hbase.rootdir after namespaces goes in

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.98.0, 0.95.2
    • None
    • None
    • Reviewed
    • Hide
      Changes the dir names under hbase.rootdir dropping the no longer needed prefix '.' and renaming a few.

       ".logs" -> "WALs";
      ".splitlog" -> "splitWAL"
      ".corrupt" -> "corrupt"
       ".oldlogs" -> "oldWALs"
       ".data" -> "data"
      ".archive" -> "archive"
      Show
      Changes the dir names under hbase.rootdir dropping the no longer needed prefix '.' and renaming a few.  ".logs" -> "WALs"; ".splitlog" -> "splitWAL" ".corrupt" -> "corrupt"  ".oldlogs" -> "oldWALs"  ".data" -> "data" ".archive" -> "archive"

    Description

      Change it so instead of hbase.rootdir looking like this:

      drwxr-xr-x   5 stack  staff  170 Aug  5 14:43 .data
      -rw-r--r--   1 stack  staff   12 Aug  5 14:43 .hbase.id.crc
      -rw-r--r--   1 stack  staff   12 Aug  5 14:43 .hbase.version.crc
      drwxr-xr-x   3 stack  staff  102 Aug  5 14:43 .logs
      drwxr-xr-x   2 stack  staff   68 Aug  5 14:43 .oldlogs
      drwxr-xr-x   3 stack  staff  102 Aug  5 14:43 .tmp
      -rwxrwxrwx   1 stack  staff   42 Aug  5 14:43 hbase.id
      -rwxrwxrwx   1 stack  staff    7 Aug  5 14:43 hbase.version
      

      It looks like this:

      drwxr-xr-x   5 stack  staff  170 Aug  5 14:43 data
      -rw-r--r--   1 stack  staff   12 Aug  5 14:43 .hbase.id.crc
      -rw-r--r--   1 stack  staff   12 Aug  5 14:43 .hbase.version.crc
      drwxr-xr-x   3 stack  staff  102 Aug  5 14:43 logs
      drwxr-xr-x   2 stack  staff   68 Aug  5 14:43 oldlogs
      drwxr-xr-x   3 stack  staff  102 Aug  5 14:43 tmp
      -rwxrwxrwx   1 stack  staff   42 Aug  5 14:43 hbase.id
      -rwxrwxrwx   1 stack  staff    7 Aug  5 14:43 hbase.version
      

      Also removes any ROOT dir if it is present.

      Attachments

        1. 9128v9.txt
          23 kB
          Michael Stack
        2. 9128v8.txt
          21 kB
          Michael Stack
        3. 9128v6.txt
          18 kB
          Michael Stack
        4. 9128v5.txt
          19 kB
          Michael Stack
        5. 9128v4.txt
          18 kB
          Michael Stack
        6. 9128v3.txt
          7 kB
          Michael Stack
        7. 9128v3.txt
          17 kB
          Michael Stack
        8. 9128v2.txt
          14 kB
          Michael Stack
        9. 9128.txt
          19 kB
          Michael Stack

        Activity

          People

            stack Michael Stack
            stack Michael Stack
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: