Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2314

fs manager checks should list wal and metadata directories along with data dirs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.8.0
    • fs, ops-tooling
    • None

    Description

      The current block manager report lists the data directories:

      I0220 10:37:09.937450 2427953984 fs_manager.cc:430] Opened local filesystem: /private/tmp/kudu/data/master/0,/private/tmp/kudu/wal/master/0
      uuid: "d421daa92e13497d8fe3ce8d0c3ada44"
      format_stamp: "Formatted at 2018-02-18 17:06:27 on cloudbook.local"
      Block manager report
      --------------------
      1 data directories: /private/tmp/kudu/data/master/0/data
      Total live blocks: 0
      Total live bytes: 0
      Total live bytes (after alignment): 0
      Total number of LBM containers: 0 (0 full)
      Total missing blocks: 0
      Total orphaned blocks: 0 (0 repaired)
      Total orphaned block bytes: 0 (0 repaired)
      Did not check for full LBM containers with extra space
      Did not check for incomplete LBM containers
      Did not check for malformed LBM records
      Did not check for misaligned LBM blocks
      Did not check for partial LBM records
      

      It should also list the metadata and wal directories, maybe looking something like

      I0220 10:37:09.937450 2427953984 fs_manager.cc:430] Opened local filesystem: /private/tmp/kudu/data/master/0,/private/tmp/kudu/wal/master/0
      uuid: "d421daa92e13497d8fe3ce8d0c3ada44"
      format_stamp: "Formatted at 2018-02-18 17:06:27 on cloudbook.local"
      Block manager report
      --------------------
      wal directory: /private/tmp/kudu/wal/master/0
      metadata directory: /private/tmp/kudu/wal/master/0
      1 data directories: /private/tmp/kudu/data/master/0/data
      Total live blocks: 0
      Total live bytes: 0
      Total live bytes (after alignment): 0
      Total number of LBM containers: 0 (0 full)
      Total missing blocks: 0
      Total orphaned blocks: 0 (0 repaired)
      Total orphaned block bytes: 0 (0 repaired)
      Did not check for full LBM containers with extra space
      Did not check for incomplete LBM containers
      Did not check for malformed LBM records
      Did not check for misaligned LBM blocks
      Did not check for partial LBM records
      

      Attachments

        Activity

          People

            fwang29 Fengling Wang
            wdberkeley William Berkeley
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: