hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Kellerman (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-478) offlining of table does not run reliably
Date Fri, 02 May 2008 23:48:55 GMT

     [ https://issues.apache.org/jira/browse/HBASE-478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Jim Kellerman updated HBASE-478:

    Attachment: 478-0.1.patch

HBASE-478 offlining of table does not run reliably

M HMaster

  Require tables to be offline before they can be deleted. This
  enables the Set regionsToBeDeleted to be removed. Also we need no
  longer worry about regionsToBe deleted in processMsgs,
  ProcessServerShutdown, ProcessServerShutdown.scanMetaRegion,
  ProcessRegionClose, ProcessRegionClose.process

  If a region server exits cleanly, do not put any region up for
  reassignment if it was in the killedRegions Set.

  Fix potential synchronization problem in

  Remove regions from killList when ProcessServerShutdown finishes.

  Don't throw an error from TableOperation.process if info:regioninfo
  is empty. Log an error and continue.

  Change IOException to TableNotFoundException in TableOperation.process

  Don't retry in TableOperation.process if exception caught is
  TableNotFoundException, TableNotDisabledException, or
  InvalidColumnNameException. Just rethrow the exception.

  In ChangeTableState.postProcessMeta, if onlining a region, remove
  the region from killedRegions. Fix a couple of potential
  synchronization problems. Put regions being offlined into
  localKillList before adding those already queued for that server.

  In TableDelete, add method processScanItem, which throws
  TableNotDisabledException if the table is still online.

  TableDelete.postProcessMeta need no longer worry about regions that
  are online. If it is called, it can assert that every region in the
  table is offline, remove them from the meta and delete the region

  ModifyColumn.postProcessMeta now throws InvalidColumnNameException
  if the column does not exist instead of generic IOException

M HStore

  Add deleted columns to results of MemcacheScanner

  Added @SuppressWarnings("hiding") annotations to StoreFileScanner as

  Add javadoc for public methods and @Override annotations where needed. 

  Fix some indentation and line too long problems.

M TestHBaseCluster

  Remove private method cleanup which deleted table.

> offlining of table does not run reliably
> ----------------------------------------
>                 Key: HBASE-478
>                 URL: https://issues.apache.org/jira/browse/HBASE-478
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: Jim Kellerman
>            Priority: Critical
>             Fix For: 0.2.0, 0.1.2
>         Attachments: 478-0.1.patch
> I have a table of 4 regions made w/ PE.  I cannot reliably offline it.  I'm using 'disable
TestTable' and have traced it to ensure its not a problem in hql.    What I see is that one
region will get the offlined mark or maybe two.. but never all.
> Jim in IRC suggested that if we did the .TABLE. catalog table, offlining the entry there
might be more reliable than trying to offline all regions in a table.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message