hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-3296) Newly created table ends up disabled instead of assigned
Date Thu, 02 Dec 2010 20:02:11 GMT

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

Jean-Daniel Cryans updated HBASE-3296:
--------------------------------------

    Attachment: HBASE-3296.patch

This patch just makes sure that the table is enabled before creating it.

> Newly created table ends up disabled instead of assigned
> --------------------------------------------------------
>
>                 Key: HBASE-3296
>                 URL: https://issues.apache.org/jira/browse/HBASE-3296
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>            Priority: Blocker
>             Fix For: 0.90.0
>
>         Attachments: HBASE-3296.patch
>
>
> Something that was seen by someone on the channel yesterday and by me this morning, it's
possible to create a table that ends up disabled and the 'create' calls times out. The master
log looks like:
> {noformat}
> 2010-12-01 19:32:52,350 INFO org.apache.hadoop.hbase.regionserver.wal.HLog: HLog configuration:
blocksize=64 MB, rollsize=60.8 MB, enabled=true, flushlogentries=1, optionallogflushinternal=1000ms
> 2010-12-01 19:32:52,450 INFO org.apache.hadoop.hbase.regionserver.wal.SequenceFileLogWriter:
Using syncFs -- HDFS-200
> 2010-12-01 19:32:52,451 INFO org.apache.hadoop.hbase.regionserver.wal.HLog: New hlog
/hbase/TestTable/2e2099cd5fce907e670ce8596d9b2368/.logs/hlog.1291231972350
> 2010-12-01 19:32:52,451 INFO org.apache.hadoop.hbase.regionserver.wal.HLog: Using getNumCurrentReplicas--HDFS-826
> 2010-12-01 19:32:52,452 DEBUG org.apache.hadoop.hbase.regionserver.HRegion: Instantiated
TestTable,,1291231972140.2e2099cd5fce907e670ce8596d9b2368.
> 2010-12-01 19:32:52,645 INFO org.apache.hadoop.hbase.regionserver.HRegion: Onlined TestTable,,1291231972140.2e2099cd5fce907e670ce8596d9b2368.;
next sequenceid=1
> 2010-12-01 19:32:52,784 INFO org.apache.hadoop.hbase.catalog.MetaEditor: Added region
TestTable,,1291231972140.2e2099cd5fce907e670ce8596d9b2368. to META
> 2010-12-01 19:32:52,784 DEBUG org.apache.hadoop.hbase.regionserver.HRegion: Closing TestTable,,1291231972140.2e2099cd5fce907e670ce8596d9b2368.:
disabling compactions & flushes
> 2010-12-01 19:32:52,784 DEBUG org.apache.hadoop.hbase.regionserver.HRegion: Updates disabled
for region TestTable,,1291231972140.2e2099cd5fce907e670ce8596d9b2368.
> 2010-12-01 19:32:52,784 DEBUG org.apache.hadoop.hbase.regionserver.Store: closed info
> 2010-12-01 19:32:52,784 INFO org.apache.hadoop.hbase.regionserver.HRegion: Closed TestTable,,1291231972140.2e2099cd5fce907e670ce8596d9b2368.
> 2010-12-01 19:32:52,784 DEBUG org.apache.hadoop.hbase.regionserver.wal.HLog: IPC Server
handler 4 on 61000.logSyncer interrupted while waiting for sync requests
> 2010-12-01 19:32:52,784 INFO org.apache.hadoop.hbase.regionserver.wal.HLog: IPC Server
handler 4 on 61000.logSyncer exiting
> 2010-12-01 19:32:52,784 DEBUG org.apache.hadoop.hbase.regionserver.wal.HLog: closing
hlog writer in hdfs://sv2borg180:9100/hbase/TestTable/2e2099cd5fce907e670ce8596d9b2368/.logs
> 2010-12-01 19:32:52,908 DEBUG org.apache.hadoop.hbase.regionserver.wal.HLog: Moved 1
log files to /hbase/TestTable/2e2099cd5fce907e670ce8596d9b2368/.oldlogs
> 2010-12-01 19:32:52,966 INFO org.apache.hadoop.hbase.master.AssignmentManager: Table
TestTable disabled; skipping assign of TestTable,,1291231972140.2e2099cd5fce907e670ce8596d9b2368.
> 2010-12-01 19:32:52,967 DEBUG org.apache.hadoop.hbase.master.AssignmentManager: Table
being disabled so deleting ZK node
>  and removing from regions in transition, skipping assignment of region TestTable,,1291231972140.2e2099cd5fce907e670ce8596d9b2368.
> 2010-12-01 19:32:52,967 DEBUG org.apache.hadoop.hbase.zookeeper.ZKAssign: master:61000-0x12c84725b4b00b6
>  Deleting existing unassigned node for 2e2099cd5fce907e670ce8596d9b2368 that is in expected
state RS_ZK_REGION_CLOSED
> 2010-12-01 19:32:52,968 DEBUG org.apache.hadoop.hbase.master.AssignmentManager: Tried
to delete closed node for REGION =>
>  {NAME => 'TestTable,,1291231972140.2e2099cd5fce907e670ce8596d9b2368.', STARTKEY =>
'', ENDKEY => '', ENCODED =>
>  2e2099cd5fce907e670ce8596d9b2368, TABLE => {{NAME => 'TestTable', FAMILIES =>
[{NAME => 'info', BLOOMFILTER
>  => 'NONE', REPLICATION_SCOPE => '0', VERSIONS => '3', COMPRESSION => 'NONE',
TTL => '2147483647', BLOCKSIZE =>
>  '65536', IN_MEMORY => 'false', BLOCKCACHE => 'true'}]}} but it does not exist
so just offlining
> {noformat}

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


Mime
View raw message