RE: WrongRegionException and inconsistent table found

2011-07-14 Thread Robert Gonzalez
= "" bad = 1 unless fixup(hri, "", metatable, conf) end scanner.close() if bad LOG.info(".META. has holes") else LOG.info(".META. is healthy") end # Return 0 if meta is good, else non-zero. exit bad ===========END CODE -Original Message-

Re: Possible solution to 'WrongRegionException and inconsistent table found'

2011-07-06 Thread Xu-Feng Mao
Thanks Stack, I embed my reply in italic. On Thu, Jul 7, 2011 at 12:19 PM, Stack wrote: > On Wed, Jul 6, 2011 at 7:28 PM, Xu-Feng Mao wrote: > > Regarding 'is multiply assigned to region servers' > > I found these messages after running add_table.rb, and assign them. > > Maybe before executes a

Re: Possible solution to 'WrongRegionException and inconsistent table found'

2011-07-06 Thread Stack
On Wed, Jul 6, 2011 at 7:28 PM, Xu-Feng Mao wrote: > Regarding 'is multiply assigned to region servers' > I found these messages after running add_table.rb, and assign them. > Maybe before executes add_table.rb, we should disable the table? > Or use 'unassign'. > Yes. If some already assigned, i

Re: Possible solution to 'WrongRegionException and inconsistent table found'

2011-07-06 Thread Xu-Feng Mao
Thanks Stack and Ted, Yes, it looks like just the case of HBASE-3872. Regarding *'is multiply assigned to region servers'* I found these messages after running add_table.rb, and assign them. Maybe before executes add_table.rb, we should disable the table? Or use 'unassign'. Regarding *the recove

Re: Possible solution to 'WrongRegionException and inconsistent table found'

2011-07-06 Thread Stack
On Wed, Jul 6, 2011 at 5:37 AM, Xu-Feng Mao wrote: >> Can anyone give a detailed example, step by step instruction would be >> greatly appreciated. >> My understand is we should >> 1.Since we already has the lost region, we now have start and end keys. >> 2.generate the row represents the missing

Re: Possible solution to 'WrongRegionException and inconsistent table found'

2011-07-06 Thread Stack
On Wed, Jul 6, 2011 at 5:37 AM, Xu-Feng Mao wrote: > I looks like we've lost a region, include the directory on hdfs and its meta > record as well. We need some more time to dig into the log sea, to figure > out the root cause. > You think it was https://issues.apache.org/jira/browse/HBASE-3872?

Re: Possible solution to 'WrongRegionException and inconsistent table found'

2011-07-06 Thread Ted Yu
hbase handles this sort of problems generally. >> >> When I was playing with the test environment, I saw message like some >> region >> 'is multiply assigned to region servers', it is also a inconsistent >> scenario, how can I recover this problem

Re: Possible solution to 'WrongRegionException and inconsistent table found'

2011-07-06 Thread Xu-Feng Mao
nconsistent > scenario, how can I recover this problem? > > Thanks and regards, > > Mao Xu-Feng > > -- Forwarded message -- > From: Xu-Feng Mao < m9s...@gmail.com> > Date: Wed, Jul 6, 2011 at 7:20 AM > Subject: Re: WrongRegionException and inconsisten

Re: Possible solution to 'WrongRegionException and inconsistent table found'

2011-07-06 Thread Ted Yu
iply assigned to region servers', it is also a inconsistent scenario, > how can I recover this problem? > > Thanks and regards, > > Mao Xu-Feng > > ---------- Forwarded message ------ > From: Xu-Feng Mao > Date: Wed, Jul 6, 2011 at 7:20 AM > Subject: Re: WrongRe

Possible solution to 'WrongRegionException and inconsistent table found'

2011-07-06 Thread Xu-Feng Mao
rvers', it is also a inconsistent scenario, how can I recover this problem? Thanks and regards, Mao Xu-Feng -- Forwarded message -- From: Xu-Feng Mao Date: Wed, Jul 6, 2011 at 7:20 AM Subject: Re: WrongRegionException and inconsistent table found To: Xu-Feng Mao Cc: "user

Re: WrongRegionException and inconsistent table found

2011-07-05 Thread Xu-Feng Mao
I forgot the version, we are using cdh3u0. Mao Xu-Feng 在 2011-7-6,0:59,Xu-Feng Mao 写道: We also check the master log, nothing interesting found. On Wed, Jul 6, 2011 at 12:58 AM, Xu-Feng Mao wrote: > Hi, > > We're running a hbase cluster including 37 regionservers. Today, we found > losts of W

Re: WrongRegionException and inconsistent table found

2011-07-05 Thread Xu-Feng Mao
We also check the master log, nothing interesting found. On Wed, Jul 6, 2011 at 12:58 AM, Xu-Feng Mao wrote: > Hi, > > We're running a hbase cluster including 37 regionservers. Today, we found > losts of WrongRegionException when putting object into it. > > hbase hbck -details > reports that

WrongRegionException and inconsistent table found

2011-07-05 Thread Xu-Feng Mao
Hi, We're running a hbase cluster including 37 regionservers. Today, we found losts of WrongRegionException when putting object into it. hbase hbck -details reports that Chain of regions in table STable is broken; edges does not contain ztxrGmCwn-6BE32s3cX1TNeHU_I= ERROR: Found inconsist