hbase(main):004:0> debug
NameError: undefined local variable or method `debug' for
#<Object:0x1b72290f>

On Fri, Feb 25, 2011 at 12:27 PM, Stack <st...@duboce.net> wrote:

> If you enable debug in the shell, I think it'll give you full stack
> trace.  Try that.
>
> hbase(main):003:0> debug
> Debug mode is ON
>
> St.Ack
>
> On Thu, Feb 24, 2011 at 7:20 PM, 陈加俊 <cjjvict...@gmail.com> wrote:
> > I want to alter table 'cjjHTML' ,and do ti as follows,but throw IOE
> >
> > Version: 0.20.6, r965666, Mon Jul 19 16:54:48 PDT 2010
> > hbase(main):001:0> disable 'cjjHTML'
> > 0 row(s) in 210.5140 seconds
> > hbase(main):002:0> alter 'cjjHTML', {NAME => 'responseHeader' , VERSIONS
> =>
> > 1 , METHOD => 'add'}
> > 0 row(s) in 38.8540 seconds
> > hbase(main):003:0> enable 'cjjHTML'
> >
> > NativeException: java.io.IOException: Unable to enable table cjjHTML
> >
> >
> > and the master's log :
> >
> > 2011-02-25 11:11:39,861 DEBUG
> > org.apache.hadoop.hbase.master.ChangeTableState: Processing regions
> > currently being served
> > 2011-02-25 11:11:39,861 DEBUG
> > org.apache.hadoop.hbase.master.ChangeTableState: Already online
> > 2011-02-25 11:11:39,861 DEBUG
> > org.apache.hadoop.hbase.master.ChangeTableState: Already online
> > 2011-02-25 11:11:39,861 DEBUG
> > org.apache.hadoop.hbase.master.ChangeTableState: Already online
> > 2011-02-25 11:11:39,861 DEBUG
> > org.apache.hadoop.hbase.master.ChangeTableState: Already online
> > 2011-02-25 11:11:39,861 DEBUG
> > org.apache.hadoop.hbase.master.ChangeTableState: Already online
> > 2011-02-25 11:11:39,861 DEBUG
> > org.apache.hadoop.hbase.master.ChangeTableState: Already online
> > 2011-02-25 11:11:39,861 DEBUG
> > org.apache.hadoop.hbase.master.ChangeTableState: Already online
> > 2011-02-25 11:11:39,861 DEBUG
> > org.apache.hadoop.hbase.master.ChangeTableState: Already online
> > 2011-02-25 11:11:39,861 DEBUG
> > org.apache.hadoop.hbase.master.ChangeTableState: Already online
> > 2011-02-25 11:11:39,861 DEBUG
> > org.apache.hadoop.hbase.master.ChangeTableState: Already online
> > 2011-02-25 11:11:39,861 DEBUG
> > org.apache.hadoop.hbase.master.ChangeTableState: Already online
> > 2011-02-25 11:11:39,861 DEBUG
> > org.apache.hadoop.hbase.master.ChangeTableState: Already online
> > 2011-02-25 11:11:41,662 INFO org.apache.hadoop.hbase.master.BaseScanner:
> > RegionManager.metaScanner scanning meta region {server:
> 192.168.5.154:60020,
> > regionname: .META.,,1, startKey: <>}
> > 2011-02-25 11:11:59,872 INFO org.apache.hadoop.hbase.master.BaseScanner:
> > RegionManager.metaScanner scan of 9958 row(s) of meta region {server:
> > 192.168.5.154:60020, regionname: .META.,,1, startKey: <>} complete
> > 2011-02-25 11:11:59,873 INFO org.apache.hadoop.hbase.master.BaseScanner:
> All
> > 1 .META. region(s) scanned
> > 2011-02-25 11:12:05,010 DEBUG
> > org.apache.hadoop.hbase.master.ChangeTableState: Processing unserved
> regions
> > 2011-02-25 11:12:05,010 DEBUG
> > org.apache.hadoop.hbase.master.ChangeTableState: Skipping region REGION
> =>
> > {NAME => 'cjjHTML,
> >
> http://epaper.usqiaobao.com:81/qiaobao/html/2011-01/15/content_398858.htm,1296258983747
> ',
> > STARTKEY => '
> >
> http://epaper.usqiaobao.com:81/qiaobao/html/2011-01/15/content_398858.htm
> ',
> > ENDKEY => '
> http://epaper.voc.com.cn/hnrb/html/2010-11/30/content_278268.htm',
> > ENCODED => 1336943365, OFFLINE => true, SPLIT => true, TABLE => {{NAME =>
> > 'cjjHTML', FAMILIES => [{NAME => 'page', VERSIONS => '3', COMPRESSION =>
> > 'NONE', TTL => '2147483647', BLOCKSIZE => '65536', IN_MEMORY => 'false',
> > BLOCKCACHE => 'true'}, {NAME => 'responseHeader', COMPRESSION => 'NONE',
> > VERSIONS => '1', TTL => '2147483647', BLOCKSIZE => '65536', IN_MEMORY =>
> > 'false', BLOCKCACHE => 'true'}]}} because it is offline and split
> > 2011-02-25 11:12:05,010 DEBUG
> > org.apache.hadoop.hbase.master.ChangeTableState: Skipping region REGION
> =>
> > {NAME => 'cjjHTML,
> > http://news.hexun.com/2010-11-24/125798014.html,1291022808390', STARTKEY
> =>
> > 'http://news.hexun.com/2010-11-24/125798014.html', ENDKEY => '
> > http://news.hexun.com/index-scroll-2.html', ENCODED => 489854164,
> OFFLINE =>
> > true, SPLIT => true, TABLE => {{NAME => 'cjjHTML', FAMILIES => [{NAME =>
> > 'page', VERSIONS => '3', COMPRESSION => 'NONE', TTL => '2147483647',
> > BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE => 'true'}, {NAME
> =>
> > 'responseHeader', COMPRESSION => 'NONE', VERSIONS => '1', TTL =>
> > '2147483647', BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE =>
> > 'true'}]}} because it is offline and split
> > 2011-02-25 11:12:05,010 DEBUG
> > org.apache.hadoop.hbase.master.ChangeTableState: Skipping region REGION
> =>
> > {NAME => 'cjjHTML,
> > http://szsb.sznews.com/html/2011-01/31/content_1431920.htm,1297882835629
> ',
> > STARTKEY => 'http://szsb.sznews.com/html/2011-01/31/content_1431920.htm
> ',
> > ENDKEY => 'http://sztqb.sznews.com/html/2010-11/04/content_1295151.htm',
> > ENCODED => 1607157459, OFFLINE => true, SPLIT => true, TABLE => {{NAME =>
> > 'cjjHTML', FAMILIES => [{NAME => 'page', VERSIONS => '3', COMPRESSION =>
> > 'NONE', TTL => '2147483647', BLOCKSIZE => '65536', IN_MEMORY => 'false',
> > BLOCKCACHE => 'true'}, {NAME => 'responseHeader', COMPRESSION => 'NONE',
> > VERSIONS => '1', TTL => '2147483647', BLOCKSIZE => '65536', IN_MEMORY =>
> > 'false', BLOCKCACHE => 'true'}]}} because it is offline and split
> > 2011-02-25 11:12:05,010 DEBUG
> > org.apache.hadoop.hbase.master.ChangeTableState: Skipping region REGION
> =>
> > {NAME => 'cjjHTML,
> > http://wfwb.wfnews.com.cn/html/2010-11/26/node_62.htm,1291148553863',
> > STARTKEY => 'http://wfwb.wfnews.com.cn/html/2010-11/26/node_62.htm',
> ENDKEY
> > => 'http://whb.eastday.com/w/20091015/u1a642090.html', ENCODED =>
> > 1864097884, OFFLINE => true, SPLIT => true, TABLE => {{NAME => 'cjjHTML',
> > FAMILIES => [{NAME => 'page', COMPRESSION => 'NONE', VERSIONS => '3', TTL
> =>
> > '2147483647', BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE =>
> > 'true'}, {NAME => 'responseHeader', COMPRESSION => 'NONE', VERSIONS =>
> '1',
> > TTL => '2147483647', BLOCKSIZE => '65536', IN_MEMORY => 'false',
> BLOCKCACHE
> > => 'true'}]}} because it is offline and split
> >
> >
> > --
> > Thanks & Best regards
> > jiajun
> >
>



-- 
Thanks & Best regards
jiajun

Reply via email to