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

Shell command compact_rs don't work

    XMLWordPrintableJSON

Details

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

    Description

      error as the following:

      hbase(main):001:0> compact_rs 'rs-host-1,16020,1492681533814'
      
      ERROR: undefined method `compactRegionserver' for #<Hbase::Admin:0x7af52ec7>
      
                Compact all regions on passed regionserver.
                Examples:
                Compact all regions on a regionserver:
                hbase> compact_rs 'host187.example.com,60020'
                or
                hbase> compact_rs 'host187.example.com,60020,1289493121758'
                Major compact all regions on a regionserver:
                hbase> compact_rs 'host187.example.com,60020,1289493121758', true
      
      Took 0.0240 seconds 
      

      Attachments

        1. HBASE-17946-master-v1.patch
          0.5 kB
          Guangxu Cheng

        Activity

          People

            gxcheng Guangxu Cheng
            gxcheng Guangxu Cheng
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: