Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-1348

membase-cli server-info output is hard-to-parse/inconsistent

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • 1.6.0 beta2
    • 1.6.0 beta4
    • tools
    • None
    • Operating System: All
      Platform: All

    Description

      In 1.6.0beta1, here's what you get...

      $ ./membase server-info --cluster=127.0.0.1:9000server stats for 127.0.0.1:9000
      server version: 1.6.0beta1_2_g4d962cc
      license: 2372AA-F32F1G-M3SA01
      valid : True
      valid until: 2010/11/15
      OS: i386-apple-darwin10.3.0
      memory quota in MB:
      Ports:
      proxy: 12001
      direct: 12000
      hdd:
      state: ok
      usage: %d % 92
      size: %d 118153176
      path: /Users/steveyen/work/northscale/dev/ns_server/data/n_0/default
      quota: none

      Why are some output keys capitalized and others aren't? Why are there spaces in some keys?

      The ports key should also have indented sub-values.

      ports:
      proxy: 12001
      direct: 12000

      It'd be great if the output, too, happened to look like YAML...

      http://www.yaml.org/

      For example...

      ports:

      { proxy: 12001 direct: 12000 }

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            patg@patg.net Patrick Galbraith
            steve.yen@northscale.com Steve Yen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty