Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-6642

enable_all,disable_all,drop_all can call "list" command with regex directly.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.94.6, 0.95.0
    • Fix Version/s: 0.98.1, 0.99.0
    • Component/s: shell
    • Labels:
      None
    • Release Note:
      Hide
      from 0.98.1 every hbase shell command that support regex filtering is using the java Pattern class, which does not support glob patterns.
      http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html
      Show
      from 0.98.1 every hbase shell command that support regex filtering is using the java Pattern class, which does not support glob patterns. http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html

      Description

      created few tables. then performing disable_all operation in shell prompt.
      but it is not performing operation successfully.

      hbase(main):043:0> disable_all '*'
      table12
      zk0113
      zk0114
      
      Disable the above 3 tables (y/n)?
      y/
      3 tables successfully disabled
      
      just it is showing the message but operation is not success.
      
      but the following way only performing successfully
      
      
      hbase(main):043:0> disable_all '*.*'
      table12
      zk0113
      zk0114
      
      Disable the above 3 tables (y/n)?
      y
      3 tables successfully disabled
      

        Attachments

        1. HBASE-6642-v1.patch
          6 kB
          Matteo Bertozzi
        2. HBASE-6642_trunk.patch
          2 kB
          rajeshbabu

          Activity

            People

            • Assignee:
              mbertozzi Matteo Bertozzi
              Reporter:
              sreenivasulureddy Y. SREENIVASULU REDDY
            • Votes:
              1 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: