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

Truncate preserve shell command is broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • shell
    • Reviewed

    Description

      On a recent version of master I get this:

      hbase(main):001:0> truncate_preserve 'TestTable'
      
      ERROR: undefined local variable or method `table' for #<Hbase::Admin:0x2fdf17dc>
      
      Here is some help for this command:
        Disables, drops and recreates the specified table while still maintaing the previous region boundaries.
      
      Took 0.0290 seconds
      hbase(main):002:0> truncate 'TestTable'
      Truncating 'TestTable' table (it may take a while):
      Disabling table...
      Truncating table...
      Took 10.0040 seconds
      

      Attachments

        1. HBASE-16111.patch
          1 kB
          Heng Chen

        Activity

          People

            chenheng Heng Chen
            eclark Elliott Neil Clark
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: