Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.95.2
    • 0.95.0
    • Client, shell
    • None
    • Reviewed
    • 0.96notable

    Description

      Currently if you have a table foo with 5 rows in it, you can run this command:

      hbase(main):001:0> x = count 'foo'
      3100 row(s) in 0.7030 seconds
      hbase(main):001:0> x
      nil
      

      Ideally, the 'x' variable should be 5. so something like this coudl be done:

      Kernel.exit 127 if x != 5
      

      This is useful for having scripts that can check a condition and act.

      Attachments

        1. hbase-7306.patch
          1 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: