hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stack <st...@duboce.net>
Subject Re: java.io.IOException: HRegionInfo was null or empty in .META.
Date Wed, 15 Jul 2009 18:11:09 GMT
On Tue, Jul 14, 2009 at 4:09 PM, Ryan Rawson <ryanobjc@gmail.com> wrote:

> I believe that we are making truncate in the shell actually issue the
> major_compact itself too now.
>

It does.  In trunk the shell does this on 'drop' of a table:


    def drop(tableName)
      now = Time.now
      @formatter.header()
      if @admin.isTableEnabled(tableName)
        raise IOError.new("Table " + tableName + " is enabled. Disable it
first")
      else
        @admin.deleteTable(tableName)
        major_compact(HConstants::META_TABLE_NAME);
      end
      @formatter.footer(now)
    end


St.Ack

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message