You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Nitin Goswami <ni...@gmail.com> on 2016/08/11 14:26:10 UTC
Multiple Inconsistencies in HBase
I have a multi-node HBase (1.1.2) setup with multiple tables and each table
has multiple regions. I have started getting lots of inconsistencies on
running hbck command since few days.
I have tried running hbck command with -repair, -fixAssignments, -fixMeta
and -fixHdfsHoles options separately multiple times but every time the
command timeout.
I have also tried to run "assign <region_name>" command on hbase shell but
it didn't help. The data is important for me and I don't have any backup of
this data.
Does anybody know, how can this be fixed?
--
View this message in context: http://apache-hbase.679495.n3.nabble.com/Multiple-Inconsistencies-in-HBase-tp4081731.html
Sent from the HBase User mailing list archive at Nabble.com.
Re: Multiple Inconsistencies in HBase
Posted by Nitin Goswami <ni...@gmail.com>.
Hi Ted,
I had already used -repair option even before posting this query. What third
party site and post links are you referring to?
Why should we not use -repair option?
Thanks,
Nitin Goswami
--
View this message in context: http://apache-hbase.679495.n3.nabble.com/Multiple-Inconsistencies-in-HBase-tp4081731p4081751.html
Sent from the HBase User mailing list archive at Nabble.com.
Re: Multiple Inconsistencies in HBase
Posted by Ted Yu <yu...@gmail.com>.
Nitin:
Error log and command output didn't go through.
Consider using third party site and post links.
In my previous response, I was suggesting not to use -repair option.
On Thu, Aug 11, 2016 at 10:58 AM, Nitin Goswami <ni...@gmail.com> wrote:
> Hi Michal,
>
> Thanks for the quick response. Following are the complete error logs.
>
> Hi Ted,
>
> I did use -repair option as well, that too didn't work.
>
> Output of command
>
>
>
>
> --
> View this message in context: http://apache-hbase.679495.n3.
> nabble.com/Multiple-Inconsistencies-in-HBase-tp4081731p4081744.html
> Sent from the HBase User mailing list archive at Nabble.com.
>
Re: Multiple Inconsistencies in HBase
Posted by Nitin Goswami <ni...@gmail.com>.
Hi Michal,
Thanks for the quick response. Following are the complete error logs.
Hi Ted,
I did use -repair option as well, that too didn't work.
Output of command
--
View this message in context: http://apache-hbase.679495.n3.nabble.com/Multiple-Inconsistencies-in-HBase-tp4081731p4081744.html
Sent from the HBase User mailing list archive at Nabble.com.
Re: Multiple Inconsistencies in HBase
Posted by Ted Yu <yu...@gmail.com>.
Nitin:
Normally you should not run hbck with '-repair' which include many options.
Depending on the actual inconsistencies, issue specific -fix options to fix
them.
Please provide more information as Michal suggested.
On Thu, Aug 11, 2016 at 7:36 AM, Michal Medvecky <me...@pexe.so> wrote:
> Hello,
>
> can you paste the whole error log? Maybe I can share some experience with
> you.
>
> Anyway, before sending anything, ensure that all your regionservers are
> running and your hdfs fsck is ok.
>
> Michal
>
> On Thu, Aug 11, 2016 at 4:26 PM, Nitin Goswami <ni...@gmail.com>
> wrote:
>
> > I have a multi-node HBase (1.1.2) setup with multiple tables and each
> table
> > has multiple regions. I have started getting lots of inconsistencies on
> > running hbck command since few days.
> >
> >
> >
> > I have tried running hbck command with -repair, -fixAssignments, -fixMeta
> > and -fixHdfsHoles options separately multiple times but every time the
> > command timeout.
> >
> > I have also tried to run "assign <region_name>" command on hbase shell
> but
> > it didn't help. The data is important for me and I don't have any backup
> of
> > this data.
> >
> > Does anybody know, how can this be fixed?
> >
> >
> >
> >
> > --
> > View this message in context: http://apache-hbase.679495.n3.
> > nabble.com/Multiple-Inconsistencies-in-HBase-tp4081731.html
> > Sent from the HBase User mailing list archive at Nabble.com.
> >
>
Re: Multiple Inconsistencies in HBase
Posted by Michal Medvecky <me...@pexe.so>.
Hello,
can you paste the whole error log? Maybe I can share some experience with
you.
Anyway, before sending anything, ensure that all your regionservers are
running and your hdfs fsck is ok.
Michal
On Thu, Aug 11, 2016 at 4:26 PM, Nitin Goswami <ni...@gmail.com> wrote:
> I have a multi-node HBase (1.1.2) setup with multiple tables and each table
> has multiple regions. I have started getting lots of inconsistencies on
> running hbck command since few days.
>
>
>
> I have tried running hbck command with -repair, -fixAssignments, -fixMeta
> and -fixHdfsHoles options separately multiple times but every time the
> command timeout.
>
> I have also tried to run "assign <region_name>" command on hbase shell but
> it didn't help. The data is important for me and I don't have any backup of
> this data.
>
> Does anybody know, how can this be fixed?
>
>
>
>
> --
> View this message in context: http://apache-hbase.679495.n3.
> nabble.com/Multiple-Inconsistencies-in-HBase-tp4081731.html
> Sent from the HBase User mailing list archive at Nabble.com.
>